CVE-2026-73066 Tesseract: Heap out-of-bounds write in LSTM Convolve layer via crafted .traineddata

Medium 6.8 Published Updated

An attacker can achieve code execution by providing a crafted .traineddata file that triggers an integer overflow and heap out-of-bounds write in the Tesseract OCR engine.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-73066?

CVE-2026-73066 is a medium-severity vulnerability in tesseract-ocr tesseract, published on 11 Aug 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Tesseract is an open source OCR engine. Prior to 5.5.3, a crafted .traineddata LSTM model component loaded through Tesseract's deserializer can cause an unchecked signed integer multiplication in Convolve::DeSerialize in src/lstm/convolve.cpp to wrap the convolution output-channel count, undersizing the forward-pass output buffer while writes use the unwrapped element count and causing a heap out-of-bounds write during OCR recognition. This issue is fixed in version 5.5.3.

Weakness: CWE-787

Which versions are affected by CVE-2026-73066?

Linux distribution packages (40)
tesseract AlmaLinux:8All versions4.1.1-3.el8_10
tesseract-devel AlmaLinux:8All versions4.1.1-3.el8_10
tesseract AlmaLinux:9All versions4.1.1-8.el9_8
tesseract-devel AlmaLinux:9All versions4.1.1-8.el9_8
tesseract Red Hat:enterprise_linux:10.2All versions0:5.3.4-7.el10_2
tesseract-debuginfo Red Hat:enterprise_linux:10.2All versions0:5.3.4-7.el10_2
tesseract-debugsource Red Hat:enterprise_linux:10.2All versions0:5.3.4-7.el10_2
tesseract-devel Red Hat:enterprise_linux:10.2All versions0:5.3.4-7.el10_2
tesseract-tools-debuginfo Red Hat:enterprise_linux:10.2All versions0:5.3.4-7.el10_2
tesseract Red Hat:enterprise_linux:8::appstreamAll versions0:4.1.1-3.el8_10
tesseract-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:4.1.1-3.el8_10
tesseract-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:4.1.1-3.el8_10
tesseract-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:4.1.1-3.el8_10
tesseract-debugsource Red Hat:enterprise_linux:8::crbAll versions0:4.1.1-3.el8_10
tesseract-devel Red Hat:enterprise_linux:8::crbAll versions0:4.1.1-3.el8_10
tesseract Red Hat:enterprise_linux:9::appstreamAll versions0:4.1.1-8.el9_8
tesseract-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:4.1.1-8.el9_8
tesseract-debugsource Red Hat:enterprise_linux:9::appstreamAll versions0:4.1.1-8.el9_8
tesseract-tools-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:4.1.1-8.el9_8
tesseract-debuginfo Red Hat:enterprise_linux:9::crbAll versions0:4.1.1-8.el9_8
tesseract-debugsource Red Hat:enterprise_linux:9::crbAll versions0:4.1.1-8.el9_8
tesseract-devel Red Hat:enterprise_linux:9::crbAll versions0:4.1.1-8.el9_8
tesseract-tools-debuginfo Red Hat:enterprise_linux:9::crbAll versions0:4.1.1-8.el9_8
tesseract Red Hat:enterprise_linux_eus:10.0All versions0:5.3.4-6.el10_0.1
tesseract-debuginfo Red Hat:enterprise_linux_eus:10.0All versions0:5.3.4-6.el10_0.1
tesseract-debugsource Red Hat:enterprise_linux_eus:10.0All versions0:5.3.4-6.el10_0.1
tesseract-devel Red Hat:enterprise_linux_eus:10.0All versions0:5.3.4-6.el10_0.1
tesseract-tools-debuginfo Red Hat:enterprise_linux_eus:10.0All versions0:5.3.4-6.el10_0.1
tesseract Red Hat:rhel_aus:8.6::appstreamAll versions0:4.1.1-2.el8_6.1
tesseract-debuginfo Red Hat:rhel_aus:8.6::appstreamAll versions0:4.1.1-2.el8_6.1
tesseract-debugsource Red Hat:rhel_aus:8.6::appstreamAll versions0:4.1.1-2.el8_6.1
tesseract Red Hat:rhel_e4s:8.8::appstreamAll versions0:4.1.1-2.el8_8.1
tesseract-debuginfo Red Hat:rhel_e4s:8.8::appstreamAll versions0:4.1.1-2.el8_8.1
tesseract-debugsource Red Hat:rhel_e4s:8.8::appstreamAll versions0:4.1.1-2.el8_8.1
tesseract Red Hat:rhel_e4s:9.2::appstreamAll versions0:4.1.1-7.el9_2.1
tesseract-debuginfo Red Hat:rhel_e4s:9.2::appstreamAll versions0:4.1.1-7.el9_2.1
tesseract-debugsource Red Hat:rhel_e4s:9.2::appstreamAll versions0:4.1.1-7.el9_2.1
tesseract-tools-debuginfo Red Hat:rhel_e4s:9.2::appstreamAll versions0:4.1.1-7.el9_2.1
tesseract Red Hat:rhel_e4s:9.4::appstreamAll versions0:4.1.1-7.el9_4.1
tesseract-debuginfo Red Hat:rhel_e4s:9.4::appstreamAll versions0:4.1.1-7.el9_4.1

How do I fix CVE-2026-73066?

Upgrade to a fixed version.

Is CVE-2026-73066 being exploited?

There is no known exploitation of CVE-2026-73066 in the wild and no public exploit code.

Sources

Also known as ALSA-2026:67831, ALSA-2026:67832, DEBIAN-CVE-2026-73066, ECHO-bf17-e4d0-1453, GHSA-7j76-5rq5-5jg8, RHSA-2026:67830 and 12 more.

Is CVE-2026-73066 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free