cve.bz

CVE-2025-59375 libexpat project libexpat

7.5 highExploit referenceEPSS 1.5%

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

On this page
libexpat in Expat before 2.7.2 allows attackers to trigger large dynamic memory allocations via a small document that is submitted for parsing.

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.5% (unchanged from 1.4% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 74th 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 2025-09-15. 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-770 Allocation of Resources Without Limits or Throttling
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-2025-59375 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-59375?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-59375?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-2025-59375 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-2025-59375

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

HTML:

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

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
libexpat project libexpatbefore 2.7.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11firefox-esr140.9.0esr-1~deb11u1DLA-4510-1
Debian11thunderbird1:140.9.0esr-1~deb11u1DLA-4511-1
Debian12expat2.5.0-1+deb12u5DEBIAN-CVE-2025-59375
Debian12firefox-esr140.9.0esr-1~deb12u1DEBIAN-CVE-2025-59375 DSA-6178-1
Debian12thunderbird1:140.9.0esr-1~deb12u1DEBIAN-CVE-2025-59375 DSA-6179-1
Debian13expat2.8.2-1~deb13u1DEBIAN-CVE-2025-59375
Debian13firefox-esr140.9.0esr-1~deb13u1DEBIAN-CVE-2025-59375 DSA-6178-1
Debian13thunderbird1:140.9.0esr-1~deb13u1DEBIAN-CVE-2025-59375 DSA-6179-1
Debian14expat2.7.2-1DEBIAN-CVE-2025-59375
Debian14firefox-esr140.9.0esr-1DEBIAN-CVE-2025-59375
Debian14thunderbird1:140.9.0esr-1DEBIAN-CVE-2025-59375
Ubuntu16.04:LTSgdcm, tdom, smart and 4 moreno fix listedUBUNTU-CVE-2025-59375
Ubuntu18.04:LTSgdcm, tdom, vnc4 and 5 moreno fix listedUBUNTU-CVE-2025-59375
Ubuntu20.04:LTStdom, wbxml2, cadaver and 2 moreno fix listedUBUNTU-CVE-2025-59375
Ubuntu22.04:LTStdom, expat, cadaver and 2 moreno fix listedUBUNTU-CVE-2025-59375 USN-8790-1
Ubuntu24.04:LTSexpat2.6.1-2ubuntu0.5UBUNTU-CVE-2025-59375 USN-8790-1
Ubuntu24.04:LTStdom, matanzano fix listedUBUNTU-CVE-2025-59375
Ubuntu25.10expat2.7.1-2ubuntu0.2UBUNTU-CVE-2025-59375
Ubuntu25.10, 26.10tdom, wbxml2, cadaver and 3 moreno fix listedUBUNTU-CVE-2025-59375
Ubuntu26.04:LTSexpat2.7.4-1ubuntu0.1USN-8790-1
Ubuntu26.04:LTStdom, wbxml2, matanza and 1 moreno fix listedUBUNTU-CVE-2025-59375
UbuntuPro:14.04:LTSvtk, vnc4, coin3 and 2 moreno fix listedUBUNTU-CVE-2025-59375 USN-8790-1
UbuntuPro:16.04:LTSvtk, vnc4, ayttm and 6 moreno fix listedUBUNTU-CVE-2025-59375 USN-8790-1
4 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::appstreampython3.12, python3.12-libs, python3.12-devel and 4 more0:3.12.13-2.el8_10RHSA-2026:10950
Red Hatenterprise_linux:8::baseosexpat, expat-devel, expat-debuginfo and 1 more0:2.5.0-1.el8_10RHSA-2025:21776
Red Hatenterprise_linux:8::crbmingw-expat, mingw32-expat, mingw64-expat and 2 more0:2.5.0-1.el8_10RHSA-2025:21974
Red Hatenterprise_linux:8::crbmingw-fontconfig, mingw32-fontconfig, mingw64-fontconfig and 2 more0:2.12.6-4.el8_10RHSA-2026:3407
Red Hatenterprise_linux:8::crbpython3.12, python3.12-idle, python3.12-test and 4 more0:3.12.13-2.el8_10RHSA-2026:10950
Red Hatenterprise_linux:9::appstreamexpat-devel, expat-debuginfo, expat-debugsource0:2.5.0-5.el9_7.1RHSA-2025:22175
Red Hatenterprise_linux:9::appstreampython3.12, python3.12-libs, python3.12-devel and 3 more0:3.12.13-2.el9_8RHSA-2026:19177
Red Hatenterprise_linux:9::baseosexpat, expat-debuginfo, expat-debugsource0:2.5.0-5.el9_7.1RHSA-2025:22175
Red Hatenterprise_linux:9::crbpython3.12, python3.12-idle, python3.12-test and 4 more0:3.12.13-2.el9_8RHSA-2026:19177
Red Hatenterprise_linux:10.0expat, expat-devel, expat-debuginfo and 1 more0:2.7.1-1.el10_0.3RHSA-2025:19403
Red Hatenterprise_linux:10.1expat, expat-devel, expat-debuginfo and 1 more0:2.7.1-1.el10_1.3RHSA-2025:21030
Red Hatenterprise_linux:10.2python3, python3.12, python3-idle and 8 more0:3.12.13-2.el10_2RHSA-2026:19064
14 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.1 and 3 moreexpat2.7.1-150000.3.39.1SUSE-SU-2025:03537-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 11 moreexpat2.7.1-150400.3.31.1SUSE-SU-2025:03624-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 High Performance Computing 15 SP5-ESPOS and 8 moreMozillaFirefox140.9.0-150200.152.225.1SUSE-SU-2026:1126-1
SUSELinux Enterprise Module for Basesystem 15 SP7expat2.7.1-150700.3.6.1SUSE-SU-2025:03508-1
SUSELinux Enterprise Module for Basesystem 15 SP7expat2.8.5-150700.3.15.1SUSE-SU-2026:4619-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5MozillaFirefox140.9.0-112.304.2SUSE-SU-2026:1127-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5expat2.7.1-21.46.1SUSE-SU-2025:03536-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5expat2.8.5-21.55.1SUSE-SU-2026:4615-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0MozillaFirefox140.9.0-160000.1.1SUSE-SU-2026:20978-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0expat2.7.1-160000.3.1SUSE-SU-2025:21006-1
SUSELinux Micro 6.0expat2.7.1-3.1SUSE-SU-2025:20868-1
4 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6MozillaFirefox140.9.0-150200.152.225.1SUSE-SU-2026:1126-1
openSUSELeap 15.6MozillaThunderbird140.9.0-150200.8.263.1SUSE-SU-2026:1163-1
openSUSELeap 15.6expat2.7.1-150400.3.31.1SUSE-SU-2025:03624-1
openSUSELeap 16.0MozillaFirefox140.9.0-160000.1.1openSUSE-SU-2026:20439-1
openSUSELeap 16.0expat2.7.1-160000.3.1openSUSE-SU-2025:20055-1
openSUSETumbleweedMozillaFirefox149.0-1.1openSUSE-SU-2026:10458-1
openSUSETumbleweedMozillaThunderbird140.9.0-1.1openSUSE-SU-2026:10447-1
openSUSETumbleweedexpat2.7.2-1.1openSUSE-SU-2025:15573-1
openSUSETumbleweedfirefox-esr140.9.0-1.1openSUSE-SU-2026:10413-1
AlmaLinux8expat, expat-devel2.5.0-1.el8_10ALSA-2025:21776
AlmaLinux8mingw32-expat, mingw64-expat2.5.0-1.el8_10ALSA-2025:21974
AlmaLinux8mingw32-fontconfig, mingw64-fontconfig2.12.6-4.el8_10ALSA-2026:3407
AlmaLinux8python3.12, python3.12-idle, python3.12-libs and 5 more3.12.13-2.el8_10ALSA-2026:10950
AlmaLinux9expat, expat-devel2.5.0-5.el9_7.1ALSA-2025:22175
AlmaLinux9python3.12, python3.12-idle, python3.12-libs and 4 more3.12.13-2.el9_8ALSA-2026:19177
AlmaLinux10expat, expat-devel2.7.1-1.el10_0.3ALSA-2025:19403
AlmaLinux10expat, expat-devel2.7.1-1.el10_1.3ALSA-2025:21030
AlmaLinux10python3, python3-idle, python3-libs and 5 more3.12.13-2.el10_2ALSA-2026:19064
Rocky Linux8expat0:2.5.0-1.el8_10RLSA-2025:21776
Rocky Linux8mingw-expat0:2.5.0-1.el8_10RLSA-2025:21974
Rocky Linux8mingw-fontconfig0:2.12.6-4.el8_10RLSA-2026:3407
Rocky Linux8python3.120:3.12.13-2.el8_10RLSA-2026:10950
Rocky Linux9expat0:2.5.0-5.el9_7.1RLSA-2025:22175
Rocky Linux9python3.120:3.12.13-2.el9_8RLSA-2026:19177
Rocky Linux10expat0:2.7.1-1.el10_0.3RLSA-2025:19403
Rocky Linux10python3.120:3.12.13-2.el10_2RLSA-2026:19064
Alpinev3.19, v3.20, v3.21 and 3 moreexpat2.7.2-r0ALPINE-CVE-2025-59375
Azure Linux2expat2.6.4-2AZL-67359
Azure Linux3expat2.6.4-2AZL-67328
Alpaquita23, 25, streamexpat2.7.2-r0BELL-CVE-2025-59375
BellSoft Hardened Containers23, 25, streamexpat2.7.2-r0BELL-CVE-2025-59375

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

Red Hat's statement

This issue is Important rather than Critical because, while it allows for significant resource exhaustion leading to denial-of-service (DoS), it does not enable arbitrary code execution, data leakage, or privilege escalation. The vulnerability stems from an uncontrolled memory amplification behavior in libexpat’s parser, where a relatively small XML payload can cause disproportionately large heap allocations. However, the flaw is limited in scope to service disruption and requires the attacker to submit a crafted XML document—something that can be mitigated with proper input validation and memory usage limits. Therefore, while the exploitability is high, the impact is confined to availability, not confidentiality or integrity, making it a high-severity but not critical flaw.

In Firefox and Thunderbird, where libexpat is a transitive userspace dependency, exploitation usually just crashes the application (app-level DoS), so it is classified as Moderate instead of Important.

Red Hat's mitigation

To mitigate the issue, limit XML input size and complexity before parsing, and avoid accepting compressed or deeply nested XML. Use OS-level resource controls (like ulimit or setrlimit()) to cap memory usage, or run the parser in a sandboxed or isolated process with strict memory and CPU limits. This helps prevent denial-of-service by containing excessive resource consumption.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10expat-0:2.7.1-1.el10_0.3Fixed 2025-11-03RHSA-2025:19403
Red Hat Enterprise Linux 10expat-0:2.7.1-1.el10_1.3Fixed 2025-11-11RHSA-2025:21030
Red Hat Enterprise Linux 10python3.12-0:3.12.13-2.el10_2Fixed 2026-05-19RHSA-2026:19064
Red Hat Enterprise Linux 8python3.12-0:3.12.13-2.el8_10Fixed 2026-04-27RHSA-2026:10950
Red Hat Enterprise Linux 8mingw-expat-0:2.5.0-1.el8_10Fixed 2025-11-24RHSA-2025:21974
Red Hat Enterprise Linux 8mingw-fontconfig-0:2.12.6-4.el8_10Fixed 2026-02-26RHSA-2026:3407
Red Hat Enterprise Linux 8expat-0:2.5.0-1.el8_10Fixed 2025-11-19RHSA-2025:21776
Red Hat Enterprise Linux 8.2 Advanced Update Supportspice-client-win-0:8.10-3.el8_2.1Fixed 2026-01-05RHSA-2026:0078
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 Supportspice-client-win-0:8.10-3.el8_4.1Fixed 2026-01-05RHSA-2026:0077
Red Hat Enterprise Linux 10firefoxWill not fix
Red Hat Enterprise Linux 10thunderbirdWill not fix
Red Hat Enterprise Linux 6compat-expat1Not affected
Red Hat Enterprise Linux 6expatNot affected
Red Hat Enterprise Linux 7expatNot affected
Red Hat Enterprise Linux 7firefoxNot affected
Red Hat Enterprise Linux 8firefoxWill not fix
Red Hat Enterprise Linux 8thunderbirdWill not fix
Red Hat Enterprise Linux 8xmlrpc-cNot affected
Red Hat Enterprise Linux 9firefoxWill not fix
75 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-2025-59375.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-279-05Hitachi Energy REB5002026-09-29EnergyREB500 versions 8.3.3.1 and priornone listed
ICSA-26-155-02Hitachi Energy ITT600 Explorer2026-05-26EnergyITT600 Explorer version 2.1 SP6 and priornone listed
ICSA-26-062-03Hitachi Energy RTU500 Product (Update A)2026-02-24EnergyRTU500 series CMU Firmware version 12.7.1 – 12.7.7, RTU500 series CMU Firmware version 13.5.1 – 13.5.4, RTU500 series CMU Firmware version 13.6.1 – 13.6.2 and 2 morenone listed
ICSA-26-043-06Siemens SINEC OS2026-01-28Energy, Critical Manufacturing, Transportation Systems, Water and WastewaterRUGGEDCOM RST2428P (6GK6242-6PA00), SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family, SCALANCE XCH328 (6GK5328-4TS01-2EC2) and 13 morenone 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

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)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON