Vulnerability · Published Apr 8, 2025 · Assigned by mitre

CVE-2025-32414

Medium 5.6

In plain English

A medium-severity security flaw in libxml2 from xmlsoft. Proof-of-concept exploit code is public. 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)5.6Medium
Exploit odds (30 days)0.4%top 67.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

In libxml2 before 2.13.8 and 2.14.x before 2.14.2, out-of-bounds memory access can occur in the Python API (Python bindings) because of an incorrect return value. This occurs in xmlPythonFileRead and xmlPythonFileReadRaw because of a difference between bytes and characters.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10libxml22.12.5-9.el10_0ALSA-2025:13429
AlmaLinux:8libxml22.9.7-20.el8_10ALSA-2025:8958
AlmaLinux:9libxml22.9.13-12.el9_6ALSA-2025:13428
AlmaLinux:10libxml2-devel2.12.5-9.el10_0ALSA-2025:13429
AlmaLinux:8libxml2-devel2.9.7-20.el8_10ALSA-2025:8958
AlmaLinux:9libxml2-devel2.9.13-12.el9_6ALSA-2025:13428
AlmaLinux:10libxml2-static2.12.5-9.el10_0ALSA-2025:13429
AlmaLinux:10python3-libxml22.12.5-9.el10_0ALSA-2025:13429
AlmaLinux:8python3-libxml22.9.7-20.el8_10ALSA-2025:8958
AlmaLinux:9python3-libxml22.9.13-12.el9_6ALSA-2025:13428
Alpine:v3.20libxml22.12.10-r0ALPINE-CVE-2025-32414
Alpine:v3.21libxml22.13.4-r6ALPINE-CVE-2025-32414
Alpine:v3.22libxml22.13.8-r0ALPINE-CVE-2025-32414
Alpine:v3.23libxml22.13.8-r0ALPINE-CVE-2025-32414
Alpine:v3.24libxml22.13.8-r0ALPINE-CVE-2025-32414
Debian:12libxml22.9.14+dfsg-1.3~deb12u2DSA-5949-1
Debian:12libxml22.9.14+dfsg-1.3~deb12u2DEBIAN-CVE-2025-32414
Debian:13libxml22.12.7+dfsg+really2.9.14-1DEBIAN-CVE-2025-32414
Debian:14libxml22.12.7+dfsg+really2.9.14-1DEBIAN-CVE-2025-32414
Rocky Linux:10libxml20:2.12.5-9.el10_0RLSA-2025:13429
Rocky Linux:8libxml20:2.9.7-20.el8_10RLSA-2025:8958
Rocky Linux:9libxml20:2.9.13-12.el9_6RLSA-2025:13428
Ubuntu:22.04:LTSlibxml22.9.13+dfsg-1ubuntu0.7USN-7467-1
Ubuntu:22.04:LTSlibxml22.9.13+dfsg-1ubuntu0.7UBUNTU-CVE-2025-32414
Ubuntu:24.04:LTSlibxml22.9.14+dfsg-1.3ubuntu3.3UBUNTU-CVE-2025-32414
Ubuntu:24.04:LTSlibxml22.9.14+dfsg-1.3ubuntu3.3USN-7467-1
Ubuntu:25.10libxml22.12.7+dfsg+really2.9.14-0.4ubuntu0.1UBUNTU-CVE-2025-32414

Affected products (as reported)

VendorProductVersions
xmlsoft libxml2 0 – before 2.13.82.14.0 – before 2.14.2

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

References