Vulnerability · Published Sep 10, 2026 · Assigned by GitHub_M
CVE-2026-88047Tesseract: ReadNormProtos stack buffer overflow
High 8.6
In plain English
A high-severity stack buffer overflow in tesseract from tesseract-ocr. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 2% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | tesseract | 5.3.4-11.el10_2 | ALSA-2026:95085 |
| AlmaLinux:8 | tesseract | 4.1.1-7.el8_10 | ALSA-2026:95725 |
| AlmaLinux:10 | tesseract-devel | 5.3.4-11.el10_2 | ALSA-2026:95085 |
| AlmaLinux:8 | tesseract-devel | 4.1.1-7.el8_10 | ALSA-2026:95725 |
| AlmaLinux:9 | tesseract-devel | 4.1.1-11.el9_8 | ALSA-2026:95086 |
| Debian:12 | tesseract | no fix listed | DEBIAN-CVE-2026-88047 |
| Debian:13 | tesseract | no fix listed | DEBIAN-CVE-2026-88047 |
| Debian:14 | tesseract | no fix listed | DEBIAN-CVE-2026-88047 |
| Rocky Linux:10 | tesseract | 0:5.3.4-11.el10_2 | RLSA-2026:95085 |
| Rocky Linux:9 | tesseract | 0:4.1.1-11.el9_8 | RLSA-2026:95086 |
| Ubuntu:26.10 | tesseract | no fix listed | UBUNTU-CVE-2026-88047 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| tesseract-ocr | tesseract | <= 5.5.3 |
Weakness: CWE-121 · Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N