CVE-2026-88054

MEDIUM CVSS 4.0: 6.9 EPSS 0.15%
Updated Sep 16, 2026
Tesseract-Ocr
Parameter Value
CVSS 6.9 (MEDIUM)
Affected Versions before 5.5.3
Type CWE-125 (Out-of-bounds Read), CWE-824
Vendor Tesseract-Ocr
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Tesseract-Ocr Tesseract_Ocr
cpe:2.3:a:tesseract-ocr:tesseract_ocr:*:*:*:*:*:*:*:*
— <= 5.5.3