CVE-2025-6021

High

Description

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductXmlsoft Libxml2
PublishedJun 12, 2025
First seenJun 12, 2025

How to fix

Affected products

ProductAffected versionsFixed in
xmlsoft libxml2v < 2.14.42.14.4
redhat jboss_core_servicesNo range specified—
redhat openshift_container_platform4.12, 4.13, 4.14, 4.15, 4.16, 4.17, 4.18—
redhat openshift_container_platform_for_arm644.13, 4.14, 4.15, 4.16, 4.17, 4.18—
redhat openshift_container_platform_for_ibm_z4.13, 4.14, 4.15, 4.16, 4.17, 4.18—
redhat openshift_container_platform_for_linuxone4.13, 4.14, 4.15, 4.16, 4.17, 4.18—
redhat openshift_container_platform_for_power4.13, 4.14, 4.15, 4.16, 4.17, 4.18—
redhat enterprise_linux8.0, 9.0, 10.0—
redhat enterprise_linux_eus8.4, 8.6, 8.8, 9.4, 9.6, 10.0—
redhat enterprise_linux_for_arm_648.0_aarch64, 9.0_aarch64, 9.4_aarch64, 10.0_aarch64—
redhat enterprise_linux_for_arm_64_eus9.4_aarch64, 9.6_aarch64, 10.0_aarch64—
redhat enterprise_linux_for_ibm_z_systems8.0_s390x, 9.4_s390x, 10.0_s390x—
redhat enterprise_linux_for_ibm_z_systems_eus9.0_s390x, 9.4_s390x, 9.6_s390x, 10.0_s390x—
redhat enterprise_linux_for_power_little_endian8.0_ppc64le, 9.0_ppc64le, 10.0_ppc64le—
redhat enterprise_linux_for_power_little_endian_eus9.4_ppc64le, 9.6_ppc64le, 10.0_ppc64le—
redhat enterprise_linux_server7.0—
redhat enterprise_linux_server_aus8.2, 8.4, 8.6, 9.2, 9.4, 9.6—
redhat enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions9.4_ppc64le—
redhat enterprise_linux_server_tus8.8—
redhat in-vehicle_operating_system1.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.