Skip to main content
VulnerabilityPublished

CVE-2026-119340: tesseract · Integer Overflow or Wraparound

Affects tesseractSource CVE Database V5

0
Compare

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

CVSS 3.1 base score
5.5Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.15.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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
tesseract-ocrtesseractAffected
  • <5.5.4
Fixed in
  • 5.5.4
GitHubtesseract-ocr/tesseractpkg:github/tesseract-ocr/tesseractOther threatsAffected
  • <5.5.4
Fixed in
  • 5.5.4

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

Community reviews

Loading reviews…