Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-6021— Libxml2: integer overflow in xmlbuildqname() leads to stack buffer overflow in libxml2

Quick assessment

Affected
CVE-2025-6021
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

libxml2是GNOME开源的一个用来解析XML文档的函数库。它用C语言写成,并且能为多种语言所调用,例如C语言,C++,XSH。 libxml2存在安全漏洞,该漏洞源于xmlBuildQName函数中缓冲区大小计算的整数溢出可能导致栈缓冲区溢出,可能导致内存损坏或拒绝服务。

CVSS 7.5 · High EPSS 1.17% · P64

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 31

VendorProduct Version RangeStatus
None None < 2.14.4 affected
Red Hat Red Hat Discovery 2 2.0.1-1754478727< * unaffected
Red Hat Red Hat Enterprise Linux 10 0:2.12.5-7.el10_0< * unaffected
Red Hat Red Hat Enterprise Linux 6 any unknown
Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support 0:2.9.1-6.el7_9.10< * unaffected
Red Hat Red Hat Enterprise Linux 8 0:2.9.7-21.el8_10.1< * unaffected
0:2.9.7-21.el8_10.1< * unaffected
Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support 0:2.9.7-9.el8_2.3< * unaffected
Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support 0:2.9.7-9.el8_4.6< * unaffected
Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On 0:2.9.7-9.el8_4.6< * unaffected
Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support 0:2.9.7-13.el8_6.10< * unaffected
Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service 0:2.9.7-13.el8_6.10< * unaffected
Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions 0:2.9.7-13.el8_6.10< * unaffected
Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service 0:2.9.7-16.el8_8.9< * unaffected
Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions 0:2.9.7-16.el8_8.9< * unaffected
Red Hat Red Hat Enterprise Linux 9 0:2.9.13-10.el9_6< * unaffected
0:2.9.13-10.el9_6< * unaffected
Red Hat Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions 0:2.9.13-1.el9_0.5< * unaffected
Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions 0:2.9.13-3.el9_2.7< * unaffected
Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support 0:2.9.13-10.el9_4< * unaffected
Red Hat Red Hat Hardened Images 2.15.2-0.3.hum1< * unaffected
Red Hat Red Hat Insights proxy 1.5 1.5.5-1754504343< * unaffected
Red Hat Red Hat JBoss Core Services 2.4.62.SP2 any unaffected
Red Hat Red Hat OpenShift Container Platform 4.12 412.86.202509030110-0< * unaffected
Red Hat Red Hat OpenShift Container Platform 4.13 413.92.202509030117-0< * unaffected
Red Hat Red Hat OpenShift Container Platform 4.14 414.92.202508041909-0< * unaffected
Red Hat Red Hat OpenShift Container Platform 4.15 415.92.202508192014-0< * unaffected
Red Hat Red Hat OpenShift Container Platform 4.16 416.94.202508050040-0< * unaffected
Red Hat Red Hat OpenShift Container Platform 4.17 417.94.202508141510-0< * unaffected
Red Hat Red Hat OpenShift Container Platform 4.18 418.94.202508060022-0< * unaffected
Red Hat Red Hat OpenShift Container Platform 4.19 4.19.9.6.202507230107-0< * unaffected

