CVE-2025-32414

libxml2: Out-of-Bounds Read in libxml2

Published Apr 8, 2025 CVSS 3.1 · 5.6 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4146-1 libxml2 security update
Debian DSA Debian DSA DSA-5949-1 libxml2 security update
EUVD EUVD EUVD-2025-10440 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.
Ubuntu USN Ubuntu USN USN-7467-1 libxml2 vulnerabilities
Ubuntu USN Ubuntu USN USN-7467-2 libxml2 vulnerabilities
Ubuntu USN Ubuntu USN USN-7896-1 libxml2 vulnerabilities
History
Type Values Removed Values Added
First Time appeared Redhat
Redhat enterprise Linux
CPEs cpe:/a:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:8
Vendors & Products Redhat
Redhat enterprise Linux
Type Values Removed Values Added
First Time appeared Xmlsoft
Xmlsoft libxml2
Weaknesses CWE-252
CPEs cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:*
Vendors & Products Xmlsoft
Xmlsoft libxml2
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title libxml2: Out-of-Bounds Read in libxml2
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
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.
Weaknesses CWE-393
References
Metrics cvssV3_1

{'score': 5.6, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Nov 3, 2025, 7:53 PM
Reserved
Apr 8, 2025, 12:00 AM
Status
Modified
Published
Apr 8, 2025, 3:15 AM
Modified
Jun 17, 2026, 9:11 AM
Severity
Moderate
Public date
Apr 8, 2025, 12:00 AM