# CVE-2026-119339: Tesseract: Crafted LSTM model (`WeightMatrix` mode byte) triggers `ASSERT_HOST` abort in `WeightMatrix::DeSerializeOld` under `FAST_FLOAT` — Denial of Service

- Severity: Medium 5.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-10-30T20:13:37.931Z
- Modified: 2026-11-02T19:14:53.030Z
- Weaknesses: CWE-20, CWE-617
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- tesseract-ocr tesseract: < 5.5.4

## References

- <https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-h9g4-frjx-6cj3>
- <https://github.com/tesseract-ocr/tesseract/pull/4657>
- <https://github.com/tesseract-ocr/tesseract/commit/c053424327352b9d5180aa7540c1f9e67c64f27e>
- <https://github.com/tesseract-ocr/tesseract/releases/tag/5.5.4>

## Sources

- CVE List: [CVE-2026-119339](https://www.cve.org/CVERecord?id=CVE-2026-119339), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-119339](https://nvd.nist.gov/vuln/detail/CVE-2026-119339), Public domain, modified 2026-11-02

---

Page: https://cve.day/CVE-2026-119339 · Whole record: https://cve.day/CVE-2026-119339.json · Rebuilt by cve.day 2026-11-25T22:59:48.023Z
