cve.bz

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

8.6 highExploit referenceEPSS 0.2%Fix available

High (8.6) in tesseract-ocr tesseract ocr. EPSS 0.2% 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, Classify::ReadIntTemplates in src/classify/intproto.cpp reads NumClassPruners, NumClasses, and NumProtoSets from the TESSDATA_INTTEMP component of a crafted .traineddata file and uses those values as loop bounds without validating them against MAX_NUM_CLASS_PRUNERS, MAX_NUM_CLASSES, and MAX_NUM_PROTO_SETS. The loops store heap pointers into fixed-capacity ClassPruners and ProtoSets arrays in INT_TEMPLATES_STRUCT and INT_CLASS_STRUCT, so an oversized count causes heap out-of-bounds pointer writes during legacy-classifier initialization before OCR begins, resulting in heap corruption, a crash, or potentially controlled corruption. No fixed release is available as of this review.

Severity

CVSS 4.0

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

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 6th 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: total, assessed 2026-09-11. 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-88053 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-88053?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-88053?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-88053 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-88053
Debian14tesseract5.5.4-1DEBIAN-CVE-2026-88053
Ubuntu26.10, Pro:14.04:LTS, Pro:16.04:LTStesseractno fix listedUBUNTU-CVE-2026-88053 USN-8882-1
UbuntuPro:18.04:LTStesseract4.00~git2288-10f4998a-2ubuntu0.1~esm1UBUNTU-CVE-2026-88053 USN-8882-1
UbuntuPro:20.04:LTStesseract4.1.1-2ubuntu0.1~esm1UBUNTU-CVE-2026-88053 USN-8882-1
UbuntuPro:22.04:LTStesseract4.1.1-2.1ubuntu0.1~esm1UBUNTU-CVE-2026-88053 USN-8882-1
UbuntuPro:24.04:LTStesseract5.3.4-1ubuntu0.1~esm1UBUNTU-CVE-2026-88053 USN-8882-1
UbuntuPro:26.04:LTStesseract5.5.0-1ubuntu0.1~esm1UBUNTU-CVE-2026-88053 USN-8882-1
Red Hatenterprise_linux:8::appstreamtesseract, tesseract-debuginfo, tesseract-debugsource0:4.1.1-7.el8_10RHSA-2026:95725
Red Hatenterprise_linux:8::crbtesseract-devel, tesseract-debuginfo, tesseract-debugsource0:4.1.1-7.el8_10RHSA-2026:95725
Red Hatenterprise_linux:9::appstreamtesseract, tesseract-debuginfo, tesseract-debugsource and 1 more0:4.1.1-11.el9_8RHSA-2026:95086
Red Hatenterprise_linux:9::appstreamtesseract, tesseract-debuginfo, tesseract-debugsource and 1 more0:4.1.1-11.el9_9RHSA-2026:98514
Red Hatenterprise_linux:9::crbtesseract-devel, tesseract-debuginfo, tesseract-debugsource and 1 more0:4.1.1-11.el9_8RHSA-2026:95086
Red Hatenterprise_linux:9::crbtesseract-devel, tesseract-debuginfo, tesseract-debugsource and 1 more0:4.1.1-11.el9_9RHSA-2026:98514
Red Hatenterprise_linux:10.2tesseract, tesseract-devel, tesseract-debuginfo and 2 more0:5.3.4-11.el10_2RHSA-2026:95085
Red Hatenterprise_linux:10.3tesseract, tesseract-devel, tesseract-debuginfo and 2 more0:5.3.4-11.el10_3RHSA-2026:98624
Red Hatrhel_aus:8.6::appstream, rhel_eus_long_life:8.6::appstreamtesseract, tesseract-debuginfo, tesseract-debugsource0:4.1.1-2.el8_6.3RHSA-2026:96239
Red Hatrhel_e4s:8.8::appstream, rhel_tus:8.8::appstreamtesseract, tesseract-debuginfo, tesseract-debugsource0:4.1.1-2.el8_8.3RHSA-2026:96238
openSUSELeap 16.0tesseract-ocr5.5.3-bp160.1.1openSUSE-SU-2026:21957-1
openSUSELeap 16.0tesseract-ocr5.5.3-bp160.2.1openSUSE-RU-2026:22002-1
openSUSETumbleweedtesseract-ocr5.5.3-2.1openSUSE-SU-2026:11887-1
AlmaLinux8tesseract, tesseract-devel4.1.1-7.el8_10ALSA-2026:95725
AlmaLinux9tesseract, tesseract-devel4.1.1-11.el9_9ALSA-2026:98514
AlmaLinux9tesseract-devel4.1.1-11.el9_8ALSA-2026:95086
AlmaLinux10tesseract, tesseract-devel5.3.4-11.el10_2ALSA-2026:95085
AlmaLinux10tesseract, tesseract-devel5.3.4-11.el10_3ALSA-2026:98624
Rocky Linux8tesseract0:4.1.1-7.el8_10RLSA-2026:95725
Rocky Linux9tesseract0:4.1.1-11.el9_8RLSA-2026:95086 RLSA-2026:98514
Rocky Linux10tesseract0:5.3.4-11.el10_2RLSA-2026:95085
Rocky Linux10tesseract, tesseract-devel, tesseract-debuginfo and 1 more0:5.3.4-11.el10_2RLSA-2026:98624

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as an Important severity flaw because an adversary who successfully triggers the memory corruption can execute arbitrary code within the privileges of the running application, rather than solely causing a denial of service. In Red Hat Enterprise Linux, Tesseract operates as an optical character recognition utility and shared library that typically handles language models bundled directly from verified system packages. Exploitation requires an application to load a malicious training model, meaning risk is concentrated in automated pipelines or services configured to accept external, unvetted language data files.

Red Hat's mitigation

To mitigate this vulnerability, ensure that Tesseract only processes .traineddata files from trusted sources. Avoid loading or processing .traineddata files from untrusted or unverified origins, as these could be specially crafted to trigger the heap corruption. If Tesseract must process untrusted input, consider running the application in a sandboxed environment to limit the potential impact of successful exploitation.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10tesseract-0:5.3.4-11.el10_2Fixed 2026-11-04RHSA-2026:95085
Red Hat Enterprise Linux 10tesseract-0:5.3.4-11.el10_3Fixed 2026-11-11RHSA-2026:98624
Red Hat Enterprise Linux 8tesseract-0:4.1.1-7.el8_10Fixed 2026-11-05RHSA-2026:95725
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supporttesseract-0:4.1.1-2.el8_6.3Fixed 2026-11-09RHSA-2026:96239
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Ontesseract-0:4.1.1-2.el8_6.3Fixed 2026-11-09RHSA-2026:96239
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicetesseract-0:4.1.1-2.el8_8.3Fixed 2026-11-09RHSA-2026:96238
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionstesseract-0:4.1.1-2.el8_8.3Fixed 2026-11-09RHSA-2026:96238
Red Hat Enterprise Linux 9tesseract-0:4.1.1-11.el9_8Fixed 2026-11-04RHSA-2026:95086
Red Hat Enterprise Linux 9tesseract-0:4.1.1-11.el9_9Fixed 2026-11-11RHSA-2026:98514

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-88053.

References

Check your stackJSON