Description
Tesseract is an open source OCR engine. Prior to 5.5.3, a crafted .traineddata model loaded through TessBaseAPI::Init can cause SquishedDawg::read_squished_dawg in src/dict/dawg.cpp to accept an unterminated forward-edge run, after which SquishedDawg::Load calls num_forward_edges(0) and last_edge in src/dict/dawg.h reads beyond edges_, causing a heap out-of-bounds read and process crash before image processing. This issue is fixed in version 5.5.3.
Published: 2026-08-11
Score: 6.7 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Tesseract, an open source OCR engine, contains a heap out‑of‑bounds read that can be triggered by a crafted .traineddata model. The vulnerable code path occurs when the machine learning model is loaded through TessBaseAPI::Init, leading SquishedDawg to read beyond the allocated edges array and crash the process. This results in a denial of service, though it does not provide a foothold for code execution.

Affected Systems

All installations of Tesseract versions prior to 5.5.3 are affected, regardless of operating system, because the flaw resides in the core dictionary loader shared across platforms. The vulnerability is present in the tesseract-ocr:tesseract product as listed by the CNA.

Risk and Exploitability

The CVSS score of 6.7 indicates a moderate severity. EPSS data is not available, and the issue is not in CISA’s KEV catalog, implying no known widespread exploitation yet. An attacker must supply or influence the .traineddata file used during TessBaseAPI::Init; local or remote code that can place a crafted model pathway will expose the system to crashes.

Generated by OpenCVE AI on August 11, 2026 at 23:08 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Tesseract 5.5.3 or newer, which patches the out‑of‑bounds read in the DAWG loader.
  • Validate that all .traineddata files originate from trusted, signed sources before loading them with TessBaseAPI::Init.
  • If an upgrade is not immediately possible, restrict access to the directory containing .traineddata files and monitor for unexpected crashes or log output.
  • Apply a temporary wrapper that validates the integrity of a .traineddata file against a checksum before passing it to Tesseract.

Generated by OpenCVE AI on August 11, 2026 at 23:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 15 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Thu, 13 Aug 2026 11:00:00 +0000

Type Values Removed Values Added
First Time appeared Tesseract Project
Tesseract Project tesseract
Vendors & Products Tesseract Project
Tesseract Project tesseract

Tue, 11 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 11 Aug 2026 15:00:00 +0000

Type Values Removed Values Added
Description Tesseract is an open source OCR engine. Prior to 5.5.3, a crafted .traineddata model loaded through TessBaseAPI::Init can cause SquishedDawg::read_squished_dawg in src/dict/dawg.cpp to accept an unterminated forward-edge run, after which SquishedDawg::Load calls num_forward_edges(0) and last_edge in src/dict/dawg.h reads beyond edges_, causing a heap out-of-bounds read and process crash before image processing. This issue is fixed in version 5.5.3.
Title Tesseract: Heap OOB read in the DAWG loader
Weaknesses CWE-125
References
Metrics cvssV4_0

{'score': 6.7, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Tesseract Project Tesseract
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-11T15:03:45.105Z

Reserved: 2026-08-10T19:37:41.443Z

Link: CVE-2026-73067

cve-icon Vulnrichment

Updated: 2026-08-11T15:03:41.539Z

cve-icon NVD

Status : Received

Published: 2026-08-11T15:17:38.927

Modified: 2026-08-11T16:17:37.840

Link: CVE-2026-73067

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-11T14:51:32Z

Links: CVE-2026-73067 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T10:41:13Z

Weaknesses