Release of invalid pointer or reference in tesseract - CVE-2026-119341

 

Release of invalid pointer or reference in tesseract - CVE-2026-119341

Published: November 18, 2026


Vulnerability identifier: #VU167305
CSH Severity: Low
CVSS v4: 0 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-119341
CWE-ID: CWE-763
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause memory corruption through file-controlled pointers.

The vulnerability exists due to improper release of file-controlled pointers in Tesseract's ReadAdaptedClass and ADAPT_CLASS_STRUCT destructor when loading pre-adapted templates with the legacy engine and pre-adapted templates enabled. A remote attacker can place a crafted <output-basename>.a file in a writable output location, setting NumConfigs = 0 or NumTempProtos = -1, to make unreplaced Config pointers or an uncleared TempProtos pointer reach destruction and corrupt memory.


Affected software

tesseract

How to mitigate CVE-2026-119341

Install security update from vendor's website.

tesseract - update to 5.5.4

External References

Related Security Bulletins