6.9
MediumCVSS 4.0 · from GitHub_M
CVE-2026-119338
Tesseract: Double free and use after free in the PAGE XML renderer on right-to-left pages
tesseract · Out-of-bounds read · CWE-125Affectedtesseract
FixNo fix listed yet.
PublishedOct 30, 20:12 · GitHub_M
ScoredOct 30 · 6.9 · GitHub_M
Exploit code publicNone known · checked 21:18 UTC
ExploitedNone known · CISA KEV checked 22:08 UTC
What we know
No known exploitation. CISA KEV, checked 22:08 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 21:18 UTC.
An attacker needs local access to the machine. CVSS: local.
Someone has to open, click or run something first. CVSS: user interaction required.
A successful attack can take the service down. CVSS impact.
Description
Tesseract is an open source OCR engine. From 5.4.0 until 5.5.4, AppendLinePolygon in src/api/pagerenderer.cpp destroys the caller-owned right-to-left Pta accumulator while receiving it by value, leaving line_top_rtl_pts and line_bottom_rtl_pts dangling. On an upright Hebrew or Arabic page at the default PAGE XML level, POLYGONFLAG with a false skewed_flag enters the vulnerable calls, while LEVELFLAG greater than zero provides an alternative gate. The calls repeatedly read and free the stale object, causing a double free and use after free and allowing corrupted coordinates to reach RecalcPolygonline. This issue is fixed in version 5.5.4.
From GitHub_M
Affected and fixed versions
ProductAffectedFixed intesseract>= 5.4.0, < 5.5.4–
Exploit code
Exploit-DBnone knownMetasploitnone knownNucleinone known