CVE-2025-6021

published 12 Jun 2025 · updated 16 Nov 2026

Libxml2: integer overflow in xmlbuildqname() leads to stack buffer overflow in libxml2

8.5HighCVSS 7.5EPSS 1%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 2.14.4.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Red HatDiscovery
Red HatEnterprise Linux
Red HatHardened Images
Red HatInsights proxy
Red HatJBoss
Red HatOpenShift Container Platform
redhatopenshift_container_platform_for_power=4.15, =4.16, =4.17, =4.18, =4.13, =4.14
redhatenterprise_linux=10.0, =8.0, =9.0
redhatenterprise_linux_eus=10.0, =8.4, =8.6, =8.8, =9.4, =9.6
redhatenterprise_linux_for_arm_64=10.0_aarch64, =8.0_aarch64, =9.0_aarch64, =9.4_aarch64
redhatenterprise_linux_for_arm_64_eus=10.0_aarch64, =9.4_aarch64, =9.6_aarch64
redhatenterprise_linux_for_ibm_z_systems=10.0_s390x, =8.0_s390x, =9.4_s390x
redhatenterprise_linux_for_ibm_z_systems_eus=10.0_s390x, =9.0_s390x, =9.4_s390x, =9.6_s390x
redhatenterprise_linux_for_power_little_endian=10.0_ppc64le, =8.0_ppc64le, =9.0_ppc64le
redhatenterprise_linux_for_power_little_endian_eus=10.0_ppc64le, =9.4_ppc64le, =9.6_ppc64le
redhatjboss_core_services
redhatenterprise_linux_server_aus=8.2, =8.4, =8.6, =9.2, =9.4, =9.6
redhatenterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions=9.4_ppc64le
redhatenterprise_linux_server_tus=8.8
redhatin-vehicle_operating_system=1.0
redhatenterprise_linux_server=7.0
redhatopenshift_container_platform=4.12, =4.13, =4.14, =4.15, =4.16, =4.17, =4.18
redhatopenshift_container_platform_for_arm64=4.13, =4.14, =4.15, =4.16, =4.17, =4.18
redhatopenshift_container_platform_for_ibm_z=4.13, =4.14, =4.15, =4.16, =4.17, =4.18
redhatopenshift_container_platform_for_linuxone=4.13, =4.14, =4.15, =4.16, =4.17, =4.18
xmlsoftlibxml2<2.14.42.14.4
<2.14.42.14.4

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in JBoss, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-6021 severity on Zeptric[![CVE-2025-6021](https://zeptric.io/badge/cve/CVE-2025-6021.svg)](https://zeptric.io/cve/CVE-2025-6021)