CVEfocus › CVE database › CVE-2026-88049

CVE-2026-88049Tesseract: Heap out-of-bounds write in LSTM::Forward via na_/gate-matrix dimension…

CVSS 8.6 HighEPSS 0.1% (higher than 2% of CVEs)Published 2026-09-10Updated 2026-09-10Assigner: GitHub_M

Tesseract is an open source OCR engine. In version 5.5.3 and earlier, prior .traineddata hardening added bounds checks to NetworkIO::CopyTimeStepGeneral and NetworkIO::Randomize in src/lstm/networkio.cpp but left NetworkIO::WriteTimeStepPart and NetworkIO::AddTimeStepPart unchecked. In LSTM::Forward in src/lstm/lstm.cpp, source_ is sized from the independently deserialized na_ field while the WriteTimeStepPart count is ns_, which comes from the CI gate WeightMatrix dim1() value. A crafted NT_LSTM layer can make ns_ much larger than na_, causing a heap out-of-bounds write during the first recognition step on the default LSTM engine and resulting in heap corruption, a crash, or potentially controlled corruption. No fixed release is available as of this review.

CWE-787

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

17Fixed
8Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10tesseractFix pendingUBUNTU-CVE-2026-88049
Ubuntu 26.04tesseractFix pending5.5.0-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-88049
Ubuntu 24.04tesseractFix pending5.3.4-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-88049
Ubuntu 22.04tesseractFix pending4.1.1-2.1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-88049
Ubuntu 20.04tesseractFix pending4.1.1-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-88049
Ubuntu 18.04tesseractFix pending4.00~git2288-10f4998a-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-88049
Debian 14tesseractFixed5.5.4-1DEBIAN-CVE-2026-88049
Debian 13tesseractFix pendingDEBIAN-CVE-2026-88049
Debian 12tesseractFix pendingDEBIAN-CVE-2026-88049
Red Hat Enterprise Linux 10tesseractFixed0:5.3.4-11.el10_3RHSA-2026:95085
Red Hat Enterprise Linux 10tesseract-develFixed0:5.3.4-11.el10_3RHSA-2026:95085
Red Hat Enterprise Linux 9tesseractFixed0:4.1.1-11.el9_9RHSA-2026:95086
Red Hat Enterprise Linux 9tesseract-develFixed0:4.1.1-11.el9_8RHSA-2026:98514
Red Hat Enterprise Linux 8tesseractFixed0:4.1.1-7.el8_10RHSA-2026:95725
Red Hat Enterprise Linux 8tesseract-develFixed0:4.1.1-7.el8_10RHSA-2026:95725
AlmaLinux 10tesseractFixed5.3.4-11.el10_3ALSA-2026:95085
AlmaLinux 10tesseract-develFixed5.3.4-11.el10_3ALSA-2026:95085
AlmaLinux 9tesseractFixed4.1.1-11.el9_9ALSA-2026:98514
AlmaLinux 9tesseract-develFixed4.1.1-11.el9_8ALSA-2026:98514
AlmaLinux 8tesseractFixed4.1.1-7.el8_10ALSA-2026:95725
AlmaLinux 8tesseract-develFixed4.1.1-7.el8_10ALSA-2026:95725
Rocky Linux 10tesseractFixed0:5.3.4-11.el10_2RLSA-2026:98624
Rocky Linux 10tesseract-develFixed0:5.3.4-11.el10_2RLSA-2026:98624
Rocky Linux 9tesseractFixed0:4.1.1-11.el9_8RLSA-2026:95086
Rocky Linux 8tesseractFixed0:4.1.1-7.el8_10RLSA-2026:95725

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.