All reports
Medium

libxml2: Out-of-Bounds Read in libxml2

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-32414

Probability of exploitation in the next 30 days: 0.38%

FIRST EPSS · 2026-11-22

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.

A flaw was found in libxml2. This vulnerability allows out-of-bounds memory access due to incorrect handling of return values in xmlPythonFileRead and xmlPythonFileReadRaw. This is caused by a mismatch between the length of the file in bytes vs the length in characters, as unicode characters can occupy up to 4 bytes per character.