CVE-2025-59375 Denial of service in libexpat
Attackers can cause denial of service by triggering large memory allocations in libexpat via small XML documents.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-59375?
CVE-2025-59375 is a high-severity denial of service vulnerability in Libexpat Project Libexpat, published on 15 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
libexpat in Expat before 2.7.2 allows attackers to trigger large dynamic memory allocations via a small document that is submitted for parsing.
Weakness: CWE-770
Which versions are affected by CVE-2025-59375?
It affects 1 product.
Linux distribution packages (40)
expat AlmaLinux:10 | All versions | 2.7.1-1.el10_0.3 |
expat AlmaLinux:10 | All versions | 2.7.1-1.el10_1.3 |
expat-devel AlmaLinux:10 | All versions | 2.7.1-1.el10_0.3 |
expat-devel AlmaLinux:10 | All versions | 2.7.1-1.el10_1.3 |
mingw32-expat AlmaLinux:8 | All versions | 2.5.0-1.el8_10 |
mingw32-fontconfig AlmaLinux:8 | All versions | 2.12.6-4.el8_10 |
mingw64-expat AlmaLinux:8 | All versions | 2.5.0-1.el8_10 |
mingw64-fontconfig AlmaLinux:8 | All versions | 2.12.6-4.el8_10 |
expat AlmaLinux:9 | All versions | 2.5.0-5.el9_7.1 |
expat-devel AlmaLinux:9 | All versions | 2.5.0-5.el9_7.1 |
expat Red Hat:enterprise_linux:10.0 | All versions | 0:2.7.1-1.el10_0.3 |
expat-debuginfo Red Hat:enterprise_linux:10.0 | All versions | 0:2.7.1-1.el10_0.3 |
expat-debugsource Red Hat:enterprise_linux:10.0 | All versions | 0:2.7.1-1.el10_0.3 |
expat-devel Red Hat:enterprise_linux:10.0 | All versions | 0:2.7.1-1.el10_0.3 |
expat Red Hat:enterprise_linux:10.1 | All versions | 0:2.7.1-1.el10_1.3 |
expat-debuginfo Red Hat:enterprise_linux:10.1 | All versions | 0:2.7.1-1.el10_1.3 |
expat-debugsource Red Hat:enterprise_linux:10.1 | All versions | 0:2.7.1-1.el10_1.3 |
expat-devel Red Hat:enterprise_linux:10.1 | All versions | 0:2.7.1-1.el10_1.3 |
mingw-expat Red Hat:enterprise_linux:8::crb | All versions | 0:2.5.0-1.el8_10 |
mingw-fontconfig Red Hat:enterprise_linux:8::crb | All versions | 0:2.12.6-4.el8_10 |
mingw32-expat Red Hat:enterprise_linux:8::crb | All versions | 0:2.5.0-1.el8_10 |
mingw32-expat-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 0:2.5.0-1.el8_10 |
mingw32-fontconfig Red Hat:enterprise_linux:8::crb | All versions | 0:2.12.6-4.el8_10 |
mingw32-fontconfig-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 0:2.12.6-4.el8_10 |
mingw64-expat Red Hat:enterprise_linux:8::crb | All versions | 0:2.5.0-1.el8_10 |
mingw64-expat-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 0:2.5.0-1.el8_10 |
mingw64-fontconfig Red Hat:enterprise_linux:8::crb | All versions | 0:2.12.6-4.el8_10 |
mingw64-fontconfig-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 0:2.12.6-4.el8_10 |
expat-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 0:2.5.0-5.el9_7.1 |
expat-debugsource Red Hat:enterprise_linux:9::appstream | All versions | 0:2.5.0-5.el9_7.1 |
expat-devel Red Hat:enterprise_linux:9::appstream | All versions | 0:2.5.0-5.el9_7.1 |
expat Red Hat:enterprise_linux:9::baseos | All versions | 0:2.5.0-5.el9_7.1 |
expat-debuginfo Red Hat:enterprise_linux:9::baseos | All versions | 0:2.5.0-5.el9_7.1 |
expat-debugsource Red Hat:enterprise_linux:9::baseos | All versions | 0:2.5.0-5.el9_7.1 |
expat Red Hat:hummingbird:1 | All versions | 0:2.7.5-1.hum1 |
expat-devel Red Hat:hummingbird:1 | All versions | 0:2.7.5-1.hum1 |
expat-static Red Hat:hummingbird:1 | All versions | 0:2.7.5-1.hum1 |
expat-debuginfo Red Hat:rhel_eus:9.6::appstream | All versions | 0:2.5.0-5.el9_6.1 |
expat-debugsource Red Hat:rhel_eus:9.6::appstream | All versions | 0:2.5.0-5.el9_6.1 |
expat-devel Red Hat:rhel_eus:9.6::appstream | All versions | 0:2.5.0-5.el9_6.1 |
Products include Libexpat Project Libexpat.
How do I fix CVE-2025-59375?
Upgrade to a fixed version.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2025-59375 being exploited?
There is no known exploitation of CVE-2025-59375 in the wild and no public exploit code.
Other vulnerabilities in Libexpat Project Libexpat
Sources
Also known as ALPINE-CVE-2025-59375, ALSA-2025:19403, ALSA-2025:21030, ALSA-2025:21974, ALSA-2025:22175, ALSA-2026:3407 and 41 more.