Out-of-bounds read in tesseract - #VU167572

 

Out-of-bounds read in tesseract - #VU167572

Published: November 18, 2026


Vulnerability identifier: #VU167572
CSH Severity: Medium
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
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 and indirectly disclose adjacent heap data through recognition scores.

The vulnerability exists due to an out-of-bounds read in Tesseract's RecodeBeamSearch::ContinueContext when recoder codes exceed network output array bounds without load-time or inference-time validation. A remote attacker can trick a victim into running OCR with a crafted .traineddata model combining a small-softmax network and recoder codes near 65534 to trigger a crash and leak adjacent heap values into scoring output.


Affected software

tesseract

Remediation

Install security update from vendor's website.

tesseract - update to 5.5.4

External References

Related Security Bulletins