7.5high
Libxml2: integer overflow in xmlbuildqname() leads to stack buffer overflow in libxml2
- Severity
- 7.5high CVSS:3.1 by redhat
- Exploit likelihood
- 1.47% (higher than 74% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- BIT-JAVA-2025-6021BIT-JAVA-MIN-2025-6021BIT-JRE-2025-6021
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| libxml2 | before 2.14.4 Not affected: from 0:2.12.5-7.el10_0 before *, from 0:2.9.1-6.el7_9.10 before *, from 0:2.9.7-21.el8_10.1 before *, from 0:2.9.7-9.el8_2.3 before *, from 0:2.9.7-9.el8_4.6 before *, from 0:2.9.7-13.el8_6.10 before * | CVE List |
| openshift/ose-rhel-coreos-8 | Not specified Not affected: from 412.86.202509030110-0 before * | CVE List |
| openshift/ose-rhel-coreos-9 | Not specified Not affected: from 413.92.202509030117-0 before *, from 414.92.202508041909-0 before *, from 415.92.202508192014-0 before *, from 416.94.202508050040-0 before *, from 417.94.202508141510-0 before *, from 418.94.202508060022-0 before * | CVE List |
| discovery/discovery-server-rhel9 | Not specified Not affected: from 2.0.1-1754478727 before * | CVE List |
| libxml2-main | Not specified Not affected: from 2.15.2-0.3.hum1 before * | CVE List |
| insights-proxy/insights-proxy-container-rhel9 | Not specified Not affected: from 1.5.5-1754504343 before * | CVE List |
| xmlsoft libxml2 | before 2.14.4 | NVD |
| redhat jboss_core_services | Not specified | NVD |
| redhat openshift_container_platform | 4.12, 4.13, 4.14, 4.15, 4.16, 4.17, 4.18 | NVD |
| redhat openshift_container_platform_for_arm64 | 4.13, 4.14, 4.15, 4.16, 4.17, 4.18 | NVD |
| redhat openshift_container_platform_for_ibm_z | 4.13, 4.14, 4.15, 4.16, 4.17, 4.18 | NVD |
| redhat openshift_container_platform_for_linuxone | 4.13, 4.14, 4.15, 4.16, 4.17, 4.18 | NVD |
| redhat openshift_container_platform_for_power | 4.13, 4.14, 4.15, 4.16, 4.17, 4.18 | NVD |
| redhat enterprise_linux | 8.0, 9.0, 10.0 | NVD |
| redhat enterprise_linux_eus | 8.4, 8.6, 8.8, 9.4, 9.6, 10.0 | NVD |
| redhat enterprise_linux_for_arm_64 | 8.0_aarch64, 9.0_aarch64, 9.4_aarch64, 10.0_aarch64 | NVD |
| redhat enterprise_linux_for_arm_64_eus | 9.4_aarch64, 9.6_aarch64, 10.0_aarch64 | NVD |
| redhat enterprise_linux_for_ibm_z_systems | 8.0_s390x, 9.4_s390x, 10.0_s390x | NVD |
| redhat enterprise_linux_for_ibm_z_systems_eus | 9.0_s390x, 9.4_s390x, 9.6_s390x, 10.0_s390x | NVD |
| redhat enterprise_linux_for_power_little_endian | 8.0_ppc64le, 9.0_ppc64le, 10.0_ppc64le | NVD |
| redhat enterprise_linux_for_power_little_endian_eus | 9.4_ppc64le, 9.6_ppc64le, 10.0_ppc64le | NVD |
| redhat enterprise_linux_server | 7.0 | NVD |
| redhat enterprise_linux_server_aus | 8.2, 8.4, 8.6, 9.2, 9.4, 9.6 | NVD |
| redhat enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions | 9.4_ppc64le | NVD |
| redhat enterprise_linux_server_tus | 8.8 | NVD |
| redhat in-vehicle_operating_system | 1.0 | NVD |
| java (Bitnami) | before 1.8.0, from 1.9.0 before 8.0.481 | Bitnami Vulnerability Database |
| java-min (Bitnami) | before 1.8.0, from 1.9.0 before 8.0.481 | Bitnami Vulnerability Database |
| jre (Bitnami) | before 1.8.0, from 1.9.0 before 8.0.481 | Bitnami Vulnerability Database |
All scores
| redhat | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Se detectó una falla en la función xmlBuildQName de libxml2. Los desbordamientos de enteros en los cálculos del tamaño del búfer pueden provocar un desbordamiento del búfer en la pila. Este problema puede provocar corrupción de memoria o una denegación de servicio al procesar entradas manipuladas.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-6021 changed 2026-11-05 | CVE Terms of Use |
| NVD | CVE-2025-6021 changed 2026-11-05 | Public domain |
| Bitnami Vulnerability Database | BIT-JAVA-2025-6021 changed 2026-10-16 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-JAVA-MIN-2025-6021 changed 2026-10-16 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-JRE-2025-6021 changed 2026-10-16 | Apache-2.0 |