Home / tesseract-ocr / tesseract / CVE-2026-119338
CVE-2026-119338: is it exploited, and which versions of tesseract-ocr tesseract are affected and fixed?
CVE-2026-119338 is an out-of-bounds read vulnerability in tesseract-ocr tesseract. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: tesseract >= 5.4.0, < 5.5.4 (CVE record by GitHub_M). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.9, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:04 UTC and NVD November 19, 2026, 07:05 UTC.
What is CVE-2026-119338?
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.
From the CVE record by GitHub_M, last updated November 5, 2026, 02:41 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| tesseract-ocr | tesseract | >= 5.4.0, < 5.5.4 |
As the CVE record by GitHub_M states it, last updated November 5, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-119338?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.9 | CVSS 4.0 | 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 | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-119338 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, November 5, 2026)
- EPSS
- 0.17% probability of exploitation activity in the next 30 days, percentile 6.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-vf7v-2h4f-6f4j x_refsource_CONFIRM
- https://github.com/tesseract-ocr/tesseract/pull/4647 x_refsource_MISC
- https://github.com/tesseract-ocr/tesseract/commit/fa52414ff1fd13ae4b00048d2498f9141b0bc2eb x_refsource_MISC
- https://github.com/tesseract-ocr/tesseract/releases/tag/5.5.4 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- October 29, 2026
- Published
- October 30, 2026, 20:12 UTC
- CVE record updated
- November 5, 2026, 02:41 UTC by GitHub_M
- NVD
- Awaiting Analysis, last modified November 5, 2026, 03:17 UTC
- Last checked
- CVE list November 19, 2026, 07:04 UTC; NVD November 19, 2026, 07:05 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect tesseract?
- Oct 30, 2026CVE-2026-119341 tesseract-ocr tesseract: release of invalid pointer
- Oct 30, 2026CVE-2026-119340 tesseract-ocr tesseract: integer overflow
- Oct 30, 2026CVE-2026-119339 tesseract-ocr tesseract: improper input validation
- Sep 10, 2026CVE-2026-88054 tesseract-ocr tesseract: out-of-bounds read
- Sep 10, 2026CVE-2026-88053 tesseract-ocr tesseract: out-of-bounds write (memory corruption)
- Sep 10, 2026CVE-2026-88052 tesseract-ocr tesseract: improper array index validation
- Sep 10, 2026CVE-2026-88051 tesseract-ocr tesseract: out-of-bounds write (memory corruption)
- Sep 10, 2026CVE-2026-88050 tesseract-ocr tesseract: out-of-bounds write (memory corruption)
Questions about CVE-2026-119338
Is CVE-2026-119338 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.17% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of tesseract-ocr tesseract are affected by CVE-2026-119338?
tesseract >= 5.4.0, < 5.5.4, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2026-119338?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-119338?
Medium (6.9, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-119338?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.