CVE-2026-88051
8.6Tesseract OCR · Tesseract
Tesseract OCR is vulnerable to a heap out-of-bounds write due to missing validation of model data, potentially allowing arbitrary code execution or system crashes via a crafted .traineddata file.
Executive summary
A heap out-of-bounds write vulnerability in Tesseract OCR versions 5.5.3 and earlier poses a significant risk of memory corruption and potential system compromise through malicious model inputs.
Vulnerability
This vulnerability is an out-of-bounds write (CWE-787) occurring in the GenericVector::read function. An attacker can supply a crafted .traineddata file that manipulates internal memory allocation, leading to heap corruption or controlled memory overwriting.
Business impact
The CVSS score of 8.6 indicates a high-severity risk. Successful exploitation could lead to full system compromise or service unavailability, disrupting critical document processing workflows and potentially exposing sensitive data handled by the OCR engine.
Remediation
Immediate Action: As no official patch is currently available, restrict access to the OCR engine to trusted users only and ensure that only verified, reputable .traineddata files are processed by the system.
Proactive Monitoring: Monitor application logs for unexpected crashes or error patterns in the Tesseract processing pipeline, which may indicate attempted exploitation of memory corruption flaws.
Compensating Controls: Implement strict file validation and sandboxing for the Tesseract engine to isolate the processing environment from the underlying host system and limit the impact of a potential heap corruption exploit.
Exploitation status
Public Exploit Available: Unknown
Analyst recommendation
Given the high severity of this memory corruption flaw, organizations should immediately audit their use of Tesseract OCR and ensure the software is isolated from untrusted input. While a patch is currently unavailable, monitoring for unusual process behavior is essential, and administrators should prepare to update the engine immediately upon the release of a security-hardened version.
More Tesseract OCR CVEs
History
- Disclosed CVE record published
- Collected by CVE Brief via github
- Analyst report written
- Published in the daily brief high section