First published: Tue Apr 08 2025(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
libxml2 | <2.13.8>2.14.0<=2.14.2 | |
libxml2-devel | <2.13.8 | |
libxml2-devel | >=2.14.0<2.14.2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2025-32414 has been classified as a high severity vulnerability due to the potential for out-of-bounds memory access.
To resolve CVE-2025-32414, upgrade libxml2 to version 2.13.8 or version 2.14.2 or later.
CVE-2025-32414 affects libxml2 versions prior to 2.13.8 and those in the 2.14.x series up to 2.14.1.
The vulnerability in CVE-2025-32414 specifically impacts the Python API, particularly the xmlPythonFileRead and xmlPythonFileReadRaw functions.
Yes, CVE-2025-32414 could be exploited in production environments, potentially leading to application crashes or unexpected behavior.