CVE-2026-119341 Tesseract: File-controlled pointers still reach `delete` in ADAPT_CLASS_STRUCT destructor
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
Tesseract is an open source OCR engine. Prior to 5.5.4, ReadAdaptedClass in src/classify/adaptive.cpp raw-reads an ADAPT_CLASS_STRUCT from a pre-adapted-template .a file without neutralizing TempProtos and Config pointer fields before any destructor path. When the legacy engine is selected, classify_use_pre_adapted_templates is enabled, and an attacker can write the output-basename .a file, the success or rejection path can pass file-controlled pointers to ~ADAPT_CLASS_STRUCT and operator delete, causing memory corruption and denial of service. This issue is fixed in version 5.5.4.
Upgrade path
12 packages: 2 fixed, 9 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/tesseract(Debian 12) | = 5.3.0-2; = 5.3.3-1; = 5.3.4-1; = 5.3.4-1.1 +7 more | No fix listed | No fix yet |
| debian/tesseract(Debian 13) | = 5.5.0-1; = 5.5.0-1.1; = 5.5.4-1; All versions | No fix listed | No fix yet |
| redhat/tesseract(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/tesseract(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/tesseract(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| ubuntu/tesseract(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/tesseract(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/tesseract(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/tesseract(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| azure linux tesseract(Azure Linux 4.0) | < 0:5.5.4-8.azl4 | 0:5.5.4-8.azl4 | Fixed |
| debian/tesseract(Debian 14) | < 5.5.4-1; = 5.5.0-1; = 5.5.0-1.1 | 5.5.4-1 | Fixed |
| tesseract-ocr tesseract | = < 5.5.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| tesseract-ocr tesseract | = < 5.5.3 | No fix listed |
| redhat/tesseract(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/tesseract(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/tesseract(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| ubuntu/tesseract(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/tesseract(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/tesseract(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/tesseract(Ubuntu:26.10) | All versions | No fix listed |
| debian/tesseract(Debian:12) | All versions | No fix listed |
| debian/tesseract(Debian:14) | < 5.5.4-1 | 5.5.4-1 |
| debian/tesseract(Debian:13) | All versions | No fix listed |
| debian/tesseract(Debian:12) | = 5.3.0-2 | No fix listed |
| debian/tesseract(Debian:12) | = 5.3.3-1 | No fix listed |
| debian/tesseract(Debian:12) | = 5.3.4-1 | No fix listed |
| debian/tesseract(Debian:12) | = 5.3.4-1.1 | No fix listed |
| debian/tesseract(Debian:12) | = 5.3.4-1.2 | No fix listed |
| debian/tesseract(Debian:12) | = 5.3.4-1.3 | No fix listed |
| debian/tesseract(Debian:12) | = 5.3.4-1.4 | No fix listed |
| debian/tesseract(Debian:12) | = 5.5.0-1 | No fix listed |
| debian/tesseract(Debian:12) | = 5.5.0-1.1 | No fix listed |
| debian/tesseract(Debian:12) | = 5.5.4-1 | No fix listed |
| debian/tesseract(Debian:13) | = 5.5.0-1 | No fix listed |
| debian/tesseract(Debian:13) | = 5.5.0-1.1 | No fix listed |
| debian/tesseract(Debian:13) | = 5.5.4-1 | No fix listed |
| debian/tesseract(Debian:14) | = 5.5.0-1 | No fix listed |
Show 2 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/tesseract(Debian:14) | = 5.5.0-1.1 | No fix listed |
| azure linux tesseract(Azure Linux:4.0) | < 0:5.5.4-8.azl4 | 0:5.5.4-8.azl4 |
References
- https://github.com/tesseract-ocr/tesseract/security/advisories/GHSA-357f-833m-3f83 exploit
- https://github.com/tesseract-ocr/tesseract/pull/4645
- https://github.com/tesseract-ocr/tesseract/commit/614e971036d2b95d521057ff63d68d6612429b23
- https://github.com/tesseract-ocr/tesseract/releases/tag/5.5.4
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2564307 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-119341 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- ENISA EUVD EUVD-2026-114453 third-party-advisory