Home / tesseract-ocr / tesseract / CVE-2026-119340
CVE-2026-119340: is it exploited, and which versions of tesseract-ocr tesseract are affected and fixed?
CVE-2026-119340 is an integer overflow vulnerability in tesseract-ocr tesseract. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: tesseract < 5.5.4 (CVE record by GitHub_M). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:04 UTC and NVD November 19, 2026, 07:05 UTC.
What is CVE-2026-119340?
Tesseract: GENERIC_2D_ARRAY DeSerializeSize signed integer comparison bypass allows negative dimensions
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.
From the CVE record by GitHub_M, last updated November 5, 2026, 02:43 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| tesseract-ocr | tesseract | < 5.5.4 |
As the CVE record by GitHub_M states it, last updated November 5, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-119340?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-119340 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, November 5, 2026)
- EPSS
- 0.16% probability of exploitation activity in the next 30 days, percentile 5.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-6xhq-wvww-6xfg x_refsource_CONFIRM
- https://github.com/tesseract-ocr/tesseract/pull/4649 x_refsource_MISC
- https://github.com/tesseract-ocr/tesseract/commit/048e92378f1a34dcdaf94bc515c7552ac01f08ef x_refsource_MISC
- https://github.com/tesseract-ocr/tesseract/releases/tag/5.5.4 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- October 29, 2026
- Published
- October 30, 2026, 20:22 UTC
- CVE record updated
- November 5, 2026, 02:43 UTC by GitHub_M
- NVD
- Awaiting Analysis, last modified November 5, 2026, 03:17 UTC
- Last checked
- CVE list November 19, 2026, 07:04 UTC; NVD November 19, 2026, 07:05 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect tesseract?
- Oct 30, 2026CVE-2026-119341 tesseract-ocr tesseract: release of invalid pointer
- Oct 30, 2026CVE-2026-119339 tesseract-ocr tesseract: improper input validation
- Oct 30, 2026CVE-2026-119338 tesseract-ocr tesseract: out-of-bounds read
- Sep 10, 2026CVE-2026-88054 tesseract-ocr tesseract: out-of-bounds read
- Sep 10, 2026CVE-2026-88053 tesseract-ocr tesseract: out-of-bounds write (memory corruption)
- Sep 10, 2026CVE-2026-88052 tesseract-ocr tesseract: improper array index validation
- Sep 10, 2026CVE-2026-88051 tesseract-ocr tesseract: out-of-bounds write (memory corruption)
- Sep 10, 2026CVE-2026-88050 tesseract-ocr tesseract: out-of-bounds write (memory corruption)
Questions about CVE-2026-119340
Is CVE-2026-119340 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.16% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of tesseract-ocr tesseract are affected by CVE-2026-119340?
tesseract < 5.5.4, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2026-119340?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-119340?
Medium (5.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-119340?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.