Double free in tesseract - CVE-2026-119338
Published: November 18, 2026
Vulnerability details
The vulnerability allows a remote attacker to potentially cause a denial of service through heap memory corruption.
The vulnerability exists due to double free and use-after-free in Tesseract's PAGE XML renderer when AppendLinePolygon frees a caller-owned accumulator without updating the caller's pointer while processing right-to-left text. A remote attacker can supply a Hebrew or Arabic page image to an OCR pipeline configured to emit PAGE XML to trigger repeated frees, stale coordinate reads, and subsequent out-of-bounds reads that may cause a crash.
Affected software
openEuler
tesseract
tesseract-debuginfo
tesseract-debugsource
tesseract-devel
tesseract-tools
How to mitigate CVE-2026-119338
tesseract - update to 5.5.3-5
tesseract-debuginfo - update to 5.5.3-5
tesseract-debugsource - update to 5.5.3-5
tesseract-devel - update to 5.5.3-5
tesseract-tools - update to 5.5.3-5