CVE-2026-73067

Tesseract: Heap OOB read in the DAWG loader

Published Aug 11, 2026 CVSS 4.0 · 6.7 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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

Source ID Title
Ubuntu USN Ubuntu USN USN-8882-1 Tesseract vulnerabilities
History
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

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

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

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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 11, 2026, 3:03 PM
Reserved
Aug 10, 2026, 7:37 PM
Status
Deferred
Published
Aug 11, 2026, 3:17 PM
Modified
Oct 24, 2026, 3:10 PM
Severity
Moderate
Public date
Aug 11, 2026, 2:51 PM