Vulnerability Description
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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/tesseract-ocr/tesseract/commit/c053424327352b9d5180aa7540c1f9
- 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-6c
FAQ
What is CVE-2026-119339?
CVE-2026-119339 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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. I...
How severe is CVE-2026-119339?
CVE-2026-119339 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-119339?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.