CVE-2025-6021CWE-787

CVE-2025-6021

High · published June 12, 2025

CVSS v3.1
7.5
EPSS
1%
Percentile
71.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.01367 · 71.6th percentile
Weakness
CWE-787 · Out-of-bounds Write
Published
2025-06-12T17:15Z
Affected products (72)
ProductVersionsFixed in
xmlsoft/libxml2< 2.14.42.14.4
redhat/enterprise_linuxall versions—
redhat/enterprise_linuxall versions—
redhat/enterprise_linux_eusall versions—
redhat/enterprise_linux_eusall versions—
redhat/enterprise_linux_eusall versions—
redhat/enterprise_linux_eusall versions—
redhat/enterprise_linux_eusall versions—
redhat/enterprise_linux_eusall versions—
redhat/enterprise_linux_for_arm_64all versions—
redhat/enterprise_linux_for_arm_64all versions—
redhat/enterprise_linux_for_arm_64all versions—
redhat/enterprise_linux_for_arm_64all versions—
redhat/enterprise_linux_for_arm_64_eusall versions—
redhat/enterprise_linux_for_arm_64_eusall versions—
redhat/enterprise_linux_for_arm_64_eusall versions—
redhat/enterprise_linux_for_ibm_z_systemsall versions—
redhat/enterprise_linux_for_ibm_z_systemsall versions—
redhat/enterprise_linux_for_ibm_z_systemsall versions—
redhat/enterprise_linux_for_ibm_z_systems_eusall versions—
redhat/enterprise_linux_for_ibm_z_systems_eusall versions—
redhat/enterprise_linux_for_ibm_z_systems_eusall versions—
redhat/enterprise_linux_for_ibm_z_systems_eusall versions—
redhat/enterprise_linux_for_power_little_endianall versions—
redhat/enterprise_linux_for_power_little_endianall versions—
redhat/enterprise_linux_for_power_little_endianall versions—
redhat/enterprise_linux_for_power_little_endian_eusall versions—
redhat/enterprise_linux_for_power_little_endian_eusall versions—
redhat/enterprise_linux_for_power_little_endian_eusall versions—
redhat/enterprise_linux_serverall versions—
redhat/enterprise_linux_server_ausall versions—
redhat/enterprise_linux_server_ausall versions—
redhat/enterprise_linux_server_ausall versions—
redhat/enterprise_linux_server_ausall versions—
redhat/enterprise_linux_server_ausall versions—
redhat/enterprise_linux_server_ausall versions—
redhat/enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutionsall versions—
redhat/enterprise_linux_server_tusall versions—
redhat/in-vehicle_operating_systemall versions—
redhat/jboss_core_servicesall versions—
redhat/openshift_container_platformall versions—
redhat/openshift_container_platformall versions—
redhat/openshift_container_platformall versions—
redhat/openshift_container_platformall versions—
redhat/openshift_container_platformall versions—
redhat/openshift_container_platformall versions—
redhat/openshift_container_platformall versions—
redhat/openshift_container_platform_for_arm64all versions—
redhat/openshift_container_platform_for_arm64all versions—
redhat/openshift_container_platform_for_arm64all versions—
redhat/openshift_container_platform_for_arm64all versions—
redhat/openshift_container_platform_for_arm64all versions—
redhat/openshift_container_platform_for_arm64all versions—
redhat/openshift_container_platform_for_ibm_zall versions—
redhat/openshift_container_platform_for_ibm_zall versions—
redhat/openshift_container_platform_for_ibm_zall versions—
redhat/openshift_container_platform_for_ibm_zall versions—
redhat/openshift_container_platform_for_ibm_zall versions—
redhat/openshift_container_platform_for_ibm_zall versions—
redhat/openshift_container_platform_for_linuxoneall versions—
redhat/openshift_container_platform_for_linuxoneall versions—
redhat/openshift_container_platform_for_linuxoneall versions—
redhat/openshift_container_platform_for_linuxoneall versions—
redhat/openshift_container_platform_for_linuxoneall versions—
redhat/openshift_container_platform_for_linuxoneall versions—
redhat/openshift_container_platform_for_powerall versions—
redhat/openshift_container_platform_for_powerall versions—
redhat/openshift_container_platform_for_powerall versions—
redhat/openshift_container_platform_for_powerall versions—
redhat/openshift_container_platform_for_powerall versions—
redhat/openshift_container_platform_for_powerall versions—
redhat/enterprise_linuxall versions—
References (29)
https://access.redhat.com/errata/RHSA-2025:10630 · [email protected]https://access.redhat.com/errata/RHSA-2025:10698 · [email protected]https://access.redhat.com/errata/RHSA-2025:10699 · [email protected]https://access.redhat.com/errata/RHSA-2025:11580 · [email protected]https://access.redhat.com/errata/RHSA-2025:11673 · [email protected]https://access.redhat.com/errata/RHSA-2025:12098 · [email protected]https://access.redhat.com/errata/RHSA-2025:12099 · [email protected]https://access.redhat.com/errata/RHSA-2025:12199 · [email protected]https://access.redhat.com/errata/RHSA-2025:12237 · [email protected]https://access.redhat.com/errata/RHSA-2025:12239 · [email protected]https://access.redhat.com/errata/RHSA-2025:12240 · [email protected]https://access.redhat.com/errata/RHSA-2025:12241 · [email protected]https://access.redhat.com/errata/RHSA-2025:13267 · [email protected]https://access.redhat.com/errata/RHSA-2025:13289 · [email protected]https://access.redhat.com/errata/RHSA-2025:13325 · [email protected]https://access.redhat.com/errata/RHSA-2025:13335 · [email protected]https://access.redhat.com/errata/RHSA-2025:13336 · [email protected]https://access.redhat.com/errata/RHSA-2025:14059 · [email protected]https://access.redhat.com/errata/RHSA-2025:14396 · [email protected]https://access.redhat.com/errata/RHSA-2025:15308 · [email protected]https://access.redhat.com/errata/RHSA-2025:15672 · [email protected]https://access.redhat.com/errata/RHSA-2025:19020 · [email protected]https://access.redhat.com/errata/RHSA-2026:7519 · [email protected]https://access.redhat.com/security/cve/CVE-2025-6021 · [email protected]https://bugzilla.redhat.com/show_bug.cgi?id=2372406 · [email protected]https://gitlab.gnome.org/GNOME/libxml2/-/issues/926 · [email protected]https://lists.debian.org/debian-lts-announce/2025/07/msg00014.html · af854a3a-2127-422b-91ae-364da2661108https://cert-portal.siemens.com/productcert/html/ssa-032379.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5ehttps://gitlab.gnome.org/GNOME/libxml2/-/issues/926 · 134c704f-9b21-4f2e-91b3-4a467353bcc0
EPSS history
Timeline
  • 12 JUN 12:49Z
    Libxml2: integer overflow in xmlbuildqname() leads to stack buffer overflow in libxml2
    cvelistv5