7.5

CVE-2025-6021: Libxml2: integer overflow in xmlbuildqname() leads to stack buffer overflow in libxml2

Modified
AliasesALPINE-CVE-2025-6021UBUNTU-CVE-2025-6021DEBIAN-CVE-2025-6021
Published 12-06-2025Last modified 05-11-2026

Vulnerability summary

CVE-2025-6021 is a high (CVSS 7.5) Out-of-bounds Write vulnerability in redhat enterprise_linux. EPSS estimates a 1.47% chance of exploitation in the next 30 days, higher than 74.6% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (reference, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
1.47%
0%100%
Low · +0.10 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 24 · Related 11

Timeline

  1. 12-06-2025
    PublishedVulnerability first disclosed.
  2. 05-11-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

1.47%

Chance of exploitation in the next 30 days

Percentile

75%

Versus all other CVEs

30-day change

Increase +0.10 pp

From 1.37% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (gitlab.gnome.org)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard39 products
  • openjdk-11-openj9< 0.59.0-r2
  • openjdk-11-openj9-dbg< 0.59.0-r2
  • openjdk-11-openj9-default-jdk< 0.59.0-r2
  • openjdk-11-openj9-default-jvm< 0.59.0-r2
  • openjdk-11-openj9-doc< 0.59.0-r2
Redhat19 products
Alpine2 products
  • libxml2< 2.13.9-r0
  • qt6-qtwebengine< 6.8.3-r5
Debian1 product
  • libxml2< 2.9.14+dfsg-1.3~deb12u3 | < 2.12.7+dfsg+really2.9.14-2
Ubuntu1 product
  • libxml2< 2.9.1+dfsg1-3ubuntu4.13+esm8 | < 2.9.3+dfsg1-1ubuntu0.7+esm9 | < 2.9.4+dfsg1-6.1ubuntu1.9+esm4 | < 2.9.10+dfsg-5ubuntu0.20.04.10+esm1 | < 2.9.13+dfsg-1ubuntu0.8 | < 2.9.14+dfsg-1.3ubuntu3.4
Xmlsoft1 product

6 vendors · 63 products

References

38 links
Show all 38 references