CVE-2026-119340: tesseract · Integer Overflow or Wraparound
Affects tesseractSource CVE Database V5
Not known to be exploited · CVSS 5.5 Medium : upgrade to 5.5.4 when convenient.
Data as of 30 Oct 2026, 20:51 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 5.5 |
|---|
- Patch
- Available – fixed in 5.5.4
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 30 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade tesseract and tesseract-ocr/tesseract to 5.5.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| tesseract-ocrtesseract | Affected
| Fixed in
|
GitHubtesseract-ocr/tesseractpkg:github/tesseract-ocr/tesseractOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to Tesseract version 5.5.4 or later, where this vulnerability is fixed. No other mitigation is indicated or required.
Description
CVE-2026-119340 is an integer overflow or wraparound vulnerability in the Tesseract OCR engine prior to version 5.5.4. The issue arises from the GENERIC_2D_ARRAY::DeSerializeSize function reading matrix dimensions as signed 32-bit integers but only validating them against UINT16_MAX. This allows negative or excessively large dimension values to cause inconsistent memory allocation states, leading to out-of-bounds accesses when loading crafted traineddata files. The vulnerability can result in denial of service. The issue is fixed in Tesseract version 5.5.4.
References
- github.com/tesseract-ocr/tesseract/security/advisories/GHSA-6xhq-wvww-6xfg (opens in a new tab)
- github.com/tesseract-ocr/tesseract/pull/4649 (opens in a new tab)
- github.com/tesseract-ocr/tesseract/commit/048e92378f1a34dcdaf94bc515c7552ac01f08ef (opens in a new tab)
- github.com/tesseract-ocr/tesseract/releases/tag/5.5.4 (opens in a new tab)