{"id":"CVE-2026-88047","title":"Tesseract is an open source OCR engine","summary":"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 whit…","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-121","CWE-120"],"vendor":"tesseract-ocr","product":"tesseract_ocr","affected":["tesseract_ocr <= 5.5.3"],"published":"2026-09-10","updated":"2026-09-14","sourceUpdated":"2026-09-14T20:01:21.213","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-88047","references":[{"url":"https://github.com/tesseract-ocr/tesseract/commit/1bda5079b1c8a7e25f523486837426903d29ce84","label":"security-advisories@github.com"},{"url":"https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-5j2p-r5vc-q7f3","label":"security-advisories@github.com"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-88047.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-88047"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2531550"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-88047"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-88047"}],"tags":["nvd","cve.org","csaf","vex","red-hat"],"epss":0.00115,"epssPercentile":0.01786,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-09-11T16:48:36.016068Z"},"scores":{"nvd":7.8,"cna":8.6,"vendor":8.4},"ingestedAt":"2026-09-14T11:11:19.881Z","slug":"CVE-2026-88047","body":"## Overview\n\nTesseract 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.\n\n## Affected\n\n- `tesseract_ocr <= 5.5.3`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Important · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · updated 2026-09-14 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-88047.json)","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":203228,"id":"CVE-2026-88047","ts":1789416896175,"field":"cvss","old":"8.6","new":"7.8"}]}