CVE-2025-6021

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

HIGH
7.5
CVSS Score
Published: June 12, 2025 at 12:49 PM UTC
Updated: October 12, 2026 at 09:17 PM UTC
21 products affected across 3 vendorsEnterprise LinuxEnterprise Linux ServerEnterprise Linux Server Aus

Using N/A by N/A?

Get instant alerts when new vulnerabilities affect N/A - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 1%
SSVC
PoC

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Vendor states this is fixed in 0:2.12.5-7.el10_0 (unaffected)
Vendor states this is fixed in 0:2.9.1-6.el7_9.10 (unaffected)
Vendor states this is fixed in 0:2.9.13-1.el9_0.5 (unaffected)
Vendor states this is fixed in 0:2.9.13-10.el9_4 (unaffected)
Vendor states this is fixed in 0:2.9.13-10.el9_6 (unaffected)
Vendor states this is fixed in 0:2.9.13-3.el9_2.7 (unaffected)
Vendor states this is fixed in 0:2.9.7-13.el8_6.10 (unaffected)
Vendor states this is fixed in 0:2.9.7-16.el8_8.9 (unaffected)
Vendor states this is fixed in 0:2.9.7-21.el8_10.1 (unaffected)
Vendor states this is fixed in 0:2.9.7-9.el8_2.3 (unaffected)
Vendor states this is fixed in 0:2.9.7-9.el8_4.6 (unaffected)
Vendor states this is fixed in 6 (unknown)

References (28)

Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2025:10630
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2025:10698
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2025:10699
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2025:11580
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2025:12098
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2025:12099
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2025:12199
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2025:12237

SSVC — Action Prioritization

SSVCPoCAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.5HIGHredhat
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-121CWE-190CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card