PT-2026-134186
CVE-2026-119340
·
Published
2026-10-30
·
Updated
2026-10-30
Description by
CVSS 3.1
5.5
MediumMetricsAV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions
Tesseract versions prior to 5.5.4
Description
The
GENERIC 2D ARRAY::DeSerializeSize function in src/ccstruct/matrix.h reads matrix dimensions as signed int32 t values and compares them only with UINT16 MAX. This allows negative values to reach ResizeNoInit(). Negative dimensions or a product of 65535 by 65535 can create an inconsistent allocation state, leading to out-of-bounds accesses when loading a crafted traineddata file, which results in a denial of service.Recommendations
Update to version 5.5.4.
Found an issue in the description? Have something to add? Feel free to write us 👾