Vulnerability · Published Aug 11, 2026 · Assigned by GitHub_M
CVE-2026-73066Tesseract: Heap out-of-bounds write in LSTM Convolve layer via crafted .traineddata
Medium 6.8
In plain English
A medium-severity out-of-bounds write in tesseract from tesseract-ocr. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 2% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | tesseract | 4.1.1-3.el8_10 | ALSA-2026:67832 |
| AlmaLinux:9 | tesseract | 4.1.1-8.el9_8 | ALSA-2026:67831 |
| AlmaLinux:8 | tesseract-devel | 4.1.1-3.el8_10 | ALSA-2026:67832 |
| AlmaLinux:9 | tesseract-devel | 4.1.1-8.el9_8 | ALSA-2026:67831 |
| Debian:12 | tesseract | no fix listed | DEBIAN-CVE-2026-73066 |
| Debian:13 | tesseract | no fix listed | DEBIAN-CVE-2026-73066 |
| Debian:14 | tesseract | no fix listed | DEBIAN-CVE-2026-73066 |
| Rocky Linux:10 | tesseract | 0:5.3.4-7.el10_2 | RLSA-2026:67830 |
| Rocky Linux:8 | tesseract | 0:4.1.1-3.el8_10 | RLSA-2026:67832 |
| Rocky Linux:9 | tesseract | 0:4.1.1-8.el9_8 | RLSA-2026:67831 |
| Ubuntu:26.10 | tesseract | no fix listed | UBUNTU-CVE-2026-73066 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| tesseract-ocr | tesseract | < 5.5.3 |
Weakness: CWE-787 · Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
References
- https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-7j76-5rq5-5jg8 x_refsource_CONFIRM
- https://github.com/tesseract-ocr/tesseract/pull/4588 x_refsource_MISC
- https://github.com/tesseract-ocr/tesseract/commit/2f4d2f4bf45c363785d7bf1da29b6628f8939a72 x_refsource_MISC
- https://github.com/tesseract-ocr/tesseract/releases/tag/5.5.3 x_refsource_MISC