cve.bz

CVE-2026-88051 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, the callback form of GenericVector::read in src/ccutil/genericvector.h reads the independent int32 fields reserved and size_used_ from a .traineddata model without a cap or an invariant check. reserve(reserved) allocates the backing array, but the callback loop writes size_used_ elements. A crafted TESSDATA_INTTEMP component with version_id 4 or later can therefore set reserved to a small value and size_used_ to a large value when fontinfo_table_.read(fp, read_info) is called from src/classify/intproto.cpp, causing a heap out-of-bounds write of FontInfo structures, 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-15. 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-88051 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-88051?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-88051?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-88051 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-88051
Debian14tesseract5.5.4-1DEBIAN-CVE-2026-88051
Ubuntu26.10tesseractno fix listedUBUNTU-CVE-2026-88051
UbuntuPro:14.04:LTStesseract3.03.02-3ubuntu0.1~esm1UBUNTU-CVE-2026-88051 USN-8882-1
UbuntuPro:16.04:LTStesseract3.04.01-4ubuntu0.1~esm1UBUNTU-CVE-2026-88051 USN-8882-1
UbuntuPro:18.04:LTStesseract4.00~git2288-10f4998a-2ubuntu0.1~esm1UBUNTU-CVE-2026-88051 USN-8882-1
UbuntuPro:20.04:LTStesseract4.1.1-2ubuntu0.1~esm1UBUNTU-CVE-2026-88051 USN-8882-1
UbuntuPro:22.04:LTStesseract4.1.1-2.1ubuntu0.1~esm1UBUNTU-CVE-2026-88051 USN-8882-1
UbuntuPro:24.04:LTStesseract5.3.4-1ubuntu0.1~esm1UBUNTU-CVE-2026-88051 USN-8882-1
UbuntuPro:26.04:LTStesseract5.5.0-1ubuntu0.1~esm1UBUNTU-CVE-2026-88051 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
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 Important for Red Hat Enterprise Linux because successful exploitation of the memory corruption flaw can result in arbitrary code execution within the context of the user or process running the OCR engine. In standard Red Hat deployments, Tesseract relies on verified system-provided language packs, limiting exposure unless an application or user is tricked into loading an untrusted, malicious trained data file. Because triggering the condition requires local file interaction or supplying a specially prepared model to an automated ingestion pipeline, remote unauthenticated exploitation without user interaction is not possible.

Red Hat's mitigation

To mitigate this issue, avoid processing `.traineddata` model files from untrusted or unknown sources. Ensure that Tesseract only processes models from trusted origins. If Tesseract is not required, consider removing the `tesseract` package to eliminate the attack surface.

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

References

Check your stackJSON