Vulnerability record · OpenEuler 22.03-LTS-SP4
An update for libxml2 is now available for openEuler-22.03-LTS-SP4
OpenEuler 22.03-LTS-SP4
What it fixes
Synopsis:
libxml2 security updateSummary:
An update for libxml2 is now available for openEuler-22.03-LTS-SP4Description:
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.
A flaw was found in libxml2's xmlBuildQName function, where integer overflows in buffer size calculations can lead to a stack-based buffer overflow. This issue can result in memory corruption or a denial of service when processing crafted input.(CVE-2025-6021)Topic:
An update for libxml2 is now available for openEuler-22.03-LTS-SP4.
openEuler Security has rated this update as having a security impact of high. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.Severity:
HighAffected Component:
libxml2
Manual fix · OpenEuler 22.03-LTS-SP4
sudo dnf upgrade libxml2 libxml2-devel libxml2-help python3-libxml2rpm -q libxml2 libxml2-devel libxml2-help python3-libxml2Sources