Home / Red Hat / Red Hat Enterprise Linux 10 / CVE-2025-6021
CVE-2025-6021: is it exploited, and which versions of Red Hat Enterprise Linux 10 are affected and fixed?
CVE-2025-6021 is an out-of-bounds write (memory corruption) vulnerability in Red Hat Enterprise Linux 10. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: libxml2 before 2.14.4 (CVE record by redhat). Fixed in 2.14.4, 0:2.12.5-7.el10_0, 0:2.9.1-6.el7_9.10, 0:2.9.7-21.el8_10.1 and 2 more (CVE record by redhat). Severity: High (7.5, CVSS 3.1, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:19 UTC.
What is CVE-2025-6021?
Libxml2: integer overflow in xmlbuildqname() leads to stack buffer overflow in libxml2
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.
From the CVE record by redhat, last updated November 5, 2026, 16:32 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| libxml2 | before 2.14.4 | 2.14.4 | |
| Red Hat | Red Hat Enterprise Linux 10 libxml2 | all versions (default) | 0:2.12.5-7.el10_0 |
| Red Hat | Red Hat Enterprise Linux 7 Extended Lifecycle Support libxml2 | all versions (default) | 0:2.9.1-6.el7_9.10 |
| Red Hat | Red Hat Enterprise Linux 8 libxml2 | all versions (default) | 0:2.9.7-21.el8_10.1 |
| Red Hat | Red Hat Enterprise Linux 8 libxml2 | all versions (default) | 0:2.9.7-21.el8_10.1 |
| Red Hat | Red Hat Enterprise Linux 8.2 Advanced Update Support libxml2 | all versions (default) | 0:2.9.7-9.el8_2.3 |
| Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support libxml2 | all versions (default) | 0:2.9.7-9.el8_4.6 |
| Red Hat | Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On libxml2 | all versions (default) | 0:2.9.7-9.el8_4.6 |
| Red Hat | Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support libxml2 | all versions (default) | 0:2.9.7-13.el8_6.10 |
| Red Hat | Red Hat Enterprise Linux 8.6 Telecommunications Update Service libxml2 | all versions (default) | 0:2.9.7-13.el8_6.10 |
| Red Hat | Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions libxml2 | all versions (default) | 0:2.9.7-13.el8_6.10 |
| Red Hat | Red Hat Enterprise Linux 8.8 Telecommunications Update Service libxml2 | all versions (default) | 0:2.9.7-16.el8_8.9 |
| Red Hat | Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions libxml2 | all versions (default) | 0:2.9.7-16.el8_8.9 |
| Red Hat | Red Hat Enterprise Linux 9 libxml2 | all versions (default) | 0:2.9.13-10.el9_6 |
| Red Hat | Red Hat Enterprise Linux 9 libxml2 | all versions (default) | 0:2.9.13-10.el9_6 |
| Red Hat | Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions libxml2 | all versions (default) | 0:2.9.13-1.el9_0.5 |
| Red Hat | Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions libxml2 | all versions (default) | 0:2.9.13-3.el9_2.7 |
| Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support libxml2 | all versions (default) | 0:2.9.13-10.el9_4 |
| Red Hat | Red Hat JBoss Core Services 2.4.62.SP2 libxml2 | not stated | |
| Red Hat | Red Hat OpenShift Container Platform 4.12 openshift/ose-rhel-coreos-8 | all versions (default) | 412.86.202509030110-0 |
| Red Hat | Red Hat OpenShift Container Platform 4.13 openshift/ose-rhel-coreos-9 | all versions (default) | 413.92.202509030117-0 |
| Red Hat | Red Hat OpenShift Container Platform 4.14 openshift/ose-rhel-coreos-9 | all versions (default) | 414.92.202508041909-0 |
| Red Hat | Red Hat OpenShift Container Platform 4.15 openshift/ose-rhel-coreos-9 | all versions (default) | 415.92.202508192014-0 |
| Red Hat | Red Hat OpenShift Container Platform 4.16 openshift/ose-rhel-coreos-9 | all versions (default) | 416.94.202508050040-0 |
| Red Hat | Red Hat OpenShift Container Platform 4.17 openshift/ose-rhel-coreos-9 | all versions (default) | 417.94.202508141510-0 |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift/ose-rhel-coreos-9 | all versions (default) | 418.94.202508060022-0 |
| Red Hat | Red Hat OpenShift Container Platform 4.19 openshift/ose-rhel-coreos-9 | all versions (default) | 4.19.9.6.202507230107-0 |
| Red Hat | Red Hat Discovery 2 discovery/discovery-server-rhel9 | all versions (default) | 2.0.1-1754478727 |
| Red Hat | Red Hat Hardened Images libxml2-main | all versions (default) | 2.15.2-0.3.hum1 |
| Red Hat | Red Hat Insights proxy 1.5 insights-proxy/insights-proxy-container-rhel9 | all versions (default) | 1.5.5-1754504343 |
| Red Hat | Red Hat Enterprise Linux 6 libxml2 | not stated |
As the CVE record by redhat states it, last updated November 5, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| xmlsoft | libxml2 | before 2.14.4 | application |
| redhat | jboss core services | all versions | application |
| redhat | openshift container platform | 4.12 | application |
| redhat | openshift container platform | 4.13 | application |
| redhat | openshift container platform | 4.14 | application |
| redhat | openshift container platform | 4.15 | application |
| redhat | openshift container platform | 4.16 | application |
| redhat | openshift container platform | 4.17 | application |
| redhat | openshift container platform | 4.18 | application |
| redhat | openshift container platform for arm64 | 4.13 | application |
| redhat | openshift container platform for arm64 | 4.14 | application |
| redhat | openshift container platform for arm64 | 4.15 | application |
| redhat | openshift container platform for arm64 | 4.16 | application |
| redhat | openshift container platform for arm64 | 4.17 | application |
| redhat | openshift container platform for arm64 | 4.18 | application |
| redhat | openshift container platform for ibm z | 4.13 | application |
| redhat | openshift container platform for ibm z | 4.14 | application |
| redhat | openshift container platform for ibm z | 4.15 | application |
| redhat | openshift container platform for ibm z | 4.16 | application |
| redhat | openshift container platform for ibm z | 4.17 | application |
| redhat | openshift container platform for ibm z | 4.18 | application |
| redhat | openshift container platform for linuxone | 4.13 | application |
| redhat | openshift container platform for linuxone | 4.14 | application |
| redhat | openshift container platform for linuxone | 4.15 | application |
| redhat | openshift container platform for linuxone | 4.16 | application |
NVD analysis (status Modified), last modified November 5, 2026, 17:17 UTC.
How severe is CVE-2025-6021?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | redhat |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-6021 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, September 3, 2025)
- EPSS
- 1.47% probability of exploitation activity in the next 30 days, percentile 74.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-787 Out-of-bounds Write
Is there a workaround? (from the CVE record)
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. Users are strongly advised to apply vendor-supplied patches as soon as they become available to address the underlying integer overflow flaw in the affected code.
Where are the vendor advisories and references?
- RHSA-2025:10630 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:10698 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:10699 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:11580 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:11673 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:12098 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:12099 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:12199 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:12237 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:12239 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:12240 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:12241 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:13267 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:13289 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:13325 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:13335 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:13336 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:14059 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:14396 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:15308 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:15672 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:19020 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:7519 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-6021 vdb-entry, x_refsource_REDHAT
- RHBZ#2372406 issue-tracking, x_refsource_REDHAT
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/926
- https://lists.debian.org/debian-lts-announce/2025/07/msg00014.html
- https://cert-portal.siemens.com/productcert/html/ssa-032379.html
Who found and reported it?
- Red Hat would like to thank Ahmed Lekssays for reporting this issue. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- June 12, 2025
- Published
- June 12, 2025, 12:49 UTC
- CVE record updated
- November 5, 2026, 16:32 UTC by redhat
- NVD
- Modified, last modified November 5, 2026, 17:17 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:19 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Red Hat Enterprise Linux 10?
- Dec 3, 2026CVE-2026-121847 Red Hat Directory Server 11: incorrect authorization
- Dec 3, 2026CVE-2026-118474 Red Hat Directory Server 11: missing authorization
- Dec 3, 2026CVE-2026-102498 Red Hat Enterprise Linux 10: improper access control
- Dec 3, 2026CVE-2026-137818 Red Hat Enterprise Linux 10: denial of service (uncontrolled resource consumption)
- Dec 2, 2026CVE-2026-142107 Red Hat Enterprise Linux 10: out-of-bounds write (memory corruption)
- Dec 2, 2026CVE-2026-142105 Red Hat Enterprise Linux 10: denial of service (resources allocated without limits)
- Dec 1, 2026CVE-2026-15268 Red Hat Enterprise Linux 10: missing authorization
- Dec 1, 2026CVE-2026-135901 Red Hat Hardened Images: link following (a symlink lets an attacker reach other files)
Every CVE in Red Hat Enterprise Linux 10
Questions about CVE-2025-6021
Is CVE-2025-6021 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 1.47% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Red Hat Enterprise Linux 10 are affected by CVE-2025-6021?
libxml2 before 2.14.4, per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2025-6021?
2.14.4, 0:2.12.5-7.el10_0, 0:2.9.1-6.el7_9.10, 0:2.9.7-21.el8_10.1, 0:2.9.7-9.el8_2.3 and 0:2.9.7-9.el8_4.6, per the CVE record by redhat. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-6021?
High (7.5, CVSS 3.1, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2025-6021?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.