CVE-2026-88050

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:tesseract-ocr:tesseract_ocr:*:*:*:*:*:*:*:*

History

14 Sep 2026, 20:02

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
First Time Tesseract-ocr tesseract Ocr
Tesseract-ocr
CPE cpe:2.3:a:tesseract-ocr:tesseract_ocr:*:*:*:*:*:*:*:*
References () https://github.com/tesseract-ocr/tesseract/commit/c94a5532ee04db5a4919542832fd94caee5ea58f - () https://github.com/tesseract-ocr/tesseract/commit/c94a5532ee04db5a4919542832fd94caee5ea58f - Patch
References () https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-7v9h-3q3m-w68g - () https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-7v9h-3q3m-w68g - Vendor Advisory

10 Sep 2026, 18:18

Type Values Removed Values Added
References () https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-7v9h-3q3m-w68g - () https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-7v9h-3q3m-w68g -

10 Sep 2026, 17:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-09-10 17:17

Updated : 2026-09-14 20:02


NVD link : CVE-2026-88050

Mitre link : CVE-2026-88050

CVE.ORG link : CVE-2026-88050


JSON object : View

Products Affected

tesseract-ocr

  • tesseract_ocr
CWE
CWE-787

Out-of-bounds Write