Skip to content
Fencer Vulns
medium 5.5

CVE-2026-119340 json

Tesseract: GENERIC_2D_ARRAY DeSerializeSize signed integer comparison bypass allows negative dimensions

published 2026-10-30 9 d ago modified 2026-11-05 4 d ago also EUVD-2026-114451

cvss
5.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.1%
EPSS 0.1% chance of exploitation in 30 days, percentile 1%
public exploits
0
none known

Summary

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.

Patch / fix

  • tesseract_project tesseract 5.5.4
  • tesseract_ocr_project tesseract_ocr 5.5.4
  • tesseract-ocr openSUSE Tumbleweed 5.5.4-2.1

opensuse advisories openSUSE-SU-2026:12411-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-119340 updated cvss 5.5

tesseract: tesseract: Denial of Service via crafted traineddata file

  • Red Hat Enterprise Linux 8 tesseract, tesseract 5.3.4-7.el10_2 Red Hat Enterprise Linux 9 tesseract, tesseract 5.3.4-7.el10_2 Red Hat Enterprise Linux 10 tesseract 5.3.4-7.el10_2
    affected: no fix available “Fix deferred”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
4 d ago

Exploit prediction

0.12% chance of exploitation in the next 30 days, higher than 1% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected products

  • tesseract-ocr tesseract

Classification

Weakness
  • CWE-190 Integer Overflow or Wraparound
  • CWE-681 Incorrect Conversion between Numeric Types

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.