cve.bz

CVE-2026-88048 tesseract-ocr tesseract ocr: Out-of-bounds Read

8.6 highEPSS 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, FullyConnected::DeSerialize in src/lstm/fullyconnected.cpp does not validate the deserialized layer scalars ni_ and no_ against the weight-matrix dimensions. During FullyConnected::Forward, MatrixDotVector in src/lstm/weightmatrix.cpp writes w.dim1() results into temp_line, which is sized from no_, and reads w.dim2() minus one inputs from curr_input, which is sized from ni_. A crafted .traineddata NT_SOFTMAX layer can therefore use inconsistent dimensions to cause a heap out-of-bounds write and read on the default LSTM engine, resulting in heap corruption, a crash, information disclosure, 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.1 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/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.
CWEs
CWE-125 Out-of-bounds Read
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-88048 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-88048?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-88048?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-88048 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-88048
Debian14tesseract5.5.4-1DEBIAN-CVE-2026-88048
Ubuntu26.10tesseractno fix listedUBUNTU-CVE-2026-88048
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-88048 USN-8882-1
UbuntuPro:20.04:LTStesseract4.1.1-2ubuntu0.1~esm1UBUNTU-CVE-2026-88048 USN-8882-1
UbuntuPro:22.04:LTStesseract4.1.1-2.1ubuntu0.1~esm1UBUNTU-CVE-2026-88048 USN-8882-1
UbuntuPro:24.04:LTStesseract5.3.4-1ubuntu0.1~esm1UBUNTU-CVE-2026-88048 USN-8882-1
UbuntuPro:26.04:LTStesseract5.5.0-1ubuntu0.1~esm1UBUNTU-CVE-2026-88048 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 with an Important severity impact because heap memory corruption from out-of-bounds writes could allow arbitrary code execution or denial of service in applications utilizing the OCR engine. In standard Red Hat Enterprise Linux installations, Tesseract operates using verified system language packs rather than user-supplied models. Risk is primarily limited to custom integrations or automated pipelines that load untrusted language data files.

Red Hat's mitigation

To mitigate this issue, ensure that applications utilizing Tesseract only process `.traineddata` files from trusted and verified sources. Avoid processing `.traineddata` files obtained from untrusted or external origins.

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

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

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

References

Check your stackJSON