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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | libxml2 | 2.12.5-9.el10_0 | ALSA-2025:13429 |
| AlmaLinux:8 | libxml2 | 2.9.7-20.el8_10 | ALSA-2025:8958 |
| AlmaLinux:9 | libxml2 | 2.9.13-12.el9_6 | ALSA-2025:13428 |
| AlmaLinux:10 | libxml2-devel | 2.12.5-9.el10_0 | ALSA-2025:13429 |
| AlmaLinux:8 | libxml2-devel | 2.9.7-20.el8_10 | ALSA-2025:8958 |
| AlmaLinux:9 | libxml2-devel | 2.9.13-12.el9_6 | ALSA-2025:13428 |
| AlmaLinux:10 | libxml2-static | 2.12.5-9.el10_0 | ALSA-2025:13429 |
| AlmaLinux:10 | python3-libxml2 | 2.12.5-9.el10_0 | ALSA-2025:13429 |
| AlmaLinux:8 | python3-libxml2 | 2.9.7-20.el8_10 | ALSA-2025:8958 |
| AlmaLinux:9 | python3-libxml2 | 2.9.13-12.el9_6 | ALSA-2025:13428 |
| Alpine:v3.20 | libxml2 | 2.12.10-r0 | ALPINE-CVE-2025-32414 |
| Alpine:v3.21 | libxml2 | 2.13.4-r6 | ALPINE-CVE-2025-32414 |
| Alpine:v3.22 | libxml2 | 2.13.8-r0 | ALPINE-CVE-2025-32414 |
| Alpine:v3.23 | libxml2 | 2.13.8-r0 | ALPINE-CVE-2025-32414 |
| Alpine:v3.24 | libxml2 | 2.13.8-r0 | ALPINE-CVE-2025-32414 |
| Debian:12 | libxml2 | 2.9.14+dfsg-1.3~deb12u2 | DSA-5949-1 |
| Debian:12 | libxml2 | 2.9.14+dfsg-1.3~deb12u2 | DEBIAN-CVE-2025-32414 |
| Debian:13 | libxml2 | 2.12.7+dfsg+really2.9.14-1 | DEBIAN-CVE-2025-32414 |
| Debian:14 | libxml2 | 2.12.7+dfsg+really2.9.14-1 | DEBIAN-CVE-2025-32414 |
| Rocky Linux:10 | libxml2 | 0:2.12.5-9.el10_0 | RLSA-2025:13429 |
| Rocky Linux:8 | libxml2 | 0:2.9.7-20.el8_10 | RLSA-2025:8958 |
| Rocky Linux:9 | libxml2 | 0:2.9.13-12.el9_6 | RLSA-2025:13428 |
| Ubuntu:22.04:LTS | libxml2 | 2.9.13+dfsg-1ubuntu0.7 | USN-7467-1 |
| Ubuntu:22.04:LTS | libxml2 | 2.9.13+dfsg-1ubuntu0.7 | UBUNTU-CVE-2025-32414 |
| Ubuntu:24.04:LTS | libxml2 | 2.9.14+dfsg-1.3ubuntu3.3 | UBUNTU-CVE-2025-32414 |
| Ubuntu:24.04:LTS | libxml2 | 2.9.14+dfsg-1.3ubuntu3.3 | USN-7467-1 |
| Ubuntu:25.10 | libxml2 | 2.12.7+dfsg+really2.9.14-0.4ubuntu0.1 | UBUNTU-CVE-2025-32414 |
Affected products (as reported)
Weakness: CWE-393 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L