Bug 2564316 (CVE-2026-119340) - CVE-2026-119340 tesseract: tesseract: Denial of Service via crafted traineddata file
Summary: CVE-2026-119340 tesseract: tesseract: Denial of Service via crafted trainedda...
Keywords:
Status: NEW
Alias: CVE-2026-119340
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-30 21:01 UTC by OSIDB Bzimport
Modified: 2026-10-30 21:09 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-30 21:01:03 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.