CVE-2026-88050
mediumTesseract is an open source OCR engine.
Vendor / product: Tesseract-ocr — tesseract ocr
Tesseract is an open source OCR engine. In version 5.5.3 and earlier, RecodedCharID::DeSerialize in src/ccutil/unicharcompress.h validates length_ but accepts negative code_ values from a crafted .traineddata recoder component. UnicharCompress::ComputeCodeRange in src/ccutil/unicharcompress.cpp can consequently produce code_range_ equal to zero, after which SetupDecoder indexes is_valid_start_ with the negative code on a size-zero vector. The resulting out-of-bounds bit write uses a large wrapped index and reliably causes a wild-address crash or allocation failure on the default LSTM engine. No fixed release is available as of this review.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Affected products
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
References
- https://github.com/tesseract-ocr/tesseract/commit/c94a5532ee04db5a4919542832fd94caee5ea58f security-advisories@github.com
- https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-7v9h-3q3m-w68g security-advisories@github.com
- https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-7v9h-3q3m-w68g 134c704f-9b21-4f2e-91b3-4a467353bcc0
