synced 11 MIN AGO
01 Record

CVE-2025-6021

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

HighPUBLISHEDCNA: redhat
CNA base score7.5 CVSS v3.xCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

02 Description

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

03 Exploitation and scoring

Exploitation
Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
SSVC decision
  • ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
  • AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
  • Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
1.36% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 71.3% of scored records. A rank, not a probability.
NVD base score
7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD analysis status
Modified. NVD last modified this record on 2026-10-12.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2025-06-12 12:49Z1 YR AGO
Last updated
2026-10-12 20:14Z16 DAYS AGO
Reserved
2025-06-12
Assigning CNA
redhat
Record state
PUBLISHED
Severity
High (CVSS 7.5)
CNA CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
Data version
5.2
Document digest
b8009b86106f369dc923e4910790b05e25b6158104b5ddeeb738e1980e87d252

05 Affected products

VendorProductVersionsPlatforms
Red HatRed Hat Enterprise Linux 10Not specified—
Red HatRed Hat Enterprise Linux 8Not specified—
Red HatRed Hat Enterprise Linux 9Not specified—
Red HatRed Hat Discovery 2Not specified—
Red HatRed Hat Hardened ImagesNot specified—
Red HatRed Hat Insights proxy 1.5Not specified—
Red HatRed Hat Enterprise Linux 6Not specified—

06 References

07 Fixed in

AlmaLinux 8

  • libxml2
    Fixed in 2.9.7-21.el8_10.1
  • libxml2-devel
    Fixed in 2.9.7-21.el8_10.1
  • python3-libxml2
    Fixed in 2.9.7-21.el8_10.1

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

AlmaLinux 9

  • libxml2
    Fixed in 2.9.13-10.el9_6
  • libxml2-devel
    Fixed in 2.9.13-10.el9_6
  • python3-libxml2
    Fixed in 2.9.13-10.el9_6

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

AlmaLinux 10

  • libxml2
    Fixed in 2.12.5-7.el10_0
  • libxml2-devel
    Fixed in 2.12.5-7.el10_0
  • libxml2-static
    Fixed in 2.12.5-7.el10_0
  • python3-libxml2
    Fixed in 2.12.5-7.el10_0

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Arch Linux

  • libxml2
    Fixed in 2.14.4-1

Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.

CloudLinux 8

  • libxml2
    Fixed in 2.9.7-21.el8_10.1
  • libxml2-devel
    Fixed in 2.9.7-21.el8_10.1
  • python3-libxml2
    Fixed in 2.9.7-21.el8_10.1

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 9

  • libxml2
    Fixed in 2.9.13-10.el9_6
  • libxml2-devel
    Fixed in 2.9.13-10.el9_6
  • python3-libxml2
    Fixed in 2.9.13-10.el9_6

Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 10

  • libxml2
    Fixed in 2.12.5-7.el10_0
  • libxml2-devel
    Fixed in 2.12.5-7.el10_0
  • libxml2-static
    Fixed in 2.12.5-7.el10_0
  • python3-libxml2
    Fixed in 2.12.5-7.el10_0

Derived from AlmaLinux 10. Partial coverage: only packages taken from AlmaLinux 10 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 12

  • libxml2
    Fixed in 2.9.14+dfsg-1.3~deb12u3

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • libxml2
    Fixed in 2.12.7+dfsg+really2.9.14-2

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • libxml2
    Fixed in 2.12.7+dfsg+really2.9.14-2

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • libxml2
    Fixed in 2.9.13+dfsg-1ubuntu0.8

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 24.04 LTS

  • libxml2
    Fixed in 2.9.14+dfsg-1.3ubuntu3.4

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 14.04 LTS

  • libxml2
    Fixed in 2.9.1+dfsg1-3ubuntu4.13+esm8
    Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 16.04 LTS

  • libxml2
    Fixed in 2.9.3+dfsg1-1ubuntu0.7+esm9
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 18.04 LTS

  • libxml2
    Fixed in 2.9.4+dfsg1-6.1ubuntu1.9+esm4
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 20.04 LTS

  • libxml2
    Fixed in 2.9.10+dfsg-5ubuntu0.20.04.10+esm1
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.