cve.bz

CVE-2024-45490 libexpat project libexpat: Year 2038 problem, Y2K38, Y2038, Epochalypse

7.5 highEPSS 1.7%Fix available

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

On this page
An issue was discovered in libexpat before 2.6.3. xmlparse.c does not reject a negative length for XML_ParseBuffer.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.7% (unchanged from 1.7% a week ago; 1.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 78th 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: yes · Technical impact: total, assessed 2024-08-30. 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-611 Improper Restriction of XML External Entity Reference
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
OWASP Top 10
A02:2025 Security Misconfiguration
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-45490 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-45490?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-45490?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-2024-45490 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
libexpat_project:libexpatbefore 2.6.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11expat2.2.10-2+deb11u6DLA-3893-1
Debian12expat2.5.0-1+deb12u1DEBIAN-CVE-2024-45490 DSA-5770-1
Debian12libxmltokno fix listedDEBIAN-CVE-2024-45490
Debian13, 14expat2.6.2-2DEBIAN-CVE-2024-45490
Ubuntu16.04:LTSgdcm, tdom, smart and 4 moreno fix listedUBUNTU-CVE-2024-45490
Ubuntu18.04:LTSgdcm, tdom, vnc4 and 5 moreno fix listedUBUNTU-CVE-2024-45490
Ubuntu20.04:LTSexpat2.2.9-1ubuntu0.7UBUNTU-CVE-2024-45490 USN-7000-1
Ubuntu20.04:LTS, 22.04:LTStdom, wbxml2, cadaver and 2 moreno fix listedUBUNTU-CVE-2024-45490
Ubuntu22.04:LTSexpat2.4.7-1ubuntu0.4UBUNTU-CVE-2024-45490 USN-7000-2
Ubuntu24.04:LTSexpat2.6.1-2ubuntu0.1UBUNTU-CVE-2024-45490 USN-7000-1
Ubuntu24.04:LTStdom, wbxml2, cadaver and 1 moreno fix listedUBUNTU-CVE-2024-45490
Ubuntu25.10, 26.10tdom, wbxml2, cadaver and 3 moreno fix listedUBUNTU-CVE-2024-45490
Ubuntu26.04:LTStdom, wbxml2, cadaver and 2 moreno fix listedUBUNTU-CVE-2024-45490
UbuntuPro:14.04:LTSexpat2.1.0-4ubuntu1.4+esm9UBUNTU-CVE-2024-45490 USN-7000-1
UbuntuPro:14.04:LTSvtk, vnc4, coin3 and 1 moreno fix listedUBUNTU-CVE-2024-45490
UbuntuPro:16.04:LTSexpat2.1.0-7ubuntu0.16.04.5+esm9UBUNTU-CVE-2024-45490 USN-7000-1
10 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosexpat, expat-devel, expat-debuginfo and 1 more0:2.2.5-15.el8_10RHSA-2024:6989
Red Hatenterprise_linux:9::appstreamexpat-devel, expat-debuginfo, expat-debugsource0:2.5.0-2.el9_4.1RHSA-2024:6754
Red Hatenterprise_linux:9::baseosexpat, expat-debuginfo, expat-debugsource0:2.5.0-2.el9_4.1RHSA-2024:6754
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2expat2.2.5-150000.3.30.1SUSE-SU-2024:3515-1
SUSELinux Enterprise Micro 5.2, Linux Enterprise Micro 5.3, Linux Enterprise Micro 5.4 and 2 moremozjs6060.9.0-150200.6.8.1SUSE-SU-2026:0044-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4, Linux Enterprise Micro 5.5 and 2 moreexpat2.4.4-150400.3.22.1SUSE-SU-2024:3216-1
SUSELinux Enterprise Module for Desktop Applications 15 SP5, Linux Enterprise Module for Package Hub 15 SP5, Linux Enterprise Module for Package Hub 15 SP6mozjs7878.15.0-150400.3.6.2SUSE-SU-2024:3554-1
SUSELinux Enterprise Module for Desktop Applications 15 SP6mozjs115115.4.0-150600.3.3.1SUSE-SU-2024:3538-1
SUSELinux Enterprise Module for Package Hub 15 SP7mozjs5252.6.0-150000.3.9.1SUSE-SU-2025:4512-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5expat2.1.0-21.37.1SUSE-SU-2024:3182-1
SUSELinux Micro 6.0expat2.5.0-3.1SUSE-SU-2025:20045-1
SUSELinux Micro 6.0expat2.7.1-1.1SUSE-SU-2025:20207-1
SUSELinux Micro 6.1expat2.7.1-slfo.1.1_1.1SUSE-SU-2025:20311-1
openSUSELeap 15.5, Leap 15.6mozjs7878.15.0-150400.3.6.2SUSE-SU-2024:3554-1
openSUSELeap 15.5, Leap 15.6, Leap Micro 5.5expat2.4.4-150400.3.22.1SUSE-SU-2024:3216-1
openSUSELeap 15.6mozjs115115.4.0-150600.3.3.1SUSE-SU-2024:3538-1
openSUSELeap 15.6mozjs5252.6.0-150000.3.9.1SUSE-SU-2025:4512-1
openSUSELeap 15.6mozjs6060.9.0-150200.6.8.1SUSE-SU-2026:0044-1
openSUSETumbleweedexpat2.6.3-1.1openSUSE-SU-2024:14322-1
openSUSETumbleweedmozjs115115.4.0-5.1openSUSE-SU-2024:14379-1
openSUSETumbleweedmozjs128128.2.0-2.1openSUSE-SU-2024:14380-1
openSUSETumbleweedmozjs7878.15.0-5.1openSUSE-SU-2024:14381-1
openSUSETumbleweedx32704.3-4.1openSUSE-SU-2024:14328-1
AlmaLinux8expat, expat-devel2.2.5-15.el8_10ALSA-2024:6989
AlmaLinux9expat, expat-devel2.5.0-2.el9_4.1ALSA-2024:6754
Rocky Linux8expat0:2.2.5-15.el8_10RLSA-2024:6989
Rocky Linux9expat0:2.5.0-2.el9_4.1RLSA-2024:6754
Alpinev3.17, v3.18, v3.19 and 5 moreexpat2.6.3-r0ALPINE-CVE-2024-45490
Alpinev3.20qt5-qtwebengine5.15.16-r12ALPINE-CVE-2024-45490
Alpinev3.21, v3.22, v3.23qt5-qtwebengine5.15.17-r3ALPINE-CVE-2024-45490
Alpinev3.21, v3.22, v3.23 and 1 moreqt6-qtwebengine6.7.2-r6ALPINE-CVE-2024-45490
Azure Linux2expat2.6.3-1AZL-48372
Azure Linux3expat2.6.3-1AZL-48369
Alpaquita23, streamexpat2.6.3-r0BELL-CVE-2024-45490
BellSoft Hardened Containers23, streamexpat2.6.3-r0BELL-CVE-2024-45490

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; 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 · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The CVE-2024-45490 vulnerability is rated as moderate severity because while it allows for memory corruption through improper argument handling in XML_ParseBuffer, the exploitability is limited. Specifically, it requires an unlikely scenario where the input passed to the function has a negative length (len < 0), which would typically not occur in well-formed applications. Moreover, while the impact includes denial of service (DoS), the conditions necessary for arbitrary code execution are non-trivial, requiring specific exploitation of memory corruption. Since it primarily leads to application crashes without an easily accessible attack vector for remote code execution, the risk is lower compared to higher-severity vulnerabilities that offer more direct pathways to exploitation.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8expat-0:2.2.5-15.el8_10Fixed 2024-09-24RHSA-2024:6989
Red Hat Enterprise Linux 9expat-0:2.5.0-2.el9_4.1Fixed 2024-09-18RHSA-2024:6754
Red Hat JBoss Core Services 2.4.62expatFixed 2025-04-02RHSA-2025:3453
Red Hat OpenShift Container Platform 4.16openshift/ose-rhel-coreos-9:416.94.202410020522-0Fixed 2024-10-09RHSA-2024:7599
Red Hat OpenShift Container Platform 4.17openshift/ose-rhel-coreos-9:417.94.202411070820-0Fixed 2024-11-19RHSA-2024:9610
RHOAI-2.13-RHEL-8rhoai/odh-codeflare-operator-rhel8:v2.13.1-1Fixed 2024-10-24RHBA-2024:8413
RHOAI-2.13-RHEL-8rhoai/odh-dashboard-rhel8:v2.13.1-1Fixed 2024-10-24RHBA-2024:8413
RHOAI-2.13-RHEL-8rhoai/odh-data-science-pipelines-argo-argoexec-rhel8:v2.13.1-1Fixed 2024-10-24RHBA-2024:8413
RHOAI-2.13-RHEL-8rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel8:v2.13.1-1Fixed 2024-10-24RHBA-2024:8413
RHOAI-2.13-RHEL-8rhoai/odh-data-science-pipelines-operator-controller-rhel8:v2.13.1-1Fixed 2024-10-24RHBA-2024:8413
Red Hat Enterprise Linux 10expatAffected
Red Hat Enterprise Linux 6compat-expat1Out of support scope
Red Hat Enterprise Linux 6expatOut of support scope
Red Hat Enterprise Linux 7expatOut of support scope
Red Hat Enterprise Linux 7firefoxOut of support scope
Red Hat Enterprise Linux 7thunderbirdOut of support scope
Red Hat Enterprise Linux 8firefoxWill not fix
Red Hat Enterprise Linux 8mingw-expatWill not fix
Red Hat Enterprise Linux 8thunderbirdWill not fix
Red Hat Enterprise Linux 8xmlrpc-cNot affected
79 more in the JSON and on Red Hat's page.

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-2024-45490.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-25-259-02Hitachi Energy RTU500 Series2025-09-09EnergyRTU500 series CMU Firmware version 13.7.1 – 13.7.6none listed
ICSA-25-226-15Siemens SINEC OS2025-08-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesRUGGEDCOM RST2428P (6GK6242-6PA00), SCALANCE XCM-/XRM-/XCH-/XRH-300 familynone listed
ICSA-25-162-05Siemens SIMATIC S7-1500 CPU family2025-06-10EnergySIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed
ICSA-24-317-01Subnet Solutions PowerSYSTEM Center2024-11-12Critical Manufacturing, EnergySubnet Solutions PowerSYSTEM Center PSC 2020: <=v5.22.xnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

  • jstjep00/CVE-2024-45490-libexpat-poc Harbor Check: matches CVE 0 stars, Python, created
    PoC + Docker test harness for CVE-2024-45490 (libexpat XML_ParseBuffer negative length integer handling issue)

Attack patterns (CAPEC)

  • CAPEC-221 Data Serialization External Entities Blowup
  • 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