Critical Security Update for Tesseract: Heap Out-of-Bounds Write Vulnerability

tesseract Updated 17 Sep 2026

Summary

16/09/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:67831: Important: tesseract security update. Affects tesseract versions < 4.1.1-8.el9_8. Fixed in 4.1.1-8.el9_8. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Tesseract is a commercial quality Optical Character Recognition (OCR) engine that was originally developed at HP between 1985 and 1995. It has been recognized for its high performance and was among the top three evaluated by UNLV in 1995. Open-sourced in 2005, Tesseract is widely used for converting images of text into machine-encoded text. However, it has recently been found to have a significant security vulnerability that could be exploited if not addressed.

Vulnerability Detail

The vulnerability identified as CVE-2026-73066 involves a heap out-of-bounds write that can occur when Tesseract processes a specially crafted .traineddata file. This flaw could allow an attacker to execute arbitrary code, potentially leading to system compromise. The issue arises from improper handling of memory allocation, which can be exploited to overwrite critical memory areas.

How To Fix

Minimum fixed version

4.1.1-8.el9_8

This is the first release that contains the fix.

sudo dnf update tesseract

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users should avoid processing untrusted or unknown .traineddata files until the update is applied. Additionally, implementing strict file validation can help mitigate the risk of exploitation.

Conclusion

The Tesseract OCR engine has a critical vulnerability that requires immediate attention. Users are advised to update to the latest patched version to mitigate the risks associated with this security flaw. By following the provided steps, users can ensure their systems remain secure.

See every vulnerability recorded for tesseract →

Share this vulnerability

FAQ

The vulnerability is a heap out-of-bounds write that can be exploited through specially crafted .traineddata files.

If you are using a version prior to 4.1.1-8.el9_8, your installation is vulnerable.

Exploitation of this vulnerability could lead to arbitrary code execution, compromising the security of the affected system.

Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just a manifest file like package-lock.json.

You can use the Vulert playground at Vulert Scanner to check for vulnerabilities without requiring signup.

Related vulnerabilities

Recent vulnerabilities recorded for tesseract.

How To Fix

Minimum fixed version

4.1.1-8.el9_8

This is the first release that contains the fix.

sudo dnf update tesseract

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback