cve.bz

CVE-2024-28757 Billion Laughs Attack

7.5 highExploit referenceEPSS 2.0%Fix available

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

On this page
libexpat through 2.6.1 allows an XML Entity Expansion attack when there is isolated use of external parsers (created via XML_ExternalEntityParserCreate).

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
2.0% (unchanged from 2.0% a week ago; 2.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 81st percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-03-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-776 Improper Restriction of Recursive Entity References in DTDs (Billion Laughs Attack)
OWASP Top 10
A02:2025 Security Misconfiguration
Published
Modified
Assigned by
mitre (CNA)
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-28757 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-28757?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-28757?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-28757 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.

Badge for a README or a site

CVE-2024-28757

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2024-28757](https://cve.bz/cve/badge/CVE-2024-28757.svg)](https://cve.bz/cve/CVE-2024-28757)

HTML:

<a href="https://cve.bz/cve/CVE-2024-28757"><img src="https://cve.bz/cve/badge/CVE-2024-28757.svg" alt="CVE-2024-28757"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libexpat_project:libexpatbefore 2.6.2
fedoraproject:fedora38
fedoraproject:fedora39
fedoraproject:fedora40
netapp:ontap9
netapp:ontap_tools10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12expat2.5.0-1+deb12u4DEBIAN-CVE-2024-28757
Debian12libxmltokno fix listedDEBIAN-CVE-2024-28757
Debian13, 14expat2.6.1-2DEBIAN-CVE-2024-28757
Ubuntu16.04:LTSgdcm, tdom, smart and 4 moreno fix listedUBUNTU-CVE-2024-28757
Ubuntu18.04:LTSgdcm, tdom, vnc4 and 5 moreno fix listedUBUNTU-CVE-2024-28757
Ubuntu20.04:LTStdom, wbxml2, cadaver and 2 moreno fix listedUBUNTU-CVE-2024-28757
Ubuntu22.04:LTSexpat2.4.7-1ubuntu0.3UBUNTU-CVE-2024-28757 USN-6694-1
Ubuntu22.04:LTStdom, wbxml2, cadaver and 3 moreno fix listedUBUNTU-CVE-2024-28757
Ubuntu24.04:LTStdom, wbxml2, cadaver and 2 moreno fix listedUBUNTU-CVE-2024-28757
Ubuntu25.10, 26.10tdom, wbxml2, cadaver and 3 moreno fix listedUBUNTU-CVE-2024-28757
Ubuntu26.04:LTStdom, wbxml2, cadaver and 2 moreno fix listedUBUNTU-CVE-2024-28757
UbuntuPro:14.04:LTSvtk, vnc4, coin3 and 2 moreno fix listedUBUNTU-CVE-2024-28757
UbuntuPro:16.04:LTSvtk, vnc4, ayttm and 6 moreno fix listedUBUNTU-CVE-2024-28757
UbuntuPro:18.04:LTScoin3, expat, swish-e and 2 moreno fix listedUBUNTU-CVE-2024-28757
UbuntuPro:20.04:LTSexpat, swish-e, xmlrpc-c and 1 moreno fix listedUBUNTU-CVE-2024-28757
2 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosexpat, expat-devel, expat-debuginfo and 1 more0:2.5.0-1.el8_10RHSA-2025:21776
Red Hatenterprise_linux:9::appstreamexpat-devel, expat-debuginfo, expat-debugsource0:2.5.0-1.el9_3.1RHSA-2024:1530
Red Hatenterprise_linux:9::appstreamexpat-devel, expat-debuginfo, expat-debugsource0:2.5.0-2.el9_4RHBA-2024:2518
Red Hatenterprise_linux:9::baseosexpat, expat-debuginfo, expat-debugsource0:2.5.0-1.el9_3.1RHSA-2024:1530
Red Hatenterprise_linux:9::baseosexpat, expat-debuginfo, expat-debugsource0:2.5.0-2.el9_4RHBA-2024:2518
Red Hatrhel_eus:9.2::appstreamexpat-devel, expat-debuginfo, expat-debugsource0:2.5.0-1.el9_2.1RHSA-2024:3926
Red Hatrhel_eus:9.2::baseosexpat, expat-debuginfo, expat-debugsource0:2.5.0-1.el9_2.1RHSA-2024:3926
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 7 moreexpat2.4.4-150400.3.17.1SUSE-SU-2024:1129-1
SUSELinux Enterprise Micro 5.5expat2.4.4-150400.3.17.1SUSE-SU-2024:1129-2
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 Micro 5.3, Leap Micro 5.4expat2.4.4-150400.3.17.1SUSE-SU-2024:1129-1
openSUSETumbleweedexpat2.6.2-1.1openSUSE-SU-2024:13779-1
AlmaLinux8expat, expat-devel2.5.0-1.el8_10ALSA-2025:21776
AlmaLinux9expat, expat-devel2.5.0-1.el9_3.1ALSA-2024:1530
Alpinev3.16, v3.17, v3.18 and 6 moreexpat2.6.2-r0ALPINE-CVE-2024-28757
Azure Linux2expat2.6.2-2AZL-35841
Azure Linux3expat2.6.2-1AZL-35880
Alpaquita23, streamexpat2.6.2-r0BELL-CVE-2024-28757
BellSoft Hardened Containers23, streamexpat2.6.2-r0BELL-CVE-2024-28757

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; 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 rated as a moderate severity because a flaw was found in the libexpat library in the xmlparse.c file, specifically in the handling of external parsers. The issue is an XML Entity Expansion flaw caused by the parser's failure to detect direct recursion when a parameter entity references itself in an external subset. An attacker can trigger this by submitting a specially crafted XML document, which creates an infinite processing loop, leading to uncontrolled resource consumption and causing a denial of service (DoS).

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8expat-0:2.5.0-1.el8_10Fixed 2025-11-19RHSA-2025:21776
Red Hat Enterprise Linux 9expat-0:2.5.0-2.el9_4Fixed 2024-04-30RHBA-2024:2518
Red Hat Enterprise Linux 9expat-0:2.5.0-1.el9_3.1Fixed 2024-03-26RHSA-2024:1530
Red Hat Enterprise Linux 9.2 Extended Update Supportexpat-0:2.5.0-1.el9_2.1Fixed 2024-06-13RHSA-2024:3926
Red Hat OpenShift Container Platform 4.13openshift/ose-rhel-coreos-9:413.92.202604080111-0Fixed 2026-04-16RHSA-2026:7239
Red Hat OpenShift Container Platform 4.14openshift/ose-rhel-coreos-9:414.92.202603110216-0Fixed 2026-03-26RHSA-2026:5087
Red Hat OpenShift Container Platform 4.15openshift/ose-rhel-coreos-9:415.92.202603101737-0Fixed 2026-03-19RHSA-2026:4419
Red Hat OpenShift Container Platform 4.16openshift/ose-rhel-coreos-9:416.94.202603112010-0Fixed 2026-03-19RHSA-2026:4465
Red Hat OpenShift Container Platform 4.17openshift/ose-rhel-coreos-9:417.94.202603102246-0Fixed 2026-03-19RHSA-2026:4480
Red Hat OpenShift Container Platform 4.18openshift/ose-rhel-coreos-9:418.94.202603021444-0Fixed 2026-03-11RHSA-2026:3876
Red Hat OpenShift Container Platform 4.19openshift/ose-rhel-coreos-9:4.19.9.6.202604080618-0Fixed 2026-04-16RHSA-2026:7243
Red Hat Enterprise Linux 6compat-expat1Not affected
Red Hat Enterprise Linux 6expatNot affected
Red Hat Enterprise Linux 7expatNot affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Not affected

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

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-24-228-06Siemens SINEC NMS2024-08-13MultipleSINEC NMSnone listed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC 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

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-197 Exponential Data Expansion Likelihood: High · Severity: Medium

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

References

Check your stackJSON