# CVE-2026-88048: Tesseract: Heap out-of-bounds write/read in FullyConnected::Forward via layer/weight-matrix dimension mismatch

- Severity: High 8.6 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/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.17%, higher than 6% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-10T16:21:57.587Z
- Modified: 2026-09-14T20:01:33.160Z
- Weaknesses: CWE-125, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Tesseract is an open source OCR engine. In version 5.5.3 and earlier, FullyConnected::DeSerialize in src/lstm/fullyconnected.cpp does not validate the deserialized layer scalars ni_ and no_ against the weight-matrix dimensions. During FullyConnected::Forward, MatrixDotVector in src/lstm/weightmatrix.cpp writes w.dim1() results into temp_line, which is sized from no_, and reads w.dim2() minus one inputs from curr_input, which is sized from ni_. A crafted .traineddata NT_SOFTMAX layer can therefore use inconsistent dimensions to cause a heap out-of-bounds write and read on the default LSTM engine, resulting in heap corruption, a crash, information disclosure, or potentially controlled corruption. 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 8.6 High `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-q44c-23p6-5mw6> (exploit, vendor-advisory)
- <https://github.com/tesseract-ocr/tesseract/commit/103dc134eb36411ddc6833ec20aa2c76795bd0ff> (patch)

## Sources

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

---

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