CVE-2025-6021
Published: June 13, 2025Last modified: November 21, 2025
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.
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score | 7.5 |
| Attack Vector | NETWORK |
| Attack complexity | LOW |
| Privileges required | NONE |
| User interaction | NONE |
| Scope | UNCHANGED |
| Confidentiality | NONE |
| Integrity impact | NONE |
| Availability impact | HIGH |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Status
| Product | Release | Package | Status |
|---|---|---|---|
| Alpaquita Linux | 23 LTS | libxml2 | Fixed (2.10.4-r5) |
| 25 LTS | libxml2 | Fixed (2.13.8-r1) | |
| Stream | libxml2 | Fixed (2.13.8-r1) | |
| Hardened Containers | 23 LTS | libxml2 | Fixed (2.10.4-r5) |
| Stream | libxml2 | Fixed (2.13.8-r1) | |
| Liberica JDK | 8 | jdk-full | Fixed (8u472+11) |
| jre-full | Fixed (8u472+11) | ||
| 11 | jdk-full | Fixed (11.0.29+12) | |
| jre-full | Fixed (11.0.29+12) | ||
| 17 | jdk-full | Fixed (17.0.17+15) | |
| jdk-lite | Fixed (17.0.17+15) | ||
| jre-full | Fixed (17.0.17+15) | ||
| 21 | jdk-full | Fixed (21.0.9+15) | |
| jdk-lite | Fixed (21.0.9+15) | ||
| jre-full | Fixed (21.0.9+15) | ||
| 25 | jdk-full | Fixed (25.0.1+13) | |
| jdk-lite | Fixed (25.0.1+13) | ||
| jre-full | Fixed (25.0.1+13) |
References
- https://access.redhat.com/errata/RHSA-2025:10630
- https://access.redhat.com/errata/RHSA-2025:10698
- https://access.redhat.com/errata/RHSA-2025:10699
- https://access.redhat.com/errata/RHSA-2025:11580
- https://access.redhat.com/errata/RHSA-2025:12098
- https://access.redhat.com/errata/RHSA-2025:12099
- https://access.redhat.com/errata/RHSA-2025:12199
- https://access.redhat.com/errata/RHSA-2025:12237
- https://access.redhat.com/errata/RHSA-2025:12239
- https://access.redhat.com/errata/RHSA-2025:12240
- https://access.redhat.com/errata/RHSA-2025:12241
- https://access.redhat.com/errata/RHSA-2025:13267
- https://access.redhat.com/errata/RHSA-2025:13289
- https://access.redhat.com/errata/RHSA-2025:13325
- https://access.redhat.com/errata/RHSA-2025:13335
- https://access.redhat.com/errata/RHSA-2025:13336
- https://access.redhat.com/errata/RHSA-2025:14059
- https://access.redhat.com/errata/RHSA-2025:14396
- https://access.redhat.com/errata/RHSA-2025:15308
- https://access.redhat.com/errata/RHSA-2025:15672
- https://access.redhat.com/errata/RHSA-2025:19020
- https://access.redhat.com/security/cve/CVE-2025-6021
- https://bugzilla.redhat.com/show_bug.cgi?id=2372406
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/926
- https://lists.debian.org/debian-lts-announce/2025/07/msg00014.html