cve.bz

CVE-2023-52425 libexpat project libexpat: Uncontrolled Resource Consumption

7.5 highExploit referenceEPSS 2.1%

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

On this page
libexpat through 2.5.0 allows a denial of service (resource consumption) because many full reparsings are required in the case of a large token for which multiple buffer fills are needed.

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.1% (unchanged from 2.1% a week ago; 2.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 82nd 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: yes · Technical impact: partial, assessed 2024-08-26. 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-400 Uncontrolled Resource Consumption
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-2023-52425 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-52425?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-52425?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-2023-52425 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-2023-52425

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-2023-52425](https://cve.bz/cve/badge/CVE-2023-52425.svg)](https://cve.bz/cve/CVE-2023-52425)

HTML:

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

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libexpat_project:libexpatthrough 2.5.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10expat2.2.6-2+deb10u7DLA-3783-1
Debian11expat2.2.10-2+deb11u6DLA-3893-1
Debian12expat2.5.0-1+deb12u2DEBIAN-CVE-2023-52425
Debian12libxmltokno fix listedDEBIAN-CVE-2023-52425
Debian13, 14expat2.6.0-1DEBIAN-CVE-2023-52425
Ubuntu16.04:LTS, 20.04:LTStdom, wbxml2, cadaver and 2 moreno fix listedUBUNTU-CVE-2023-52425
Ubuntu18.04:LTStdom, vnc4, wbxml2 and 3 moreno fix listedUBUNTU-CVE-2023-52425
Ubuntu22.04:LTSexpat2.4.7-1ubuntu0.3UBUNTU-CVE-2023-52425 USN-6694-1
Ubuntu22.04:LTStdom, wbxml2, cadaver and 3 moreno fix listedUBUNTU-CVE-2023-52425
Ubuntu24.04:LTSexpat2.6.0-1UBUNTU-CVE-2023-52425
Ubuntu24.04:LTStdom, wbxml2, cadaver and 2 moreno fix listedUBUNTU-CVE-2023-52425
Ubuntu25.10, 26.10tdom, wbxml2, cadaver and 3 moreno fix listedUBUNTU-CVE-2023-52425
Ubuntu26.04:LTStdom, wbxml2, cadaver and 2 moreno fix listedUBUNTU-CVE-2023-52425
UbuntuPro:14.04:LTSvtk, vnc4, coin3 and 2 moreno fix listedUBUNTU-CVE-2023-52425
UbuntuPro:16.04:LTSvtk, vnc4, ayttm and 6 moreno fix listedUBUNTU-CVE-2023-52425
UbuntuPro:18.04:LTScoin3, expat, swish-e and 2 moreno fix listedUBUNTU-CVE-2023-52425
UbuntuPro:20.04:LTSexpat, swish-e, xmlrpc-c and 1 moreno fix listedUBUNTU-CVE-2023-52425
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.2.5-11.el8_9.1RHSA-2024:1615
Red Hatenterprise_linux:8::baseosxmlrpc-c, xmlrpc-c-client, xmlrpc-c-debuginfo and 5 more0:1.51.0-9.el8_10RHSA-2024:4259
Red Hatenterprise_linux:8::crbxmlrpc-c-c++, xmlrpc-c-devel, xmlrpc-c-client++ and 6 more0:1.51.0-9.el8_10RHSA-2024:4259
Red Hatenterprise_linux:9::appstreamexpat-devel, 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-1.el9_3.1RHSA-2024:1530
Red Hatrhel_aus:8.2::baseosexpat0:2.2.10-1.el8_2RHSA-2025:22871
Red Hatrhel_aus:8.4::baseos, rhel_eus_long_life:8.4::baseosexpat0:2.2.10-1.el8_4RHSA-2025:22785
Red Hatrhel_e4s:9.0::baseosexpat0:2.2.10-12.el9_0.4RHSA-2025:22035
Red Hatrhel_eus:8.6::baseosexpat, expat-devel, expat-debuginfo and 1 more0:2.2.5-8.el8_6.5RHSA-2024:2839
Red Hatrhel_eus:8.8::baseosexpat, expat-devel, expat-debuginfo and 1 more0:2.2.5-11.el8_8.2RHSA-2024:2575
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
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 15 morepython3-core3.6.15-150300.10.65.1SUSE-SU-2024:2479-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 13 morepython33.6.15-150300.10.65.2SUSE-SU-2024:2479-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Server 15 SP3-LTSS and 1 morepython393.9.19-150300.4.41.1SUSE-SU-2024:1009-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Server 15 SP3-LTSS and 1 morepython39-core3.9.19-150300.4.41.2SUSE-SU-2024:1009-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Micro 5.1, Linux Enterprise Server 15 SP2-LTSS and 1 morepython3, python3-core3.6.15-150000.3.147.1SUSE-SU-2024:1774-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 10 moreexpat2.8.5-150400.3.40.1SUSE-SU-2026:4623-1
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 High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Module for Python 3 15 SP5 and 2 morepython311, python311-core, python311-documentation3.11.9-150400.9.26.1SUSE-SU-2024:1556-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 morepython310, python310-core3.10.14-150400.4.45.1SUSE-SU-2024:1162-1
SUSELinux Enterprise Micro 5.5expat2.4.4-150400.3.17.1SUSE-SU-2024:1129-2
SUSELinux Enterprise Module for Package Hub 15 SP5, Linux Enterprise Module for Package Hub 15 SP6python, python-base2.7.18-150000.65.1SUSE-SU-2024:1862-1
SUSELinux Enterprise Module for Public Cloud 15 SP4python311, python311-core3.11.9-150400.9.26.1SUSE-SU-2024:1556-1
13 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.5python310, python310-core, python310-documentation3.10.14-150400.4.45.1SUSE-SU-2024:1162-1
openSUSELeap 15.5python311, python311-core, python311-documentation3.11.9-150400.9.26.1SUSE-SU-2024:1556-1
openSUSELeap 15.5python39, python39-documentation3.9.19-150300.4.41.1SUSE-SU-2024:1009-1
openSUSELeap 15.5python39-core3.9.19-150300.4.41.2SUSE-SU-2024:1009-1
openSUSELeap 15.5, Leap 15.6python, python-doc, python-base2.7.18-150000.65.1SUSE-SU-2024:1862-1
openSUSELeap 15.5, Leap 15.6python3-core, python3-documentation3.6.15-150300.10.65.1SUSE-SU-2024:2479-1
openSUSELeap 15.5, Leap 15.6python310, python310-core, python310-documentation3.10.14-150400.4.48.1SUSE-SU-2024:1698-1
openSUSELeap 15.5, Leap 15.6, Leap Micro 5.3 and 1 morepython33.6.15-150300.10.65.2SUSE-SU-2024:2479-1
openSUSELeap 15.5, Leap Micro 5.3, Leap Micro 5.4expat2.4.4-150400.3.17.1SUSE-SU-2024:1129-1
openSUSELeap Micro 5.3, Leap Micro 5.4python3-core3.6.15-150300.10.65.1SUSE-SU-2024:2479-1
openSUSETumbleweedclustershell1.9.3-1.1openSUSE-SU-2025:15212-1
openSUSETumbleweedexpat2.6.0-1.1openSUSE-SU-2024:13695-1
10 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8expat, expat-devel2.2.5-11.el8_9.1ALSA-2024:1615
AlmaLinux8xmlrpc-c, xmlrpc-c-c++, xmlrpc-c-devel and 2 more1.51.0-9.el8_10ALSA-2024:4259
AlmaLinux9expat, expat-devel2.5.0-1.el9_3.1ALSA-2024:1530
Rocky Linux8expat0:2.2.5-11.el8_9.1RLSA-2024:1615
Rocky Linux8xmlrpc-c0:1.51.0-9.el8_10RLSA-2024:4259
Alpinev3.16, v3.17, v3.18 and 6 moreexpat2.6.0-r0ALPINE-CVE-2023-52425
Azure Linux2expat2.6.2-2AZL-34207
Azure Linux3expat2.6.2-1AZL-34683
Alpaquita23, streamexpat2.6.0-r0BELL-CVE-2023-52425
BellSoft Hardened Containers23, streamexpat2.6.0-r0BELL-CVE-2023-52425

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 identified flaw in Expat presents a moderate severity issue due to its potential to facilitate resource exhaustion attacks, particularly in scenarios involving parsing large tokens requiring multiple buffer fills. As Expat repeatedly re-parses such tokens from the beginning, it results in disproportionate resource consumption, leading to a denial-of-service (DoS) condition. While the impact is significant, the exploitation requires specific conditions, such as parsing large tokens, which may not always align with typical usage patterns.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't 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-11.el8_9.1Fixed 2024-04-02RHSA-2024:1615
Red Hat Enterprise Linux 8xmlrpc-c-0:1.51.0-9.el8_10Fixed 2024-07-02RHSA-2024:4259
Red Hat Enterprise Linux 8.2 Advanced Update Supportexpat-0:2.2.10-1.el8_2Fixed 2025-12-09RHSA-2025:22871
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportexpat-0:2.2.10-1.el8_4Fixed 2025-12-04RHSA-2025:22785
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onexpat-0:2.2.10-1.el8_4Fixed 2025-12-04RHSA-2025:22785
Red Hat Enterprise Linux 8.6 Extended Update Supportexpat-0:2.2.5-8.el8_6.5Fixed 2024-05-14RHSA-2024:2839
Red Hat Enterprise Linux 8.8 Extended Update Supportexpat-0:2.2.5-11.el8_8.2Fixed 2024-04-30RHSA-2024:2575
Red Hat Enterprise Linux 9expat-0:2.5.0-1.el9_3.1Fixed 2024-03-26RHSA-2024:1530
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsexpat-0:2.2.10-12.el9_0.4Fixed 2025-11-25RHSA-2025:22035
Red Hat Enterprise Linux 9.2 Extended Update Supportexpat-0:2.5.0-1.el9_2.1Fixed 2024-06-13RHSA-2024:3926
Red Hat Enterprise Linux 6expatOut of support scope
Red Hat Enterprise Linux 7expatOut of support scope
Red Hat Enterprise Linux 7firefoxWill not fix
Red Hat Enterprise Linux 7thunderbirdOut of support scope
Red Hat Enterprise Linux 8firefoxWill not fix
Red Hat Enterprise Linux 8firefox:flatpak/firefoxWill not fix
Red Hat Enterprise Linux 8thunderbirdAffected
Red Hat Enterprise Linux 8thunderbird:flatpak/thunderbirdWill not fix
Red Hat Enterprise Linux 9firefoxWill not fix
Red Hat Enterprise Linux 9firefox:flatpak/firefoxAffected
3 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-2023-52425.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
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-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

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

References

Check your stackJSON