Use-after-free in tesseract - #VU167574

 

Use-after-free in tesseract - #VU167574

Published: November 18, 2026


Vulnerability identifier: #VU167574
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: N/A
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

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

The vulnerability exists due to heap use-after-free in PAGE_RES_IT::ReplaceCurrentWord when multilingual LSTM recognition retains a shared input or fuzzy-space combination word alongside newly recognized words, then frees the shared word while replacements still reference it. A remote attacker can trick a user into processing an attacker-chosen image with at least two languages loaded, where one language recognizes no words and another recognizes words, to trigger a crash.


Affected software

tesseract

Remediation

Install security update from vendor's website.

tesseract - update to 5.5.4

External References

Related Security Bulletins