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.
Fix
Nothing published yet: no patch, vendor advisory or mitigation reference on NVD, no vendor advisory in the News for this CVE, not in CISA's KEV, no fixed package version. BaselineWatch does not guess at one.
Change history 1
- First seenCVSS 5.5 · tesseract-ocrNVD modified 2026-10-30 20:13
Affected (CPE criteria) 0
NVD has not attached CPE configurations yet.
References 4
- https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-h9g4-frjx-6cj3 x_refsource_confirm
- https://github.com/tesseract-ocr/tesseract/pull/4657 x_refsource_misc
- https://github.com/tesseract-ocr/tesseract/commit/c053424327352b9d5180aa7540c1f9e67c64f27e x_refsource_misc
- https://github.com/tesseract-ocr/tesseract/releases/tag/5.5.4 x_refsource_misc