CVE-2025-6021Libxml2: integer overflow in xmlbuildqname() leads to stack buffer overflow in libxml2
Updated under an hour ago ()
Does this affect you?
It affects Red Hat Enterprise Linux 10 and 30 other products. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 7.5 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weakness (CWE)
- CWE-787
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- redhat
- NVD analysis
- Modified
- Record last updated
- Oct 12, 2026
- First seen by InfoSec Signals
- Oct 12, 2026
Affected products
Red Hat Red Hat Enterprise Linux 10 redhat:enterprise_linux | from 0:2.12.5-7.el10_0 not affected | CNA record |
from 0:2.9.1-6.el7_9.10 not affected | CNA record | |
Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support redhat:rhel_aus | from 0:2.9.7-9.el8_2.3 not affected | CNA record |
Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support redhat:rhel_eus_long_life | from 0:2.9.7-9.el8_4.6 not affected | CNA record |
from 0:2.9.7-13.el8_6.10 not affected | CNA record | |
from 0:2.9.7-13.el8_6.10 not affected | CNA record | |
Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support redhat:rhel_eus | from 0:2.9.13-10.el9_4 not affected | CNA record |
Red Hat Red Hat JBoss Core Services 2.4.62.SP2 redhat:jboss_core_services | 1.0 | CNA record |
Red Hat Red Hat OpenShift Container Platform 4.12 redhat:openshift | from 412.86.202509030110-0 not affected | CNA record |
Red Hat Red Hat Discovery 2 redhat:discovery | from 2.0.1-1754478727 not affected | CNA record |
Red Hat Red Hat Hardened Images redhat:hummingbird | from 2.15.2-0.3.hum1 not affected | CNA record |
Red Hat Red Hat Insights proxy 1.5 redhat:insights_proxy | from 1.5.5-1754504343 not affected | CNA record |
Siemens SIMATIC CN 4100 siemens:simatic_cn_4100 (from the name) | before V5.0 | CISA ADP |
xmlsoft libxml2 xmlsoft:libxml2 | before 2.14.4 | NVD |
redhat jboss_core_services redhat:jboss_core_services | all versions | NVD |
redhat openshift_container_platform redhat:openshift_container_platform | 4.12; 4.13; 4.14; 4.15; 4.16; 4.17; 4.18 | NVD |
redhat openshift_container_platform_for_arm64 redhat:openshift_container_platform_for_arm64 | 4.13; 4.14; 4.15; 4.16; 4.17; 4.18 | NVD |
redhat openshift_container_platform_for_ibm_z redhat:openshift_container_platform_for_ibm_z | 4.13; 4.14; 4.15; 4.16; 4.17; 4.18 | NVD |
redhat openshift_container_platform_for_linuxone redhat:openshift_container_platform_for_linuxone | 4.13; 4.14; 4.15; 4.16; 4.17; 4.18 | NVD |
redhat openshift_container_platform_for_power redhat:openshift_container_platform_for_power | 4.13; 4.14; 4.15; 4.16; 4.17; 4.18 | NVD |
redhat enterprise_linux redhat:enterprise_linux | 8.0; 9.0; 10.0 | NVD |
redhat enterprise_linux_eus redhat:enterprise_linux_eus | 8.4; 8.6; 8.8; 9.4; 9.6; 10.0 | NVD |
redhat enterprise_linux_for_arm_64 redhat:enterprise_linux_for_arm_64 | 8.0_aarch64; 9.0_aarch64; 9.4_aarch64; 10.0_aarch64 | NVD |
redhat enterprise_linux_for_arm_64_eus redhat:enterprise_linux_for_arm_64_eus | 9.4_aarch64; 9.6_aarch64; 10.0_aarch64 | NVD |
redhat enterprise_linux_for_ibm_z_systems redhat:enterprise_linux_for_ibm_z_systems | 8.0_s390x; 9.4_s390x; 10.0_s390x | NVD |
redhat enterprise_linux_for_ibm_z_systems_eus redhat:enterprise_linux_for_ibm_z_systems_eus | 9.0_s390x; 9.4_s390x; 9.6_s390x; 10.0_s390x | NVD |
redhat enterprise_linux_for_power_little_endian redhat:enterprise_linux_for_power_little_endian | 8.0_ppc64le; 9.0_ppc64le; 10.0_ppc64le | NVD |
redhat enterprise_linux_for_power_little_endian_eus redhat:enterprise_linux_for_power_little_endian_eus | 9.4_ppc64le; 9.6_ppc64le; 10.0_ppc64le | NVD |
redhat enterprise_linux_server redhat:enterprise_linux_server | 7.0 | NVD |
redhat enterprise_linux_server_aus redhat:enterprise_linux_server_aus | 8.2; 8.4; 8.6; 9.2; 9.4; 9.6 | NVD |
redhat enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions | 9.4_ppc64le | NVD |
redhat enterprise_linux_server_tus redhat:enterprise_linux_server_tus | 8.8 | NVD |
redhat in-vehicle_operating_system redhat:in-vehicle_operating_system | 1.0 | NVD |
References
- https://access.redhat.com/errata/RHSA-2025:10630vendor-advisory, x-refsource-redhat, third-party-advisory
- https://access.redhat.com/errata/RHSA-2025:10698vendor-advisory, x-refsource-redhat, third-party-advisory
- https://access.redhat.com/errata/RHSA-2025:10699vendor-advisory, x-refsource-redhat, third-party-advisory
- https://access.redhat.com/errata/RHSA-2025:11580vendor-advisory, x-refsource-redhat, third-party-advisory
- https://access.redhat.com/errata/RHSA-2025:11673vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2025:12098vendor-advisory, x-refsource-redhat, third-party-advisory
- https://access.redhat.com/errata/RHSA-2025:12099vendor-advisory, x-refsource-redhat, third-party-advisory
- https://access.redhat.com/errata/RHSA-2025:12199vendor-advisory, x-refsource-redhat, third-party-advisory
- https://access.redhat.com/errata/RHSA-2025:12237vendor-advisory, x-refsource-redhat, third-party-advisory
- https://access.redhat.com/errata/RHSA-2025:12239vendor-advisory, x-refsource-redhat, third-party-advisory
- https://access.redhat.com/errata/RHSA-2025:12240vendor-advisory, x-refsource-redhat, third-party-advisory
- https://access.redhat.com/errata/RHSA-2025:12241vendor-advisory, x-refsource-redhat, third-party-advisory
- https://access.redhat.com/errata/RHSA-2025:13267vendor-advisory, x-refsource-redhat, third-party-advisory
- https://access.redhat.com/errata/RHSA-2025:13289vendor-advisory, x-refsource-redhat, third-party-advisory
- https://access.redhat.com/errata/RHSA-2025:13325vendor-advisory, x-refsource-redhat, third-party-advisory
- https://access.redhat.com/errata/RHSA-2025:13335vendor-advisory, x-refsource-redhat, third-party-advisory
- https://access.redhat.com/errata/RHSA-2025:13336vendor-advisory, x-refsource-redhat, third-party-advisory
- https://access.redhat.com/errata/RHSA-2025:14059vendor-advisory, x-refsource-redhat, third-party-advisory
- https://access.redhat.com/errata/RHSA-2025:14396vendor-advisory, x-refsource-redhat, third-party-advisory
- https://access.redhat.com/errata/RHSA-2025:15308vendor-advisory, x-refsource-redhat, third-party-advisory
- https://access.redhat.com/errata/RHSA-2025:15672vendor-advisory, x-refsource-redhat, third-party-advisory
- https://access.redhat.com/errata/RHSA-2025:19020vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:7519vendor-advisory, x-refsource-redhat
- https://access.redhat.com/security/cve/CVE-2025-6021vdb-entry, x-refsource-redhat, third-party-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2372406issue-tracking, x-refsource-redhat
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.