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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-121"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/88xxx/CVE-2026-88047.json"
}{
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "5.5.3"
}
],
"source": [
"AFFECTED_FIELD",
"REFERENCES"
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-88047.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "329029222728508200905095208855717211976",
"length": 963
},
"id": "CVE-2026-88047-cb82eb26",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/tesseract-ocr/tesseract/commit/1bda5079b1c8a7e25f523486837426903d29ce84",
"target": {
"file": "src/classify/normmatch.cpp",
"function": "Classify::ReadNormProtos"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"126941287648639225658311374024441800",
"111950333620953817768797164233463551455",
"332219386241188096878333664179036615654",
"266484898962610027508208590732005213603",
"76935770025804584668438860720970951225",
"7129262096837672873022927674939605782",
"210739779053449336586863081834538931352",
"290106396545092200047301843183097937181"
],
"threshold": 0.9
},
"id": "CVE-2026-88047-d25922bb",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/tesseract-ocr/tesseract/commit/1bda5079b1c8a7e25f523486837426903d29ce84",
"target": {
"file": "src/classify/normmatch.cpp"
}
}
]
"2026-09-12T14:00:56Z"