# CVE-2026-88054: Tesseract: Denial of service via empty-stack dereference in Plumbing/Series at model load

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- 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.15%, higher than 4% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-10T17:39:54.148Z
- Modified: 2026-09-16T16:14:01.050Z
- Weaknesses: CWE-125, CWE-824
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- tesseract-ocr tesseract: <= 5.5.3
- tesseract-ocr tesseract_ocr: up to 5.5.3

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-f6h7-cqr4-6fx4> (exploit, mitigation, vendor-advisory)
- <https://github.com/tesseract-ocr/tesseract/commit/552771236b0d80cbdb0c7dd856120fa21a4672e5> (patch)

## Sources

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

---

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