Out-of-bounds read in tesseract - CVE-2026-88054

 

Out-of-bounds read in tesseract - CVE-2026-88054

Published: November 18, 2026


Vulnerability identifier: #VU167295
CSH Severity: Medium
CVSS v4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-88054
CWE-ID: CWE-125
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service in Tesseract during model initialization.

The vulnerability exists due to an out-of-bounds read in the Plumbing and Series components when loading an LSTM model containing an empty stack that is subsequently indexed without checking its size. A remote attacker can supply a crafted .traineddata model with a zero-length NT_SERIES, NT_PARALLEL, or NT_REVERSED stack to trigger an invalid pointer dereference and crash the process.


Affected software

tesseract
Ubuntu
openEuler
Fedora
libtesseract4 (Ubuntu package)
libtesseract5 (Ubuntu package)
tesseract
tesseract-debuginfo
tesseract-tools
tesseract-devel
tesseract-debugsource

How to mitigate CVE-2026-88054

Install security update from vendor's website.

tesseract - update to 5.5.4
libtesseract4 (Ubuntu package) - addressed in versions 4.00~git2288-10f4998a-2ubuntu0.1~esm1, 4.1.1-2ubuntu0.1~esm1, 4.1.1-2.1ubuntu0.1~esm1
libtesseract5 (Ubuntu package) - addressed in versions 5.3.4-1ubuntu0.1~esm1, 5.5.0-1ubuntu0.1~esm1
tesseract - addressed in versions 5.5.3-2.fc43, 5.5.3-2.fc44, 5.5.3-2.fc45
tesseract-debuginfo - update to 5.5.3-3
tesseract-tools - update to 5.5.3-3
tesseract-devel - update to 5.5.3-3
tesseract-debugsource - update to 5.5.3-3
tesseract - update to 5.5.3-3

External References

Related Security Bulletins