medium5.5
CVE-2026-119339
Tesseract is an open source OCR engine.
Impact
Tesseract is an open source OCR engine. Prior to 5.5.4, WeightMatrix::DeSerialize trusts a mode byte from a traineddata LSTM network and calls WeightMatrix::DeSerializeOld when kDoubleFlag is clear. In default FAST_FLOAT builds, DeSerializeOld invokes ASSERT_HOST instead of returning an error, so loading a crafted model through TessBaseAPI::Init terminates the process and causes denial of service. This issue is fixed in version 5.5.4.
Affected products
| Product | Affected versions |
|---|---|
| Tesseract Is An Open Source OCR Engine. | before 5.5.4 |
Versions were read from the advisory text. No structured product data has been published for this record yet.
Weakness classification
References
- NVD record
- CVE.org record
- https://github.com/tesseract-ocr/tesseract/commit/c053424327352b9d5180aa7540c1f9e67c64f27e
- https://github.com/tesseract-ocr/tesseract/pull/4657
- https://github.com/tesseract-ocr/tesseract/releases/tag/5.5.4
- https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-h9g4-frjx-6cj3