A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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.
Affected products
From the NVD's configuration data (CPE), vendor first.
- Tesseract Ocr tesseract ocr
Weakness type
References
- github.com /tesseract-ocr/tesseract/commit/552771236b0d80cbdb0c7dd8561…
- github.com /tesseract-ocr/tesseract/security/advisories/GHSA-f6h7-cqr4…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning