CVE-2026-119338
published medium CVSS 4.0 · 6.9Tesseract: Double free and use after free in the PAGE XML renderer on right-to-left pages
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| tesseract-ocr | — | tesseract>= 5.4.0, < 5.5.4 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | libtesseract5aarch64 | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libtesseract5ppc64le | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libtesseract5s390x | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libtesseract5x86_64 | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libtesseract5-x86-64-v3aarch64 | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libtesseract5-x86-64-v3ppc64le | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libtesseract5-x86-64-v3s390x | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
Show 13 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | libtesseract5-x86-64-v3x86_64 | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocraarch64 | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocrppc64le | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocrs390x | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocrx86_64 | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocr-commonaarch64 | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocr-commonppc64le | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocr-commons390x | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocr-commonx86_64 | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocr-develaarch64 | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocr-develppc64le | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocr-devels390x | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tesseract-ocr-develx86_64 | Advisory build | 5.5.4-2.1 | OPENSUSE-SU-2026:12411-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| tesseract-ocr | tesseract | >= 5.4.0, < 5.5.4 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-125 CWE-125: Out-of-bounds Read
- CWE-415 CWE-415: Double Free
- CWE-416 CWE-416: Use After Free
References
4Provider assertions
2GitHub_M · cna
Tesseract: Double free and use after free in the PAGE XML renderer on right-to-left pages
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6dc110533de5b0833e092e05cd1abdcb7027343f84a4a0b1ebc6711e23bd98b5
- Ingested
- 05 Nov 2026, 02:47:13 UTC
- Source record
- Official CVE record