Bug 2531550 (CVE-2026-88047) - CVE-2026-88047 tesseract: Tesseract: Stack buffer overflow via crafted .traineddata file
Summary: CVE-2026-88047 tesseract: Tesseract: Stack buffer overflow via crafted .train...
Keywords:
Status: NEW
Alias: CVE-2026-88047
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2531773
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-10 16:33 UTC by OSIDB Bzimport
Modified: 2026-09-11 07:40 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-10 16:33:08 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.