CVE-2026-88047

Tesseract is an open source OCR engine. In version 5.5.3 and earlier, Classify::ReadNormProtos in src/classify/normmatch.cpp parses the NORMPROTO component of a .traineddata file and uses std::istream::operator>>(char*) to extract a whitespace-delimited token into a fixed 61-byte stack buffer without setting a stream width. The 100-byte line buffer can carry a token of up to 99 characters, so a token longer than 60 characters writes up to 39 attacker-controlled bytes past the buffer during TessBaseAPI::Init of the legacy engine, causing stack corruption, denial of service, and potentially control-flow hijacking on affected standard-library implementations. Builds using Apple's libc++ C++20 bounded array overload are incidentally protected, while typical libstdc++ builds remain affected. 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:01

Type Values Removed Values Added
First Time Tesseract-ocr tesseract Ocr
Tesseract-ocr
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
CPE cpe:2.3:a:tesseract-ocr:tesseract_ocr:*:*:*:*:*:*:*:*
References () https://github.com/tesseract-ocr/tesseract/commit/1bda5079b1c8a7e25f523486837426903d29ce84 - () https://github.com/tesseract-ocr/tesseract/commit/1bda5079b1c8a7e25f523486837426903d29ce84 - Patch
References () https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-5j2p-r5vc-q7f3 - () https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-5j2p-r5vc-q7f3 - Vendor Advisory

10 Sep 2026, 17:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-09-10 17:17

Updated : 2026-09-14 20:01


NVD link : CVE-2026-88047

Mitre link : CVE-2026-88047

CVE.ORG link : CVE-2026-88047


JSON object : View

Products Affected

tesseract-ocr

  • tesseract_ocr
CWE
CWE-121

Stack-based Buffer Overflow