Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2025-6021

high

A 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 9 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

Data sources

NVD CVE API 2.0 — fetched 2026-11-05 17:18 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs