cve.bz

CVE-2026-88052 tesseract-ocr tesseract ocr: Improper Validation of Array Index

7.8 highExploit referenceEPSS 0.2%Fix available

High (7.8) 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, UNICHARSET::load_via_fgets in src/ccutil/unicharset.cpp trusts the declared unichar count as a loop bound and uses id as an unchecked index into the unichars vector. unichar_insert_backwards_compatible can leave the vector unchanged for an empty, duplicate, or already-encodable representation, causing id to become larger than unichars.size(). Subsequent set_* calls and the write to unichars[id].properties.enabled then write UNICHAR_PROPERTIES beyond the vector during initialization in both the default LSTM and legacy engines, causing heap corruption, a crash, or potentially controlled corruption. No fixed release is available as of this review.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/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; 7th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · 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.
CWEs
CWE-129 Improper Validation of Array Index
CWE-787 Out-of-bounds Write
OWASP Top 10
A05:2025 Injection
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-88052 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-88052?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-88052?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-88052 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-88052
Debian14tesseract5.5.4-1DEBIAN-CVE-2026-88052
Ubuntu26.10tesseractno fix listedUBUNTU-CVE-2026-88052
UbuntuPro:14.04:LTStesseract3.03.02-3ubuntu0.1~esm1UBUNTU-CVE-2026-88052 USN-8882-1
UbuntuPro:16.04:LTStesseract3.04.01-4ubuntu0.1~esm1UBUNTU-CVE-2026-88052 USN-8882-1
UbuntuPro:18.04:LTStesseract4.00~git2288-10f4998a-2ubuntu0.1~esm1UBUNTU-CVE-2026-88052 USN-8882-1
UbuntuPro:20.04:LTStesseract4.1.1-2ubuntu0.1~esm1UBUNTU-CVE-2026-88052 USN-8882-1
UbuntuPro:22.04:LTStesseract4.1.1-2.1ubuntu0.1~esm1UBUNTU-CVE-2026-88052 USN-8882-1
UbuntuPro:24.04:LTStesseract5.3.4-1ubuntu0.1~esm1UBUNTU-CVE-2026-88052 USN-8882-1
UbuntuPro:26.04:LTStesseract5.5.0-1ubuntu0.1~esm1UBUNTU-CVE-2026-88052 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 an Important severity flaw because an out-of-bounds heap write could allow an attacker to achieve arbitrary code execution in the context of the running process, rather than a crash alone. Within Red Hat Enterprise Linux environments, Tesseract is typically deployed as a standalone utility or linked library in automated data extraction pipelines. Exploitation is constrained by the prerequisite that an application or user must process malicious character set definitions or untrusted model files, preventing direct unauthenticated remote exploitation under default configurations.

Red Hat's mitigation

To mitigate this vulnerability, avoid processing untrusted or malicious image and document files with Tesseract. If Tesseract is not essential for system operations, consider removing the `tesseract` package to eliminate the attack surface. If the `tesseract` package is removed, ensure that any dependent applications or services are not adversely affected.

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

Attack patterns (CAPEC)

  • CAPEC-100 Overflow Buffers Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON