Out-of-bounds write in tesseract - #VU167573

 

Out-of-bounds write in tesseract - #VU167573

Published: November 18, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to corrupt heap memory, disclose adjacent heap data, and cause a denial of service.

The vulnerability exists due to out-of-bounds writes and reads in RecodeBeamSearch when recognition uses an unvalidated null_char_ index deserialized independently of the network output width. A remote attacker can trick a victim into loading a crafted .traineddata model with null_char_ set to 0x40000000 or a negative value and performing recognition to trigger an attacker-offset heap write and subsequent out-of-bounds reads.


Affected software

tesseract

Remediation

Install security update from vendor's website.

tesseract - update to 5.5.4

External References

Related Security Bulletins