CVE-2025-6021
highA flaw was found in libxml2's xmlBuildQName function, where integer overflows in buffer size calculations can lead to a stack-based buffer overflow.
Vendor / product: Xmlsoft — 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.
CVSS
7.5
7.5 (CVSS v3.1)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Severity source: NVD CVSS v3.1 (secalert@redhat.com)
Timeline (UTC)
Published: 2025-06-12 13:15
Modified: 2026-11-05 17:17
NVD status: Modified
Last synced 6 hours ago
Verified against the source API 2026-11-05 17:18 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).
Affected products
xmlsoft / libxml2 <2.14.4
redhat / jboss_core_services all versions
redhat / openshift_container_platform 4.12, 4.13, 4.14, 4.15, 4.16, 4.17
redhat / openshift_container_platform_for_arm64 4.13, 4.14, 4.15, 4.16, 4.17, 4.18
redhat / openshift_container_platform_for_ibm_z 4.13, 4.14, 4.15, 4.16, 4.17, 4.18
redhat / openshift_container_platform_for_linuxone 4.13, 4.14, 4.15, 4.16, 4.17, 4.18
redhat / openshift_container_platform_for_power 4.13, 4.14, 4.15, 4.16, 4.17, 4.18
redhat / enterprise_linux 8.0, 9.0, 10.0
redhat / enterprise_linux_eus 8.4, 8.6, 8.8, 9.4, 9.6, 10.0
redhat / enterprise_linux_for_arm_64 8.0_aarch64, 9.0_aarch64, 9.4_aarch64, 10.0_aarch64
redhat / enterprise_linux_for_arm_64_eus 9.4_aarch64, 9.6_aarch64, 10.0_aarch64
redhat / enterprise_linux_for_ibm_z_systems 8.0_s390x, 9.4_s390x, 10.0_s390x
redhat / enterprise_linux_for_ibm_z_systems_eus 9.0_s390x, 9.4_s390x, 9.6_s390x, 10.0_s390x
redhat / enterprise_linux_for_power_little_endian 8.0_ppc64le, 9.0_ppc64le, 10.0_ppc64le
redhat / enterprise_linux_for_power_little_endian_eus 9.4_ppc64le, 9.6_ppc64le, 10.0_ppc64le
redhat / enterprise_linux_server 7.0
redhat / enterprise_linux_server_aus 8.2, 8.4, 8.6, 9.2, 9.4, 9.6
redhat / enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions 9.4_ppc64le
redhat / enterprise_linux_server_tus 8.8
redhat / in-vehicle_operating_system 1.0
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
Vendor advisory: https://gitlab.gnome.org/GNOME/libxml2/-/issues/926
Vendor advisory: https://gitlab.gnome.org/GNOME/libxml2/-/issues/926
References
- https://access.redhat.com/errata/RHSA-2025:10630 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:10698 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:10699 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:11580 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:11673 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:12098 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:12099 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:12199 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:12237 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:12239 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:12240 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:12241 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:13267 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:13289 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:13325 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:13335 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:13336 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:14059 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:14396 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:15308 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:15672 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:19020 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:7519 secalert@redhat.com
- https://access.redhat.com/security/cve/CVE-2025-6021 secalert@redhat.com
- https://bugzilla.redhat.com/show_bug.cgi?id=2372406 secalert@redhat.com
Data sources
NVD CVE API 2.0 — fetched 2026-11-05 17:18 UTC · record ↗

