CVE-2026-88054

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:tesseract-ocr:tesseract_ocr:*:*:*:*:*:*:*:*

History

16 Sep 2026, 16:14

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CPE cpe:2.3:a:tesseract-ocr:tesseract_ocr:*:*:*:*:*:*:*:*
References () https://github.com/tesseract-ocr/tesseract/commit/552771236b0d80cbdb0c7dd856120fa21a4672e5 - () https://github.com/tesseract-ocr/tesseract/commit/552771236b0d80cbdb0c7dd856120fa21a4672e5 - Patch
References () https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-f6h7-cqr4-6fx4 - () https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-f6h7-cqr4-6fx4 - Exploit, Mitigation, Vendor Advisory
First Time Tesseract-ocr tesseract Ocr
Tesseract-ocr

Information

Published : 2026-09-10 18:18

Updated : 2026-09-16 16:14


NVD link : CVE-2026-88054

Mitre link : CVE-2026-88054

CVE.ORG link : CVE-2026-88054


JSON object : View

Products Affected

tesseract-ocr

  • tesseract_ocr
CWE
CWE-125

Out-of-bounds Read

CWE-824

Access of Uninitialized Pointer