I. Basic Information for CVE-2025-6021

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Libxml2: integer overflow in xmlbuildqname() leads to stack buffer overflow in libxml2
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
跨界内存写
Source: CVE Program / CVE List V5
Vulnerability Title
libxml2 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
libxml2是GNOME开源的一个用来解析XML文档的函数库。它用C语言写成,并且能为多种语言所调用,例如C语言,C++,XSH。 libxml2存在安全漏洞,该漏洞源于xmlBuildQName函数中缓冲区大小计算的整数溢出可能导致栈缓冲区溢出,可能导致内存损坏或拒绝服务。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
- - 0 ~ 2.14.4 -
Red Hat Red Hat Enterprise Linux 10 0:2.12.5-7.el10_0 ~ * cpe:/o:redhat:enterprise_linux:10.0
Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support 0:2.9.1-6.el7_9.10 ~ * cpe:/o:redhat:rhel_els:7
Red Hat Red Hat Enterprise Linux 8 0:2.9.7-21.el8_10.1 ~ * cpe:/a:redhat:enterprise_linux:8::appstream
Red Hat Red Hat Enterprise Linux 8 0:2.9.7-21.el8_10.1 ~ * cpe:/a:redhat:enterprise_linux:8::appstream
Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support 0:2.9.7-9.el8_2.3 ~ * cpe:/a:redhat:rhel_aus:8.2::appstream
Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support 0:2.9.7-9.el8_4.6 ~ * cpe:/a:redhat:rhel_aus:8.4::appstream
Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On 0:2.9.7-9.el8_4.6 ~ * cpe:/a:redhat:rhel_aus:8.4::appstream
Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support 0:2.9.7-13.el8_6.10 ~ * cpe:/a:redhat:rhel_aus:8.6::appstream
Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service 0:2.9.7-13.el8_6.10 ~ * cpe:/a:redhat:rhel_aus:8.6::appstream
Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions 0:2.9.7-13.el8_6.10 ~ * cpe:/a:redhat:rhel_aus:8.6::appstream
Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service 0:2.9.7-16.el8_8.9 ~ * cpe:/a:redhat:rhel_e4s:8.8::appstream
Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions 0:2.9.7-16.el8_8.9 ~ * cpe:/a:redhat:rhel_e4s:8.8::appstream
Red Hat Red Hat Enterprise Linux 9 0:2.9.13-10.el9_6 ~ * cpe:/a:redhat:enterprise_linux:9::appstream
Red Hat Red Hat Enterprise Linux 9 0:2.9.13-10.el9_6 ~ * cpe:/a:redhat:enterprise_linux:9::appstream
Red Hat Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions 0:2.9.13-1.el9_0.5 ~ * cpe:/a:redhat:rhel_e4s:9.0::appstream
Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions 0:2.9.13-3.el9_2.7 ~ * cpe:/a:redhat:rhel_e4s:9.2::appstream
Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support 0:2.9.13-10.el9_4 ~ * cpe:/a:redhat:rhel_eus:9.4::appstream
Red Hat Red Hat JBoss Core Services 2.4.62.SP2 - cpe:/a:redhat:jboss_core_services:1
Red Hat Red Hat OpenShift Container Platform 4.12 412.86.202509030110-0 ~ * cpe:/a:redhat:openshift:4.12::el8
Red Hat Red Hat OpenShift Container Platform 4.13 413.92.202509030117-0 ~ * cpe:/a:redhat:openshift:4.13::el9
Red Hat Red Hat OpenShift Container Platform 4.14 414.92.202508041909-0 ~ * cpe:/a:redhat:openshift:4.14::el8
Red Hat Red Hat OpenShift Container Platform 4.15 415.92.202508192014-0 ~ * cpe:/a:redhat:openshift:4.15::el9
Red Hat Red Hat OpenShift Container Platform 4.16 416.94.202508050040-0 ~ * cpe:/a:redhat:openshift:4.16::el9
Red Hat Red Hat OpenShift Container Platform 4.17 417.94.202508141510-0 ~ * cpe:/a:redhat:openshift:4.17::el9
Red Hat Red Hat OpenShift Container Platform 4.18 418.94.202508060022-0 ~ * cpe:/a:redhat:openshift:4.18::el9
Red Hat Red Hat OpenShift Container Platform 4.19 4.19.9.6.202507230107-0 ~ * cpe:/a:redhat:openshift:4.19::el9
Red Hat Red Hat Discovery 2 2.0.1-1754478727 ~ * cpe:/a:redhat:discovery:2::el9
Red Hat Red Hat Hardened Images 2.15.2-0.3.hum1 ~ * cpe:/a:redhat:hummingbird:1
Red Hat Red Hat Insights proxy 1.5 1.5.5-1754504343 ~ * cpe:/a:redhat:insights_proxy:1.5::el9

II. Public POCs for CVE-2025-6021

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-6021

登录查看更多情报信息。

Vendor Advisories for CVE-2025-6021 (17)

Other References for CVE-2025-6021 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-6021

No comments yet


Leave a comment