cve.bz

CVE-2026-88050 tesseract-ocr tesseract ocr: Out-of-bounds Write

6.9 mediumEPSS 0.1%Fix available

Medium (6.9) in tesseract-ocr tesseract ocr. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

6.9 medium
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.1% (unchanged from 0.1% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 4th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-09-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-88050 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-88050?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-88050?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-88050 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
tesseract-ocr:tesseract_ocrthrough 5.5.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13tesseractno fix listedDEBIAN-CVE-2026-88050
Debian14tesseract5.5.4-1DEBIAN-CVE-2026-88050
Ubuntu26.10tesseractno fix listedUBUNTU-CVE-2026-88050
UbuntuPro:14.04:LTStesseract3.03.02-3ubuntu0.1~esm1USN-8882-1
UbuntuPro:16.04:LTStesseract3.04.01-4ubuntu0.1~esm1USN-8882-1
UbuntuPro:18.04:LTStesseract4.00~git2288-10f4998a-2ubuntu0.1~esm1UBUNTU-CVE-2026-88050 USN-8882-1
UbuntuPro:20.04:LTStesseract4.1.1-2ubuntu0.1~esm1UBUNTU-CVE-2026-88050 USN-8882-1
UbuntuPro:22.04:LTStesseract4.1.1-2.1ubuntu0.1~esm1UBUNTU-CVE-2026-88050 USN-8882-1
UbuntuPro:24.04:LTStesseract5.3.4-1ubuntu0.1~esm1UBUNTU-CVE-2026-88050 USN-8882-1
UbuntuPro:26.04:LTStesseract5.5.0-1ubuntu0.1~esm1UBUNTU-CVE-2026-88050 USN-8882-1
openSUSELeap 16.0tesseract-ocr5.5.3-bp160.1.1openSUSE-SU-2026:21957-1
openSUSETumbleweedtesseract-ocr5.5.3-2.1openSUSE-SU-2026:11887-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

To mitigate this issue, avoid processing untrusted or unverified `.traineddata` files with the Tesseract OCR engine. If processing untrusted input is unavoidable, consider running the Tesseract application within a sandboxed environment to limit the potential impact of a denial of service.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10tesseractFix deferred
Red Hat Enterprise Linux 8tesseractFix deferred
Red Hat Enterprise Linux 9tesseractFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-88050.

References

Check your stackJSON