Out-of-bounds Read Affecting tesseract package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.14% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN12-TESSERACT-22107458
  • published1 Nov 2026
  • disclosed30 Oct 2026

Introduced: 30 Oct 2026

NewCVE-2026-119338  (opens in a new tab)
CWE-125  (opens in a new tab)
CWE-415  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

There is no fixed version for Debian:12 tesseract.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tesseract package and not the tesseract package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1