CVE-2025-6021
CVSS v3
7.5
HIGH
EPSS Score
1.4 %
exploit probability, as of 2026-10-19
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Get an alert for each new CVE published for libxml2.
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- javaBitnamiall versions · fixed in 1.8.0and 2 other packages
- libxml2AlmaLinux:10all versions · fixed in 2.12.5-7.el10_0and 3 other packages
- libxml2AlmaLinux:9all versions · fixed in 2.9.13-10.el9_6and 2 other packages
- libxml2AlmaLinux:8all versions · fixed in 2.9.7-21.el8_10.1and 2 other packages
Vendor advisories
libxml2: Integer Overflow in xmlBuildQName() Leads to Stack Buffer Overflow in libxml2
libxml2 as a component of Red Hat Enterprise Linux 6 · libxml2-devel as a component of Red Hat Enterprise Linux 6 · libxml2-python as a component of Red Hat Enterprise Linux 6
Siemens SIMATIC
SIMATIC CN 4100
SSA-032379: Multiple Vulnerabilities in SIMATIC CN 4100 Before V5.0
SIMATIC CN 4100
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.62 SP2 security update
Red Hat Security Advisory: OpenShift Container Platform 4.13.60 bug fix and security update
19 more advisories
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.
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2025-06-12
- Last Modified
- 2026-05-12
Frequently asked questions
What is CVE-2025-6021?
Is CVE-2025-6021 actively exploited?
What is the CVSS score for CVE-2025-6021?
Running libxml2? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.