This library allows to manipulate XML files. It includes support to read, modify and write XML and HTML files. There is DTDs support this includes parsing and validation even with complex DtDs, either at parse time or later once the document has been modified. The output can be a simple SAX stream or and in-memory DOM like representations. In this case one can use the built-in XPath and XPointer implementation to select sub nodes or ranges. A flexible Input/Output mechanism is available, with existing HTTP and FTP modules and combined to an URI library.
Security Fix(es):
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.(CVE-2025-32414)
In libxml2 before 2.13.8 and 2.14.x before 2.14.2, xmlSchemaIDCFillNodeTables in xmlschemas.c has a heap-based buffer under-read. To exploit this, a crafted XML document must be validated against an XML schema with certain identity constraints, or a crafted XML schema must be used.(CVE-2025-32415)
{ "severity": "Medium" }
{ "aarch64": [ "libxml2-2.11.9-3.oe2403sp1.aarch64.rpm", "libxml2-debuginfo-2.11.9-3.oe2403sp1.aarch64.rpm", "libxml2-debugsource-2.11.9-3.oe2403sp1.aarch64.rpm", "libxml2-devel-2.11.9-3.oe2403sp1.aarch64.rpm", "python3-libxml2-2.11.9-3.oe2403sp1.aarch64.rpm" ], "noarch": [ "libxml2-help-2.11.9-3.oe2403sp1.noarch.rpm" ], "x86_64": [ "libxml2-2.11.9-3.oe2403sp1.x86_64.rpm", "libxml2-debuginfo-2.11.9-3.oe2403sp1.x86_64.rpm", "libxml2-debugsource-2.11.9-3.oe2403sp1.x86_64.rpm", "libxml2-devel-2.11.9-3.oe2403sp1.x86_64.rpm", "python3-libxml2-2.11.9-3.oe2403sp1.x86_64.rpm" ], "src": [ "libxml2-2.11.9-3.oe2403sp1.src.rpm" ] }