Bug 2565734 - CVE-2026-119338 tesseract: tesseract: Denial of Service via crafted right-to-left text rendering [fedora-43]
Summary: CVE-2026-119338 tesseract: tesseract: Denial of Service via crafted right-to-...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: tesseract
Version: 43
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Sandro Mani
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["a06021d6-1e92-4a75-87ca-a...
Depends On:
Blocks: CVE-2026-119338
TreeView+ depends on / blocked
 
Reported: 2026-11-03 11:51 UTC by Marian Rehak
Modified: 2026-11-03 11:53 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-11-03 11:53:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2026-11-03 11:51:06 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.


Note You need to log in before you can comment on or make changes to this bug.