cve.bz

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

9.8 criticalEPSS 1.1%Fix available

Critical (9.8) in libexpat project libexpat. EPSS 1.1% estimated probability of exploitation activity in the next 30 days.

On this page
An issue was discovered in libexpat before 2.6.3. dtdCopy in xmlparse.c can have an integer overflow for nDefaultAtts on 32-bit platforms (where UINT_MAX equals SIZE_MAX).

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 67th 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: partial, 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.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
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-45491 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-45491?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-45491?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-45491 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-45491 DSA-5770-1
Debian12libxmltokno fix listedDEBIAN-CVE-2024-45491
Debian13, 14expat2.6.2-2DEBIAN-CVE-2024-45491
Ubuntu16.04:LTSgdcm, tdom, smart and 4 moreno fix listedUBUNTU-CVE-2024-45491
Ubuntu18.04:LTSgdcm, tdom, vnc4 and 5 moreno fix listedUBUNTU-CVE-2024-45491
Ubuntu20.04:LTSexpat2.2.9-1ubuntu0.7UBUNTU-CVE-2024-45491 USN-7000-1
Ubuntu20.04:LTS, 22.04:LTStdom, wbxml2, cadaver and 2 moreno fix listedUBUNTU-CVE-2024-45491
Ubuntu22.04:LTSexpat2.4.7-1ubuntu0.4UBUNTU-CVE-2024-45491 USN-7000-2
Ubuntu24.04:LTSexpat2.6.1-2ubuntu0.1UBUNTU-CVE-2024-45491 USN-7000-1
Ubuntu24.04:LTStdom, wbxml2, cadaver and 1 moreno fix listedUBUNTU-CVE-2024-45491
Ubuntu25.10, 26.10tdom, wbxml2, cadaver and 3 moreno fix listedUBUNTU-CVE-2024-45491
Ubuntu26.04:LTStdom, wbxml2, cadaver and 2 moreno fix listedUBUNTU-CVE-2024-45491
UbuntuPro:14.04:LTSexpat2.1.0-4ubuntu1.4+esm9UBUNTU-CVE-2024-45491 USN-7000-1
UbuntuPro:14.04:LTSvtk, vnc4, coin3 and 1 moreno fix listedUBUNTU-CVE-2024-45491
UbuntuPro:16.04:LTSexpat2.1.0-7ubuntu0.16.04.5+esm9UBUNTU-CVE-2024-45491 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:8::baseosxmlrpc-c, xmlrpc-c-client, xmlrpc-c-debuginfo and 5 more0:1.51.0-10.el8_10RHSA-2024:8859
Red Hatenterprise_linux:8::crbxmlrpc-c-c++, xmlrpc-c-devel, xmlrpc-c-client++ and 6 more0:1.51.0-10.el8_10RHSA-2024:8859
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
AlmaLinux8xmlrpc-c, xmlrpc-c-c++, xmlrpc-c-devel and 2 more1.51.0-10.el8_10ALSA-2024:8859
AlmaLinux9expat, expat-devel2.5.0-2.el9_4.1ALSA-2024:6754
Rocky Linux8expat0:2.2.5-15.el8_10RLSA-2024:6989
Rocky Linux8xmlrpc-c0:1.51.0-10.el8_10RLSA-2024:8859
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-45491
Alpinev3.20qt5-qtwebengine5.15.16-r12ALPINE-CVE-2024-45491
Alpinev3.21, v3.22, v3.23qt5-qtwebengine5.15.17-r3ALPINE-CVE-2024-45491
Alpinev3.21, v3.22, v3.23 and 1 moreqt6-qtwebengine6.7.2-r6ALPINE-CVE-2024-45491
Azure Linux2expat2.6.3-1AZL-48454
Azure Linux3expat2.6.3-1AZL-48430
Alpaquita23, streamexpat2.6.3-r0BELL-CVE-2024-45491
BellSoft Hardened Containers23, streamexpat2.6.3-r0BELL-CVE-2024-45491

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

This vulnerability is classified as Moderate severity rather than Important due to its reliance on specific conditions for exploitation. The integer overflow in dtdCopy affecting nDefaultAtts is limited to 32-bit platforms, reducing the attack surface as many modern systems operate on 64-bit architectures. Additionally, while the impact can lead to denial of service and potentially arbitrary code execution, the latter requires precise manipulation of the overflow condition, which may be non-trivial for attackers to achieve reliably. The constrained platform scope and the complexity of exploitation lower the overall severity, though it still poses a risk in environments where 32-bit systems are prevalent.

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 8xmlrpc-c-0:1.51.0-10.el8_10Fixed 2024-11-05RHSA-2024:8859
Red Hat Enterprise Linux 9expat-0:2.5.0-2.el9_4.1Fixed 2024-09-18RHSA-2024:6754
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 10expatNot affected
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 9firefoxWill not fix
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-45491.

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.

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