CVE-2026-73067

Description

A flaw was found in Tesseract, an open-source Optical Character Recognition (OCR) engine. A remote attacker could exploit this vulnerability by providing a specially crafted .traineddata model. When this malicious model is loaded, it can cause the software to read beyond its allocated memory, leading to a process crash. This results in a denial of service, making the Tesseract application unavailable.

Statement

A flaw was found in Tesseract, an open-source Optical Character Recognition (OCR) engine. A heap out-of-bounds read in the DAWG dictionary loader can be triggered by a specially crafted .traineddata model file, causing the Tesseract process to crash. This issue requires a user to load an untrusted model file, limiting the attack surface.

Mitigation

Only use .traineddata model files obtained from trusted sources. Do not load model files from untrusted or unknown origins.

Understanding the Weakness (CWE)

Confidentiality

Technical Impact: Read Memory

An attacker could get secret values such as cryptographic keys, PII, memory addresses, or other information that could be used in additional attacks.

Confidentiality

Technical Impact: Bypass Protection Mechanism

Out-of-bounds memory could contain memory addresses or other information that can be used to bypass ASLR and other protection mechanisms in order to improve the reliability of exploiting a separate weakness for code execution.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

An attacker could cause a segmentation fault or crash by causing memory to be read outside of the bounds of the buffer. This is especially likely when the code reads a variable amount of data and assumes that a sentinel exists to stop the read operation, such as a NUL in a string.

Other

Technical Impact: Varies by Context

The read operation could produce other undefined or unexpected results.

Frequently Asked Questions

Want to get errata notifications? Sign up here.