CVE-2025-32414: xmlsoft libxml2 Return of Wrong Status Code
Vulnerability summary
CVE-2025-32414 is a high (CVSS 7.5) Return of Wrong Status Code vulnerability in xmlsoft libxml2. EPSS estimates a 0.38% chance of exploitation in the next 30 days, higher than 30% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 24 · Related 15Timeline
- 08-04-2025PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 8 sources · 1 version- CVE.orgCNA5.6MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:LDiffers
- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · Red hatEcosystem advisory · calculated5.6MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated5.6MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:LDiffers
- OSV · ChainguardEcosystem advisory · calculated5.6MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:LDiffers
EPSS trend
Probability
0.38%
Chance of exploitation in the next 30 days
Percentile
30%
Versus all other CVEs
30-day change
+0.01 pp
From 0.37% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (gitlab.gnome.org)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-393Return of Wrong Status CodeA function or operation returns an incorrect return value or status code that does not indicate the true result of execution, causing the product to modify its behavior based on the incorrect result.
- CWE-252Unchecked Return ValueThe product does not check the return value from a method or function, which can prevent it from detecting unexpected states and conditions.
Affected systems
Chainguard17 products
- openjdk-11-openj9-default-policy< 0.53.0-r0
- openjdk-17-openj9-default-policy< 0.53.0-r0
- openjdk-21-openj9-default-policy< 0.53.0-r0
- openjdk-25-openj9< 0.59.0-r1
- openjdk-25-openj9-dbg< 0.59.0-r1
Redhat6 products
- libxml2< 0:2.9.7-20.el8_10
- libxml2-debuginfo< 0:2.9.7-20.el8_10
- libxml2-debugsource< 0:2.9.7-20.el8_10
- libxml2-devel< 0:2.9.7-20.el8_10
- python3-libxml2< 0:2.9.7-20.el8_10
Alpine1 product
- libxml2≥ 2.14.0, < 2.11.8-r3 | ≥ 2.14.0, < 2.12.10-r0 | ≥ 2.14.0, < 2.13.4-r6 | ≥ 2.14.0, < 2.13.8-r0
Debian1 product
- libxml2< 2.9.14+dfsg-1.3~deb12u2 | < 2.12.7+dfsg+really2.9.14-1
Ubuntu1 product
- libxml2< 2.9.1+dfsg1-3ubuntu4.13+esm10 | < 2.9.3+dfsg1-1ubuntu0.7+esm8 | < 2.9.4+dfsg1-6.1ubuntu1.9+esm3 | < 2.9.10+dfsg-5ubuntu0.20.04.10 | < 2.9.13+dfsg-1ubuntu0.7 | < 2.9.14+dfsg-1.3ubuntu3.3 | < 2.12.7+dfsg+really2.9.14-0.4ubuntu0.1
Wolfi1 product
- openjdk-7-jreAll versions (No fix recorded)
Xmlsoft1 product
- libxml2< 2.13.8 | ≥ 2.14.0, < 2.14.2
7 vendors · 28 products