{"id":"CVE-2026-119340","aliases":[],"cve":{"records":[{"id":"CVE-2026-119340","source":"GitHub_M","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-10-29T20:44:30.286Z","published":"2026-10-30T20:22:46.387Z","modified":"2026-10-30T20:22:46.387Z"}],"publishers":[{"name":"GitHub_M","role":"CNA","organizationId":"a0819718-46f1-4df5-94e2-005712e83aaa","modified":"2026-10-30T20:22:46.387Z"}],"references":[{"url":"https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-6xhq-wvww-6xfg","tags":["x_refsource_CONFIRM"],"source":"GitHub_M"},{"url":"https://github.com/tesseract-ocr/tesseract/pull/4649","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/tesseract-ocr/tesseract/commit/048e92378f1a34dcdaf94bc515c7552ac01f08ef","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/tesseract-ocr/tesseract/releases/tag/5.5.4","tags":["x_refsource_MISC"],"source":"GitHub_M"}],"weaknesses":[{"id":"CWE-190","description":"CWE-190: Integer Overflow or Wraparound","source":"GitHub_M"},{"id":"CWE-681","description":"CWE-681: Incorrect Conversion between Numeric Types","source":"GitHub_M"}],"applicability":[],"prioritization":[]},"title":"Tesseract: GENERIC_2D_ARRAY DeSerializeSize signed integer comparison bypass allows negative dimensions","titleSource":"GitHub_M","descriptionSource":"GitHub_M","description":"Tesseract is an open source OCR engine. Prior to 5.5.4, GENERIC_2D_ARRAY::DeSerializeSize in src/ccstruct/matrix.h reads matrix dimensions as signed int32_t values and compares them only with UINT16_MAX, allowing negative values to reach ResizeNoInit. Negative dimensions or a 65535 by 65535 product can create inconsistent allocation state and later out-of-bounds accesses while loading a crafted traineddata file, causing denial of service. This issue is fixed in version 5.5.4.","score":5.5,"severity":"medium","published":"2026-10-30T20:22:46.387Z","modified":"2026-10-30T20:22:46.387Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"tesseract-ocr","name":"tesseract","platforms":[],"versions":[{"version":"< 5.5.4","status":"affected"}],"cpes":[],"source":"GitHub_M","url":"https://www.cve.org/CVERecord?id=CVE-2026-119340"}],"remediation":[],"references":["https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-6xhq-wvww-6xfg","https://github.com/tesseract-ocr/tesseract/pull/4649","https://github.com/tesseract-ocr/tesseract/commit/048e92378f1a34dcdaf94bc515c7552ac01f08ef","https://github.com/tesseract-ocr/tesseract/releases/tag/5.5.4"],"sources":[{"name":"CVE","id":"CVE-2026-119340","modified":"2026-10-30T20:22:46.387Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-119340"}],"assessments":[{"source":"GitHub_M","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5}],"sourceAffected":[],"observedAt":"2026-10-30T21:23:20.629Z","kev":{"status":"not-listed","checkedAt":"2026-10-31T14:20:31.980Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-10-30T22:00:41.402Z","attemptedAt":"2026-10-30T22:00:41.402Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-10-30T22:00:37.478Z","attemptedAt":"2026-10-30T22:00:37.478Z"},{"source":"EUVD","status":"available","checkedAt":"2026-10-30T22:00:37.577Z","attemptedAt":"2026-10-30T22:00:37.577Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-10-30T22:00:37.037Z","attemptedAt":"2026-10-30T22:00:37.037Z"}],"evidence":[{"source":"ENISA EUVD","id":"EUVD-2026-114451","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-114451","modified":"Oct 30, 2026, 8:22:46 PM","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","checkedAt":"2026-10-30T22:00:37.577Z"},{"source":"NVD","id":"CVE-2026-119340","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119340","modified":"2026-10-30T21:16:52.080","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","checkedAt":"2026-10-30T22:00:41.402Z"}],"aiSummary":{"text":"Tesseract OCR engine versions prior to 5.5.4 have a vulnerability where negative dimensions can bypass a signed integer comparison, potentially causing denial of service. The issue occurs when loading a crafted traineddata file. Affected versions are those before 5.5.4.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-10-31T05:06:01.069Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-119340"}]}}