Vulnerability · Published Feb 18, 2025 · Assigned by mitre

CVE-2025-24928

High 7.8

In plain English

A high-severity stack buffer overflow in libxml2 from xmlsoft. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.4%top 67.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a stack-based buffer overflow in xmlSnprintfElements in valid.c. To exploit this, DTD validation must occur for an untrusted document or untrusted DTD. NOTE: this is similar to CVE-2017-9047.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8libxml22.9.7-19.el8_10ALSA-2025:2686
AlmaLinux:9libxml22.9.13-6.el9_5.2ALSA-2025:2679
AlmaLinux:8libxml2-devel2.9.7-19.el8_10ALSA-2025:2686
AlmaLinux:9libxml2-devel2.9.13-6.el9_5.2ALSA-2025:2679
AlmaLinux:8python3-libxml22.9.7-19.el8_10ALSA-2025:2686
AlmaLinux:9python3-libxml22.9.13-6.el9_5.2ALSA-2025:2679
Alpine:v3.20libxml22.12.7-r1ALPINE-CVE-2025-24928
Alpine:v3.21libxml22.13.4-r4ALPINE-CVE-2025-24928
Alpine:v3.22libxml22.13.6-r0ALPINE-CVE-2025-24928
Alpine:v3.23libxml22.13.6-r0ALPINE-CVE-2025-24928
Alpine:v3.24libxml22.13.6-r0ALPINE-CVE-2025-24928
Alpine:v3.22qt6-qtwebengine6.8.3-r5ALPINE-CVE-2025-24928
Alpine:v3.23qt6-qtwebengine6.10.0-r1ALPINE-CVE-2025-24928
Alpine:v3.24qt6-qtwebengine6.10.0-r1ALPINE-CVE-2025-24928
Debian:12libxml22.9.14+dfsg-1.3~deb12u2DSA-5949-1
Debian:12libxml22.9.14+dfsg-1.3~deb12u2DEBIAN-CVE-2025-24928
Debian:13libxml22.12.7+dfsg+really2.9.14-0.4DEBIAN-CVE-2025-24928
Debian:14libxml22.12.7+dfsg+really2.9.14-0.4DEBIAN-CVE-2025-24928
Rocky Linux:8libxml20:2.9.7-19.el8_10RLSA-2025:2686
Rocky Linux:9libxml20:2.9.13-6.el9_5.2RLSA-2025:2679
Ubuntu:22.04:LTSlibxml22.9.13+dfsg-1ubuntu0.6USN-7302-1
Ubuntu:22.04:LTSlibxml22.9.13+dfsg-1ubuntu0.6UBUNTU-CVE-2025-24928
Ubuntu:24.04:LTSlibxml22.9.14+dfsg-1.3ubuntu3.2UBUNTU-CVE-2025-24928
Ubuntu:24.04:LTSlibxml22.9.14+dfsg-1.3ubuntu3.2USN-7302-1

Affected products (as reported)

VendorProductVersions
xmlsoft libxml2 0 – before 2.12.102.13.0 – before 2.13.6

Weakness: CWE-121 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N

References