cve.bz

CVE-2026-88047 tesseract-ocr tesseract ocr: Stack-based Buffer Overflow

8.6 highEPSS 0.1%Fix available

High (8.6) 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, Classify::ReadNormProtos in src/classify/normmatch.cpp parses the NORMPROTO component of a .traineddata file and uses std::istream::operator>>(char*) to extract a whitespace-delimited token into a fixed 61-byte stack buffer without setting a stream width. The 100-byte line buffer can carry a token of up to 99 characters, so a token longer than 60 characters writes up to 39 attacker-controlled bytes past the buffer during TessBaseAPI::Init of the legacy engine, causing stack corruption, denial of service, and potentially control-flow hijacking on affected standard-library implementations. Builds using Apple's libc++ C++20 bounded array overload are incidentally protected, while typical libstdc++ builds remain affected. 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.1% (unchanged from 0.1% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 2nd 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.
CWE
CWE-121 Stack-based Buffer Overflow
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-88047 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-88047?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-88047?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-88047 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-88047
Debian14tesseract5.5.4-1DEBIAN-CVE-2026-88047
Ubuntu26.10tesseractno fix listedUBUNTU-CVE-2026-88047
UbuntuPro:14.04:LTStesseract3.03.02-3ubuntu0.1~esm1UBUNTU-CVE-2026-88047 USN-8882-1
UbuntuPro:16.04:LTStesseract3.04.01-4ubuntu0.1~esm1UBUNTU-CVE-2026-88047 USN-8882-1
UbuntuPro:18.04:LTStesseract4.00~git2288-10f4998a-2ubuntu0.1~esm1UBUNTU-CVE-2026-88047 USN-8882-1
UbuntuPro:20.04:LTStesseract4.1.1-2ubuntu0.1~esm1UBUNTU-CVE-2026-88047 USN-8882-1
UbuntuPro:22.04:LTStesseract4.1.1-2.1ubuntu0.1~esm1UBUNTU-CVE-2026-88047 USN-8882-1
UbuntuPro:24.04:LTStesseract5.3.4-1ubuntu0.1~esm1UBUNTU-CVE-2026-88047 USN-8882-1
UbuntuPro:26.04:LTStesseract5.5.0-1ubuntu0.1~esm1UBUNTU-CVE-2026-88047 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 because successful exploitation can result in stack memory corruption and potential control-flow hijacking within the application context. In Red Hat Enterprise Linux environments, Tesseract is an optional OCR library and command-line utility that typically loads verified system-provided language models. Impact is largely confined to deployments where untrusted or external legacy trained data files are explicitly accepted and processed.

Red Hat's mitigation

To mitigate this issue, avoid processing `.traineddata` files from untrusted or unknown sources. Additionally, consider running the Tesseract OCR engine in a sandboxed environment to limit the impact of potential 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-88047.

References

Check your stackJSON