OOB Mem Access in libxml2 Python API before 2.13.8 & 2.14.2
CVE-2025-32414 Published on April 8, 2025
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.
Weakness Type
Return of Wrong Status Code
A function or operation returns an incorrect return value or status code that does not indicate an error, but causes the product to modify its behavior based on the incorrect result. This can lead to unpredictable behavior. If the function is used to make security-critical decisions or provide security-critical information, then the wrong status code can cause the software to assume that an action is safe, even when it is not.
Products Associated with CVE-2025-32414
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2025-32414 are published in these products:
Affected Versions
xmlsoft libxml2:- Before 2.13.8 is affected.
- Version 2.14.0 and below 2.14.2 is affected.
Vulnerable Packages
The following package name and versions may be associated with CVE-2025-32414
| Package Manager | Vulnerable Package | Versions | Fixed In |
|---|---|---|---|
| rubygems | nokogiri | < 1.18.8 | 1.18.8 |
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.