摘要:
libxml2 security update
安全等级: Critical
公告ID: KylinSec-SA-2025-2709
发布日期: 2025年8月26日
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):
A use-after-free vulnerability was found in libxml2. This issue occurs when parsing XPath elements under certain circumstances when the XML schematron has the <sch:name path="..."/> schema elements. This flaw allows a malicious actor to craft a malicious XML document used as input for libxml, resulting in the program's crash using libxml or other possible undefined behaviors.(CVE-2025-49794)
A NULL pointer dereference vulnerability was found in libxml2 when processing XPath XML expressions. This flaw allows an attacker to craft a malicious XML input to libxml2, leading to a denial of service.(CVE-2025-49795)
A vulnerability was found in libxml2. Processing certain sch:name elements from the input XML file can trigger a memory corruption issue. This flaw allows an attacker to craft a malicious XML input file that can lead libxml to crash, resulting in a denial of service or other possible undefined behavior due to sensitive data being corrupted in memory.(CVE-2025-49796)
cve名称 | 产品 | 组件 | 是否受影响 |
---|---|---|---|
CVE-2025-49796 | V6 | libxml2 | Fixed |
CVE-2025-49794 | V6 | libxml2 | Fixed |
CVE-2025-49795 | V6 | libxml2 | Fixed |
软件名称 | 架构 | 版本号 |
---|---|---|
libxml2-help | noarch | 2.11.5-9.ks6 |
libxml2 | x86_64 | 2.11.5-9.ks6 |
libxml2-devel | x86_64 | 2.11.5-9.ks6 |
python3-libxml2 | x86_64 | 2.11.5-9.ks6 |
libxml2 | aarch64 | 2.11.5-9.ks6 |
libxml2-devel | aarch64 | 2.11.5-9.ks6 |
python3-libxml2 | aarch64 | 2.11.5-9.ks6 |
方法一:下载安装包进行升级安装
1、通过下载链接下载需要升级的升级包保存,如 xxx.rpm
2、通过rpm命令升级,如 rpm -Uvh xxx.rpm
方法二:通过软件源进行升级安装
1、保持能够连接上互联网
2、通过yum命令升级指定的包,如 yum install 包名