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—
Product
Xmlsoft Libxml2
PublishedJun 12, 2025
First seenJun 12, 2025
Weakness typeCWE-787Out-of-bounds write
How to fix
Update
- xmlsoft libxml22.14.4 or later
Vendor advisories
- gitlab.gnome.org/GNOME/libxml2/-/issues/926
- access.redhat.com/errata/RHSA-2025:10630
- access.redhat.com/errata/RHSA-2025:10698
- access.redhat.com/errata/RHSA-2025:10699
- access.redhat.com/errata/RHSA-2025:11580
- access.redhat.com/errata/RHSA-2025:11673
- access.redhat.com/errata/RHSA-2025:12098
- access.redhat.com/errata/RHSA-2025:12099
- access.redhat.com/errata/RHSA-2025:12199
- access.redhat.com/errata/RHSA-2025:12237
- access.redhat.com/errata/RHSA-2025:12239
- access.redhat.com/errata/RHSA-2025:12240
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| xmlsoft libxml2 | v < 2.14.4 | 2.14.4 |
| redhat jboss_core_services | No range specified | — |
| redhat openshift_container_platform | 4.12, 4.13, 4.14, 4.15, 4.16, 4.17, 4.18 | — |
| 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 | — |
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.