CVE-2026-88048 Tesseract: Heap out-of-bounds write/read in FullyConnected::Forward via layer/weight-matrix dimension mismatch
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
Description
Tesseract is an open source OCR engine. In version 5.5.3 and earlier, FullyConnected::DeSerialize in src/lstm/fullyconnected.cpp does not validate the deserialized layer scalars ni_ and no_ against the weight-matrix dimensions. During FullyConnected::Forward, MatrixDotVector in src/lstm/weightmatrix.cpp writes w.dim1() results into temp_line, which is sized from no_, and reads w.dim2() minus one inputs from curr_input, which is sized from ni_. A crafted .traineddata NT_SOFTMAX layer can therefore use inconsistent dimensions to cause a heap out-of-bounds write and read on the default LSTM engine, resulting in heap corruption, a crash, information disclosure, or potentially controlled corruption. No fixed release is available as of this review.
Upgrade path
22 packages: 18 fixed, 3 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 |
| 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 |
| redhat/tesseract(Red Hat enterprise_linux 10.2) | < 5.3.4-11.el10_2 | 5.3.4-11.el10_2 | Fixed |
| redhat/tesseract(Red Hat enterprise_linux 10.3) | < 5.3.4-11.el10_3 | 5.3.4-11.el10_3 | Fixed |
| redhat/tesseract(Red Hat enterprise_linux 8) | < 4.1.1-7.el8_10 | 4.1.1-7.el8_10 | Fixed |
| redhat/tesseract(Red Hat enterprise_linux 9) | < 4.1.1-11.el9_8; < 4.1.1-11.el9_9 | 4.1.1-11.el9_8, 4.1.1-11.el9_9 | Fixed |
| redhat/tesseract(Red Hat enterprise_linux_eus 10.0) | < 5.3.4-6.el10_0.2 | 5.3.4-6.el10_0.2 | Fixed |
| redhat/tesseract(Red Hat rhel_aus 8.6) | < 4.1.1-2.el8_6.3 | 4.1.1-2.el8_6.3 | Fixed |
| redhat/tesseract(Red Hat rhel_e4s 8.8) | < 4.1.1-2.el8_8.3 | 4.1.1-2.el8_8.3 | Fixed |
| redhat/tesseract(Red Hat rhel_e4s 9.2) | < 4.1.1-7.el9_2.2 | 4.1.1-7.el9_2.2 | Fixed |
| redhat/tesseract(Red Hat rhel_e4s 9.4) | < 4.1.1-7.el9_4.2 | 4.1.1-7.el9_4.2 | Fixed |
| redhat/tesseract(Red Hat rhel_eus 9.6) | < 4.1.1-7.el9_6.2 | 4.1.1-7.el9_6.2 | Fixed |
| redhat/tesseract(Red Hat rhel_eus_long_life 8.6) | < 4.1.1-2.el8_6.3 | 4.1.1-2.el8_6.3 | Fixed |
| redhat/tesseract(Red Hat rhel_tus 8.8) | < 4.1.1-2.el8_8.3 | 4.1.1-2.el8_8.3 | Fixed |
| tesseract-ocr tesseract ocr | <= 5.5.3 | after 5.5.3 | Fixed |
| ubuntu/tesseract(Ubuntu 22.04) | < 4.1.1-2.1ubuntu0.1~esm1 | 4.1.1-2.1ubuntu0.1~esm1 | Fixed |
| ubuntu/tesseract(Ubuntu 24.04) | < 5.3.4-1ubuntu0.1~esm1 | 5.3.4-1ubuntu0.1~esm1 | Fixed |
| ubuntu/tesseract(Ubuntu 26.04) | < 5.5.0-1ubuntu0.1~esm1 | 5.5.0-1ubuntu0.1~esm1 | 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 |
| ubuntu/tesseract(Ubuntu:22.04) | < 4.1.1-2.1ubuntu0.1~esm1 | 4.1.1-2.1ubuntu0.1~esm1 |
| ubuntu/tesseract(Ubuntu:24.04) | < 5.3.4-1ubuntu0.1~esm1 | 5.3.4-1ubuntu0.1~esm1 |
| ubuntu/tesseract(Ubuntu:26.04) | < 5.5.0-1ubuntu0.1~esm1 | 5.5.0-1ubuntu0.1~esm1 |
| ubuntu/tesseract(Ubuntu:26.10) | All versions | No fix listed |
| tesseract-ocr tesseract ocr | <= 5.5.3 | 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 |
| debian/tesseract(Debian:14) | = 5.5.0-1.1 | No fix listed |
| redhat/tesseract(Red Hat:enterprise_linux:10.2) | < 5.3.4-11.el10_2 | 5.3.4-11.el10_2 |
Show 13 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/tesseract(Red Hat:enterprise_linux:10.3) | < 5.3.4-11.el10_3 | 5.3.4-11.el10_3 |
| redhat/tesseract(Red Hat:enterprise_linux_eus:10.0) | < 5.3.4-6.el10_0.2 | 5.3.4-6.el10_0.2 |
| redhat/tesseract(Red Hat:enterprise_linux:8) | < 4.1.1-7.el8_10 | 4.1.1-7.el8_10 |
| redhat/tesseract(Red Hat:rhel_aus:8.6) | < 4.1.1-2.el8_6.3 | 4.1.1-2.el8_6.3 |
| redhat/tesseract(Red Hat:rhel_eus_long_life:8.6) | < 4.1.1-2.el8_6.3 | 4.1.1-2.el8_6.3 |
| redhat/tesseract(Red Hat:rhel_tus:8.8) | < 4.1.1-2.el8_8.3 | 4.1.1-2.el8_8.3 |
| redhat/tesseract(Red Hat:rhel_e4s:8.8) | < 4.1.1-2.el8_8.3 | 4.1.1-2.el8_8.3 |
| redhat/tesseract(Red Hat:enterprise_linux:9) | < 4.1.1-11.el9_8 | 4.1.1-11.el9_8 |
| redhat/tesseract(Red Hat:enterprise_linux:9) | < 4.1.1-11.el9_9 | 4.1.1-11.el9_9 |
| redhat/tesseract(Red Hat:rhel_e4s:9.2) | < 4.1.1-7.el9_2.2 | 4.1.1-7.el9_2.2 |
| redhat/tesseract(Red Hat:rhel_e4s:9.4) | < 4.1.1-7.el9_4.2 | 4.1.1-7.el9_4.2 |
| redhat/tesseract(Red Hat:rhel_eus:9.6) | < 4.1.1-7.el9_6.2 | 4.1.1-7.el9_6.2 |
| 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-q44c-23p6-5mw6 exploit vendor-advisory
- https://github.com/tesseract-ocr/tesseract/commit/103dc134eb36411ddc6833ec20aa2c76795bd0ff patch
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:95085 patch vendor-advisory
- RHSA-2026:95725 patch vendor-advisory
- RHSA-2026:96239 patch vendor-advisory
- RHSA-2026:96238 patch vendor-advisory
- RHSA-2026:95086 patch vendor-advisory
- Red Hat Bugzilla 2531546 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-88048 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8882-1 vendor-advisory
- bugs.debian.org issue-tracking
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- ENISA EUVD EUVD-2026-75591 third-party-advisory
- RHSA-2026:98624 patch vendor-advisory
- RHSA-2026:100506 patch vendor-advisory
- RHSA-2026:98514 patch vendor-advisory
- RHSA-2026:100505 patch vendor-advisory
- RHSA-2026:100502 patch vendor-advisory
- RHSA-2026:100507 patch vendor-advisory