CVE-2025-6021
Libxml2 Stack-Based Buffer Overflow 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.
INFO
Published Date :
June 12, 2025, 1:15 p.m.
Last Modified :
July 9, 2025, 2:15 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2025-6021 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2025-6021
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-6021
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
github runner
Dockerfile Shell
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-6021
vulnerability anywhere in the article.

-
Cyber Security News
Nessus Windows Vulnerabilities Allow Overwrite of Arbitrary Local System Files
A newly disclosed security advisory from Tenable reveals serious vulnerabilities in the Nessus vulnerability scanner that could enable attackers to compromise Windows systems through privilege escalat ... Read more

-
The Register
Former US Army Sergeant pleads guilty after amateurish attempt at selling secrets to China
Infosec in brief A former US Army sergeant has admitted he attempted to sell classified data to China. Joseph Daniel Schmidt last Friday pled guilty after the Feds charged him with using his top secre ... Read more
The following table lists the changes that have been made to the
CVE-2025-6021
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
Jul. 09, 2025
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2025:10698 Added Reference https://access.redhat.com/errata/RHSA-2025:10699 -
CVE Modified by [email protected]
Jul. 09, 2025
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2025:10630 -
New CVE Received by [email protected]
Jun. 12, 2025
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-121 Added Reference https://access.redhat.com/security/cve/CVE-2025-6021 Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2372406
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-6021
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-6021
weaknesses.