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
Score 7.5 from GitHub Security Advisory (severity: HIGH) published 2025-06-12. a secondary CVSS source baseline 7.5; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.5
- EG Score
- 7.5(medium)
- EG Risk
- 65(Attend)EG Risk 65/100SSVC: Attend
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity75% × 45%Exploitation40% × 40%Automatability100% × 15%Action: Remediate soon — notable exploitation risk. - EPSS PROB
- 1%
- EPSS %ILE
- 68%
- KEV
- Not listed
Published
June 12, 2025
Last Modified
September 1, 2026
Advisory Details (10)
Auto-updated Jun 25, 2026Affected: Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions and Red Hat Enterprise Linux 8.8 Telecommunications Update Serv
https://access.redhat.com/errata/RHSA-2025:12239Affected: Red Hat Enterprise Linux 8.2 Advanced Update Support.
https://access.redhat.com/errata/RHSA-2025:12237Affected: Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions.
https://access.redhat.com/errata/RHSA-2025:12199Affected: Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions.
https://access.redhat.com/errata/RHSA-2025:12099Affected: Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support, Red Hat Enterprise Linux 8.6 Update Services for SAP So
https://access.redhat.com/errata/RHSA-2025:12098Affected: Red Hat Enterprise Linux 9.4 Extended Update Support.
https://access.redhat.com/errata/RHSA-2025:11580Affected: Red Hat Enterprise Linux 9.
https://access.redhat.com/errata/RHSA-2025:10699Affected: Red Hat Enterprise Linux 8.
https://access.redhat.com/errata/RHSA-2025:10698Affected: Red Hat Enterprise Linux 10.
https://access.redhat.com/errata/RHSA-2025:10630Vendor Advisories for CVE-2025-6021(20)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:7519Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- RHSA-2025:19020Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.62 SP2 security update
- RHSA-2025:15672Red Hat Product SecurityHigh
Red Hat Security Advisory: OpenShift Container Platform 4.13.60 bug fix and security update
- RHSA-2025:15308Red Hat Product SecurityHigh
Red Hat Security Advisory: OpenShift Container Platform 4.12.80 bug fix and security update
- RHSA-2025:14396Red Hat Product SecurityHigh
Red Hat Security Advisory: OpenShift Container Platform 4.15.57 bug fix and security update
- RHSA-2025:14059Red Hat Product SecurityHigh
Red Hat Security Advisory: OpenShift Container Platform 4.17.38 bug fix and security update
- RHSA-2025:13289Red Hat Product SecurityHigh
Red Hat Security Advisory: OpenShift Container Platform 4.14.55 bug fix and security update
- RHSA-2025:13335Red Hat Product SecurityHigh
Red Hat Security Advisory: Insights proxy Container Image
- +12 more
Patch Availability(24)
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(8 across 8 ecosystems)
Alpine:v3.21(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| libxml2 | — | 2.13.9-r0 | — |
Alpine:v3.22(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| libxml2 | — | 2.13.9-r0 | — |
Alpine:v3.23(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| libxml2 | — | 2.13.9-r0 | — |
Alpine:v3.24(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| libxml2 | — | 2.13.9-r0 | — |
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| libxml2 | 2.9.10+dfsg-6.7 ... 2.9.10+dfsg-6.7+deb11u7 (8 versions) | 2.9.10+dfsg-6.7+deb11u8 | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| libxml2 | 2.9.14+dfsg-1.2, 2.9.14+dfsg-1.3~deb12u1, 2.9.14+dfsg-1.3~deb12u2 | 2.9.14+dfsg-1.3~deb12u3 | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| libxml2 | — | 2.12.7+dfsg+really2.9.14-2 | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| libxml2 | — | 2.12.7+dfsg+really2.9.14-2 | — |
Weakness Classification(3)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(5)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Microsoft MSRCCVE-2025-60212025-07-29
Libxml2: integer overflow in xmlbuildqname() leads to stack buffer overflow in libxml2
- Red HatRHSA-2025:10630MODERATE2025-06-12
RHSA-2025:10630 — Moderate
- Red HatRHSA-2025:13325MODERATE2025-06-12
RHSA-2025:13325 — Moderate
- Red HatRHSA-2025:13336MODERATE2025-06-12
RHSA-2025:13336 — Moderate
- UbuntuUSN-7694-1MEDIUM
libxml2 vulnerabilities
Data Freshness Timeline
(refreshed 16× in last 7d / 40× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 172 total refreshes for this CVE.
- 2026-09-04 05:06 UTCEPSS rescore
- 2026-09-02 14:11 UTCEPSS rescore
- 2026-09-01 13:53 UTCEPSS rescore
- 2026-09-01 12:32 UTCEG score recompute
- 2026-09-01 12:32 UTCVendor advisory
- 2026-09-01 12:32 UTCGHSA enrichment
- 2026-09-01 11:57 UTCEG score recompute
- 2026-09-01 11:57 UTCVendor advisory
- 2026-09-01 11:57 UTCGHSA enrichment
- 2026-08-31 18:36 UTCEG score recompute
- 2026-08-31 18:36 UTCVendor advisory
- 2026-08-31 18:36 UTCGHSA enrichment
- 2026-08-31 17:27 UTCEG score recompute
- 2026-08-31 17:27 UTCVendor advisory
- 2026-08-31 17:27 UTCGHSA enrichment
- 2026-08-30 01:21 UTCEPSS rescore
- 2026-08-29 00:13 UTCOSV refresh
- 2026-08-28 21:40 UTCEPSS rescore
- 2026-08-27 14:24 UTCEPSS rescore
- 2026-08-26 14:45 UTCEPSS rescore
- 2026-08-25 13:48 UTCEPSS rescore
- 2026-08-24 14:16 UTCEPSS rescore
- 2026-08-23 00:18 UTCEPSS rescore
- 2026-08-21 23:48 UTCEPSS rescore
- 2026-08-20 22:55 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-08-19 17:03 UTCEPSS rescore
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 13:46 UTCEPSS rescore
- 2026-08-16 14:55 UTCEPSS rescore
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-12 13:50 UTCEPSS rescore
- 2026-08-12 11:40 UTCOSV refresh
- 2026-08-11 13:42 UTCEPSS rescore
- 2026-08-10 23:59 UTCEPSS rescore
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-08 16:36 UTCEPSS rescore
- 2026-08-07 16:27 UTCEPSS rescore
- 2026-08-06 13:46 UTCEPSS rescore
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-04 10:37 UTCEPSS rescore
- 2026-08-03 10:35 UTCEPSS rescore
- 2026-08-02 02:26 UTCEPSS rescore
- 2026-08-01 04:15 UTCEPSS rescore
- 2026-07-30 16:27 UTCEPSS rescore
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-27 18:55 UTCOSV refresh
- 2026-07-27 14:13 UTCEPSS rescore
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-25 14:17 UTCEPSS rescore
- 2026-07-25 14:17 UTCEPSS rescore
- 2026-07-24 14:17 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 03:00 UTCEG score recompute
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:24 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-19 02:28 UTCEPSS rescore
- 2026-07-19 02:28 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-16 17:02 UTCEPSS rescore
- 2026-07-16 17:02 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-13 06:12 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-10 11:52 UTCOSV refresh
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 15:15 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 14:05 UTCEPSS rescore
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
- CVE-2001-0825EG 10.0HIGH
- CVE-2001-0554EG 10.0EPSS p98HIGH
- CVE-2001-0414EG 10.0EPSS p100HIGH
- CVE-2001-0191EG 10.0EPSS p92HIGH
- CVE-2001-0301EG 10.0EPSS p91HIGH
- CVE-2001-0197EG 10.0EPSS p96HIGH
- CVE-2001-0233EG 10.0EPSS p96HIGH
- CVE-2001-0010EG 10.0EPSS p98HIGH
- CVE-2001-0011EG 10.0EPSS p94HIGH
- CVE-2001-0013EG 10.0EPSS p96HIGH
Same CWE
10 shownCWE-190 · CWE-787
Frequently asked(5)
What is CVE-2025-6021?
When was CVE-2025-6021 disclosed?
Is CVE-2025-6021 actively exploited?
What is the CVSS score of CVE-2025-6021?
How do I remediate CVE-2025-6021?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2025-6021
Is Your Infrastructure Affected by CVE-2025-6021?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.