cve.bz

CVE-2026-118370 libexpat project libexpat: Year 2038 problem, Y2K38, Y2038, Epochalypse

8.2 highEPSS 0.4%Fix available

High (8.2) in libexpat project libexpat. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
libexpat through 2.9.0 contains a signed integer overflow vulnerability in storeAtts() in lib/xmlparse.c that allows attackers to trigger out-of-bounds writes via oversized attribute counts. Attackers can supply a multi-gigabyte document with a start tag carrying over 2^30 attributes to overflow attIndex and nPrefixes, crashing applications or corrupting heap memory.

Severity

CVSS 4.0

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

CVSS 3.1

8.2 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
EPSS
0.4% (unchanged from 0.4% a week ago) estimated probability of exploitation activity in the next 30 days; 34th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
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-118370 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-118370?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-118370?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-118370 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 CNA's record in the CVE List.

ProductAffected
libexpatthrough 2.9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13expatno fix listedDEBIAN-CVE-2026-118370
Debian14expat2.10.0-1DEBIAN-CVE-2026-118370
Ubuntu16.04:LTSgdcm, tdom, smart and 4 moreno fix listedUBUNTU-CVE-2026-118370
Ubuntu18.04:LTSgdcm, tdom, vnc4 and 5 moreno fix listedUBUNTU-CVE-2026-118370
Ubuntu20.04:LTStdom, wbxml2, cadaver and 2 moreno fix listedUBUNTU-CVE-2026-118370
Ubuntu22.04:LTStdom, expat, wbxml2 and 3 moreno fix listedUBUNTU-CVE-2026-118370
Ubuntu24.04:LTStdom, expat, wbxml2 and 2 moreno fix listedUBUNTU-CVE-2026-118370
Ubuntu26.04:LTStdom, expat, wbxml2 and 3 moreno fix listedUBUNTU-CVE-2026-118370
Ubuntu26.10tdom, expat, wbxml2 and 4 moreno fix listedUBUNTU-CVE-2026-118370
UbuntuPro:14.04:LTSvtk, vnc4, coin3 and 2 moreno fix listedUBUNTU-CVE-2026-118370
UbuntuPro:16.04:LTSvtk, vnc4, ayttm and 6 moreno fix listedUBUNTU-CVE-2026-118370
UbuntuPro:18.04:LTScoin3, expat, swish-e and 2 moreno fix listedUBUNTU-CVE-2026-118370
UbuntuPro:20.04:LTSexpat, swish-e, xmlrpc-c and 1 moreno fix listedUBUNTU-CVE-2026-118370
UbuntuPro:22.04:LTS, Pro:24.04:LTSswish-e, xmlrpc-c, libxmltokno fix listedUBUNTU-CVE-2026-118370
1 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hathummingbird:1expat, expat-devel, expat-static0:2.9.0-1.2.hum1RHSA-2026:93593
openSUSETumbleweedexpat2.10.0-1.1openSUSE-SU-2026:12396-1
Alpinev3.21, v3.22, v3.23 and 1 moreexpat2.10.0-r0ALPINE-CVE-2026-118370
Azure Linux3cmakeno fix listedAZL-111851
Azure Linux3expatno fix listedAZL-111148
Alpaquita23, 25, streamexpat2.10.0-r0BELL-CVE-2026-118370
BellSoft Hardened Containers23, 25, streamexpat2.10.0-r0BELL-CVE-2026-118370

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; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated Moderate. A signed integer overflow in storeAtts() can lead to process crash; reliable confidentiality/integrity compromise is not demonstrated on Red Hat platforms. Red Hat scores CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H (5.9): Attack Complexity is High because triggering the overflow requires an extreme, multi-gigabyte XML payload with on the order of 2^30 attributes—typically blocked by practical network/memory limits before parse completes. NVD’s higher score (AC:L and I:L) is acknowledged; RH retains AC:H and I:N given payload prerequisites and platform allocator hardening (CME-117), while keeping A:H for crash/DoS.

Red Hat's mitigation

Reject oversized or attribute-dense untrusted XML before parsing; multi-gigabyte documents with huge attribute counts are required to hit the overflow. Apply process/cgroup memory limits to XML-handling workloads. Isolate XML-facing services and restrict to trusted sources.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10expatAffected
Red Hat Enterprise Linux 10firefoxAffected
Red Hat Enterprise Linux 10thunderbirdAffected
Red Hat Enterprise Linux 6compat-expat1Out of support scope
Red Hat Enterprise Linux 6expatOut of support scope
Red Hat Enterprise Linux 7expatAffected
Red Hat Enterprise Linux 7firefoxAffected
Red Hat Enterprise Linux 8expatAffected
Red Hat Enterprise Linux 8firefoxAffected
Red Hat Enterprise Linux 8mingw-expatAffected
Red Hat Enterprise Linux 8thunderbirdAffected
Red Hat Enterprise Linux 8xmlrpc-cAffected
Red Hat Enterprise Linux 9expatAffected
Red Hat Enterprise Linux 9firefoxAffected
Red Hat Enterprise Linux 9thunderbirdAffected
Red Hat Hardened ImagesexpatAffected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Affected

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

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

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

References

Check your stackJSON