Out-of-bounds Read in Tesseract-Ocr Tesseract
CVE-2026-88048
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H.
EPSS exploit prediction
EPSS: 0.002 (6.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 6th percentile — 6.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: +0.000
Affected products
- Tesseract-Ocr Tesseract — versions <= 5.5.3
- Tesseract-Ocr Tesseract Ocr
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-88048?
- CVE-2026-88048 is a high-severity vulnerability in Tesseract-Ocr Tesseract, classified under Out-of-bounds Read. CVSS score: 7.1/10. Published 2026-09-10.
- How severe is CVE-2026-88048?
- High severity. CVSS v3 base score is 7.1 out of 10.