Out-of-bounds write in tesseract - CVE-2026-88050

 

Out-of-bounds write in tesseract - CVE-2026-88050

Published: November 18, 2026


Vulnerability identifier: #VU167298
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-88050
CWE-ID: CWE-787
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to an out-of-bounds write in Tesseract's UnicharCompress decoder when unvalidated signed recoder values are used as indices into is_valid_start_ during model loading. A remote attacker can supply a crafted .traineddata model using recoding with length_=1 and code_[0]=0xFFFFFFFF to trigger an invalid write and crash the process, while other negative values can cause oversized allocations that also terminate processing.


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-88050

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