CVEfocus › CVE database › CVE-2026-88050

CVE-2026-88050Tesseract: Out-of-bounds write in UnicharCompress via unvalidated recoder code values

CVSS 6.9 MediumEPSS 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, RecodedCharID::DeSerialize in src/ccutil/unicharcompress.h validates length_ but accepts negative code_ values from a crafted .traineddata recoder component. UnicharCompress::ComputeCodeRange in src/ccutil/unicharcompress.cpp can consequently produce code_range_ equal to zero, after which SetupDecoder indexes is_valid_start_ with the negative code on a size-zero vector. The resulting out-of-bounds bit write uses a large wrapped index and reliably causes a wild-address crash or allocation failure on the default LSTM engine. No fixed release is available as of this review.

CWE-787

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Red Hat, 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

1Fixed
14Fix 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-88050
Ubuntu 26.04tesseractFix pending5.5.0-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-88050
Ubuntu 24.04tesseractFix pending5.3.4-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-88050
Ubuntu 22.04tesseractFix pending4.1.1-2.1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-88050
Ubuntu 20.04tesseractFix pending4.1.1-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-88050
Ubuntu 18.04tesseractFix pending4.00~git2288-10f4998a-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-88050
Debian 14tesseractFixed5.5.4-1DEBIAN-CVE-2026-88050
Debian 13tesseractFix pendingDEBIAN-CVE-2026-88050
Debian 12tesseractFix pendingDEBIAN-CVE-2026-88050
Red Hat Enterprise Linux 10tesseractFix pending
Fix deferred
Red Hat Enterprise Linux 10tesseract-develFix pending
Fix deferred
Red Hat Enterprise Linux 9tesseractFix pending
Fix deferred
Red Hat Enterprise Linux 9tesseract-develFix pending
Fix deferred
Red Hat Enterprise Linux 8tesseractFix pending
Fix deferred
Red Hat Enterprise Linux 8tesseract-develFix pending
Fix deferred

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.