Bug 2531780 - CVE-2026-88054 tesseract: Tesseract: Denial of Service via crafted model with empty stack dereference [fedora-all]
Summary: CVE-2026-88054 tesseract: Tesseract: Denial of Service via crafted model with...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: tesseract
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Sandro Mani
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["e9ddd3bd-629b-4c06-b772-2...
Depends On:
Blocks: CVE-2026-88054
TreeView+ depends on / blocked
 
Reported: 2026-09-11 07:41 UTC by Vladimir Vasilev
Modified: 2026-09-11 07:41 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vladimir Vasilev 2026-09-11 07:41:18 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.


Note You need to log in before you can comment on or make changes to this bug.