Skip to content
RedCVE

CVE-2026-88047Tesseract Ocr stack-based buffer overflow

tesseract-ocrPublished:

CVSS score

8.6

High

CVSS 4.0 from github.com

Exploit probability (EPSS)

0.11%

0.11% chance of exploitation in the next 30 days, higher than 1.59% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

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.

Source: NVD · CNA: security-advisories@github.com

How to fix it, step by step

  1. Check whether you're affected

    Find every system running tesseract-ocr Tesseract Ocr and compare its version with the affected versions.

  2. Apply the vendor's fix

Was this useful?

How it can be exploited

Attack vector
Local
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Affected products

Affected productsVersions
tesseract-ocr Tesseract Ocr≤ 5.5.3
tesseract-ocr Tesseract<= 5.5.3

Weakness

  • CWE-121 stack-based buffer overflow

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-88047 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.1% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-88047?

CVE-2026-88047 has a CVSS 4.0 base score of 8.6 (high).

Which versions are affected?

Tesseract Ocr Tesseract Ocr (≤ 5.5.3), Tesseract Ocr Tesseract (<= 5.5.3)

Is there a patch for CVE-2026-88047?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.