Every CVE Search/ Get API key

CVE-2026-119338

Tesseract: Double free and use after free in the PAGE XML renderer on right-to-left pages

6.9 Medium

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Passive

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
High

Exploit likelihood

0.14%Unchanged since Oct 31, 2026
90%50%10%1%

What each source reports

CVE List Score used 6.9

Tesseract: Double free and use after free in the PAGE XML renderer on right-to-left pages

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.

Record
CVE-2026-119338
CVSS 4.0
6.9 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
Weakness
CWE-125, CWE-415, CWE-416
Updated
2026-11-05
EUVDEUVD-2026-114445 6.9

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.

Record
EUVD-2026-114445
CVSS 4.0
6.9 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
Updated
2026-11-05
NVD 6.9

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.

Record
CVE-2026-119338
CVSS 4.0
6.9 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness
CWE-125, CWE-415, CWE-416
Updated
2026-11-05
OSV 6.9

Tesseract: Double free and use after free in the PAGE XML renderer on right-to-left pages

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.

Record
CVE-2026-119338
CVSS 4.0
6.9 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
Weakness
CWE-125, CWE-415, CWE-416
Updated
2026-11-06
OSVDEBIAN-CVE-2026-119338 6.9

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.

Record
DEBIAN-CVE-2026-119338
CVSS 4.0
6.9 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Updated
2026-11-05
OSVUBUNTU-CVE-2026-119338 6.9

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.

Record
UBUNTU-CVE-2026-119338
CVSS 4.0
6.9 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
Updated
2026-11-05
OSVopenSUSE-SU-2026:12411-1 No score

libtesseract5-5.5.4-2.1 on GA media

These are all security issues fixed in the libtesseract5-5.5.4-2.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:12411-1
Updated
2026-11-04

Affected products

Affected packages

Affected packages
PackageAffectedFixed
tesseract
Debian:12
All versions, plus listed versions
5.3.0-25.3.3-15.3.4-15.3.4-1.15.3.4-1.2
Show 4 moreShow less
5.3.4-1.35.3.4-1.45.5.0-15.5.0-1.1
None known
tesseract
Debian:13
All versions, plus listed versions
5.5.0-15.5.0-1.1
None known
tesseract
Debian:14
All versions, plus listed versions
5.5.0-15.5.0-1.1
None known
tesseract
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
3.02.02-13.03.02-33.03.02-3ubuntu0.1~esm1
None known
tesseract
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
3.04.00-5ubuntu13.04.01-23.04.01-43.04.01-4ubuntu0.1~esm1
None known
tesseract
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
3.04.01-63.04.01-6build13.04.01-6build24.00~git2188-cdc35338-4build14.00~git2188-cdc35338-5
Show 4 moreShow less
4.00~git2207-766b7bd6-3.14.00~git2219-40f43111-1.24.00~git2288-10f4998a-24.00~git2288-10f4998a-2ubuntu0.1~esm1
None known
tesseract
Ubuntu:Pro:20.04:LTS
All versions, plus listed versions
4.1.0-14.1.0-24.1.1-14.1.1-24.1.1-2build14.1.1-2build24.1.1-2ubuntu0.1~esm1
None known
tesseract
Ubuntu:Pro:22.04:LTS
All versions, plus listed versions
4.1.1-2.14.1.1-2.1build14.1.1-2.1ubuntu0.1~esm1
None known
tesseract
Ubuntu:Pro:24.04:LTS
All versions, plus listed versions
5.3.0-2build15.3.3-15.3.3-1build15.3.4-15.3.4-1build35.3.4-1build45.3.4-1build55.3.4-1ubuntu0.1~esm1
None known
tesseract
Ubuntu:26.10
All versions, plus listed versions
5.5.0-1build15.5.0-1.1
None known
tesseract
Ubuntu:Pro:26.04:LTS
All versions, plus listed versions
5.5.0-15.5.0-1build15.5.0-1ubuntu0.1~esm1
None known
tesseract-ocr
openSUSE:Tumbleweed
From an advisory covering 4 CVEs
before 5.5.4-2.1
5.5.4-2.1

History

History
RecordedChangedSources
affected, factsOSV
referencesCVE List, EUVD, NVD
affected, aliases, facts, referencesOSV
affected, aliases, referencesOSV
factsNVD, OSV
first indexedCVE List, EUVD, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-119338 is a medium vulnerability (CVSS 6.9) in Tesseract-ocr Tesseract, published October 30, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.14%, the 3rd percentile. No source names a fixed version.

References

Show 7 moreShow less
MoveEnter Open