Security Resilience

CVE-2025-32414

Xmlsoft Libxml2 ≤ 2.13.8

Public PoC
Published
08 April 2025
Modified
03 November 2025
Patch / advisory
CVSS Score v3.1 5.6
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L
EPSS Score 0.0038 33th percentile
Risk Priority 42 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-32414 is a medium-severity Return of Wrong Status Code (CWE-393) vulnerability in Xmlsoft Libxml2. Its CVSS base score is 5.6 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Application or System Exploitation (T1499.004); ranked at the 33th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SA-15 (Development Process, Standards, and Tools) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-27113Same product: Xmlsoft Libxml2
CVE-2024-25062Same product: Xmlsoft Libxml2
CVE-2023-45322Same product: Xmlsoft Libxml2
CVE-2026-86140Same product: Xmlsoft Libxml2
CVE-2026-11979Same product: Xmlsoft Libxml2
CVE-2024-34459Same product: Xmlsoft Libxml2
CVE-2026-6653Same product: Xmlsoft Libxml2
CVE-2025-32415Same product: Xmlsoft Libxml2
CVE-2025-9714Same product: Xmlsoft Libxml2
CVE-2023-39615Same product: Xmlsoft Libxml2

Affected Assets

xmlsoft
libxml2
≤ 2.13.8 · 2.14.0 — 2.14.2

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation at post-design stages directly exercises code paths and can identify functions returning incorrect status codes.

Requiring a documented development process and coding standards can mandate explicit checking of all function return values.

Verification of correct security/privacy function operation will surface incorrect status codes that alter expected behavior.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices such as code review, unit testing, and static analysis directly prevent incorrect status codes from being returned.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development can detect functions returning wrong status codes.

prevents

Training can make developers more careful about return-value handling and status-code semantics, reducing some instances of this subtle implementation bug, but most occurrences (like the Apple 'goto fail' defect) are accidental code errors that escape review and testing, so training moves only a minority of instances.

prevents

Secure coding standards directly address proper return-value handling and error indication.

prevents

A.8.30 carries its effect through the secure-development practices (8.25-8.29) its contract requires of the supplier, so it reduces ordinary software weaknesses in delivered code the way those practices do; unchecked return values are a regular implementation defect that secure coding and security testing would catch, but the clause's mechanism is contractual and the practices are fallible, matching the owner-graded `partial` on A.8.30 vs CWE-134.

finds

A.8.8's disclosure/scanning reach catches CWE-393 only where a vulnerable component already has a published CVE or advisory, while most wrong-status-code defects are first-party implementation logic never disclosed, so it finds a minority of latent instances.

References