Out-of-bounds read in tesseract - #VU167571

 

Out-of-bounds read in tesseract - #VU167571

Published: November 18, 2026


Vulnerability identifier: #VU167571
CSH Severity: Medium
CVSS v4: 5.7 [CVSS:4.0/AV:L/AC:L/AT:P/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 disclose heap information through neural network activations and cause a denial of service.

The vulnerability exists due to a heap out-of-bounds read in tesseract's IntSimdMatrix::MatrixDotVector when generic dotproduct processing uses an insufficiently sized scales_ vector without validating its length against the output dimension. A remote attacker can trick a victim into loading a crafted int-mode weight matrix with valid weight dimensions and an empty or short scales_ vector under generic dotproduct processing to expose heap data or crash the application.


Affected software

tesseract

Remediation

Install security update from vendor's website.

tesseract - update to 5.5.4

External References

Related Security Bulletins