CVE Catalog

CVE-2026-88050

MediumCVSS 6.9
Published: Translated: NVD NIST

Summary

In Tesseract 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 can consequently produce code_range_ equal to zero, after which SetupDecoder indexes is_valid_start_ with the negative code on a size-zero vector, causing an out-of-bounds bit write and a crash or allocation failure. No fixed release is available.

Risk Assessment

Processing a malicious .traineddata file may crash an application using Tesseract, resulting in denial of service.

Recommendation

Restrict processing of untrusted .traineddata files and monitor for security fixes for Tesseract.

Other vulnerabilities in Tesseract

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS