Skip to main content

CVE-2026-88054: CWE-125: Out-of-bounds Read in tesseract-ocr tesseract

0
Medium
VulnerabilityCVE-2026-88054cvecve-2026-88054cwe-125cwe-824
Published: 09/10/2026 (09/10/2026, 17:39:54 UTC)
Source: CVE Database V5
Vendor/Project: tesseract-ocr
Product: tesseract

Description

Tesseract is an open source OCR engine. In version 5.5.3 and earlier, Plumbing::DeSerialize in src/lstm/plumbing.cpp rejects excessively large network stacks but accepts a zero-length stack for NT_SERIES, NT_PARALLEL, or NT_REVERSED layers in a crafted .traineddata model. During LSTMRecognizer initialization in src/lstm/lstmrecognizer.cpp, CacheXScaleFactor(XScaleFactor()) reaches Series::CacheXScaleFactor in src/lstm/series.cpp, which dereferences stack_[0] on the empty vector and invokes a virtual method through an invalid Network pointer. This causes a deterministic crash and denial of service at model load. No fixed release is available as of this review.

CVSS v4.0

Score 6.9medium

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Affected software

tesseract-ocr

tesseract

Affected versions
<=5.5.3
GitHub Actionsmore threats →ai
tesseract-ocr/tesseract
pkg:github/tesseract-ocr/tesseract
Affected versions
<=5.5.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 18:06:49 UTC

Technical Analysis

Tesseract OCR versions 5.5.3 and earlier contain a vulnerability in the Plumbing::DeSerialize function where zero-length stacks for NT_SERIES, NT_PARALLEL, or NT_REVERSED layers are accepted in a crafted .traineddata model. During LSTMRecognizer initialization, the code dereferences stack_[0] on an empty vector, invoking a virtual method through an invalid Network pointer. This causes a deterministic crash and denial of service at model load time. No patched release is available as of the review date.

Potential Impact

An attacker can cause a deterministic crash of the Tesseract OCR engine by supplying a malicious .traineddata model with zero-length stacks in specific network layers. This leads to denial of service during model initialization. There is no indication of code execution or data leakage.

Mitigation Recommendations

No official fix or patch is currently available for this vulnerability. Users should avoid loading untrusted or crafted .traineddata models to prevent denial of service. Monitor vendor advisories for updates regarding a patch.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-09-09T21:22:45.434Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6aa2ee7d555a9c516207cb28

Added to database: 09/10/2026, 17:53:01 UTC

Last enriched: 09/10/2026, 18:06:49 UTC

Last updated: 09/10/2026, 18:44:06 UTC

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses