CVE-2023-52425 Denial of service in n/a

High 7.5 Published Updated

Attackers can cause resource exhaustion and denial of service in applications using libexpat by sending large tokens requiring multiple buffer fills.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-52425?

CVE-2023-52425 is a high-severity denial of service vulnerability in Libexpat Project Libexpat, published on 4 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-400

Which versions are affected by CVE-2023-52425?

It affects 1 product.

Linux distribution packages (40)
expat AlmaLinux:8All versions2.2.5-11.el8_9.1
expat-devel AlmaLinux:8All versions2.2.5-11.el8_9.1
xmlrpc-c AlmaLinux:8All versions1.51.0-9.el8_10
xmlrpc-c-c++ AlmaLinux:8All versions1.51.0-9.el8_10
xmlrpc-c-client AlmaLinux:8All versions1.51.0-9.el8_10
xmlrpc-c-client++ AlmaLinux:8All versions1.51.0-9.el8_10
xmlrpc-c-devel AlmaLinux:8All versions1.51.0-9.el8_10
expat Red Hat:enterprise_linux:8::baseosAll versions0:2.2.5-11.el8_9.1
expat-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:2.2.5-11.el8_9.1
expat-debugsource Red Hat:enterprise_linux:8::baseosAll versions0:2.2.5-11.el8_9.1
expat-devel Red Hat:enterprise_linux:8::baseosAll versions0:2.2.5-11.el8_9.1
xmlrpc-c Red Hat:enterprise_linux:8::baseosAll versions0:1.51.0-9.el8_10
xmlrpc-c-apps-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:1.51.0-9.el8_10
xmlrpc-c-c++-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:1.51.0-9.el8_10
xmlrpc-c-client Red Hat:enterprise_linux:8::baseosAll versions0:1.51.0-9.el8_10
xmlrpc-c-client++-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:1.51.0-9.el8_10
xmlrpc-c-client-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:1.51.0-9.el8_10
xmlrpc-c-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:1.51.0-9.el8_10
xmlrpc-c-debugsource Red Hat:enterprise_linux:8::baseosAll versions0:1.51.0-9.el8_10
xmlrpc-c-apps-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:1.51.0-9.el8_10
xmlrpc-c-c++ Red Hat:enterprise_linux:8::crbAll versions0:1.51.0-9.el8_10
xmlrpc-c-c++-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:1.51.0-9.el8_10
xmlrpc-c-client++ Red Hat:enterprise_linux:8::crbAll versions0:1.51.0-9.el8_10
xmlrpc-c-client++-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:1.51.0-9.el8_10
xmlrpc-c-client-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:1.51.0-9.el8_10
xmlrpc-c-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:1.51.0-9.el8_10
xmlrpc-c-debugsource Red Hat:enterprise_linux:8::crbAll versions0:1.51.0-9.el8_10
xmlrpc-c-devel Red Hat:enterprise_linux:8::crbAll versions0:1.51.0-9.el8_10
expat Red Hat:rhel_eus:8.6::baseosAll versions0:2.2.5-8.el8_6.5
expat-debuginfo Red Hat:rhel_eus:8.6::baseosAll versions0:2.2.5-8.el8_6.5
expat-debugsource Red Hat:rhel_eus:8.6::baseosAll versions0:2.2.5-8.el8_6.5
expat-devel Red Hat:rhel_eus:8.6::baseosAll versions0:2.2.5-8.el8_6.5
expat Red Hat:rhel_eus:8.8::baseosAll versions0:2.2.5-11.el8_8.2
expat-debuginfo Red Hat:rhel_eus:8.8::baseosAll versions0:2.2.5-11.el8_8.2
expat-debugsource Red Hat:rhel_eus:8.8::baseosAll versions0:2.2.5-11.el8_8.2
expat-devel Red Hat:rhel_eus:8.8::baseosAll versions0:2.2.5-11.el8_8.2
expat Rocky Linux:8All versions0:2.2.5-11.el8_9.1
xmlrpc-c Rocky Linux:8All versions0:1.51.0-9.el8_10
python3 SUSE:Linux Enterprise Module for Web and Scripting 12All versions3.4.10-25.127.1
python3-base SUSE:Linux Enterprise Module for Web and Scripting 12All versions3.4.10-25.127.1

Products include Libexpat Project Libexpat.

How do I fix CVE-2023-52425?

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-2023-52425 being exploited?

There is no known exploitation of CVE-2023-52425 in the wild and no public exploit code.

All Libexpat Project Libexpat vulnerabilities

Sources

Also known as ALPINE-CVE-2023-52425, ALSA-2024:1615, ALSA-2024:4259, AZL-34207, AZL-34683, BELL-CVE-2023-52425 and 25 more.

Is CVE-2023-52425 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free