← Vulnerability feed

Vulnerability record · CVE-2025-6021 · published 12 June 2025

CVE-2025-6021: Xmlsoft libxml2 out-of-bounds write vulnerability

Xmlsoft · Libxml2

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.

7.5 CVSS 3.1 High EPSS 1.4% · top 29.3% CWE-787 · Out-of-bounds write
7.5CVSS 3.1 base score
1.4%EPSS exploitation probability, 30 days
NoNot in CISA KEV
20Affected product versions listed by NVD
29References, 2 tagged exploit
18 Sep 2026Last modified by NVD

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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

20 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://access.redhat.com/errata/RHSA-2025:10630 Third Party Advisory
https://access.redhat.com/errata/RHSA-2025:10698 Third Party Advisory
https://access.redhat.com/errata/RHSA-2025:10699 Third Party Advisory
https://access.redhat.com/errata/RHSA-2025:11580 Third Party Advisory
https://access.redhat.com/errata/RHSA-2025:11673
https://access.redhat.com/errata/RHSA-2025:12098 Third Party Advisory
https://access.redhat.com/errata/RHSA-2025:12099 Third Party Advisory
https://access.redhat.com/errata/RHSA-2025:12199 Third Party Advisory
https://access.redhat.com/errata/RHSA-2025:12237 Third Party Advisory
https://access.redhat.com/errata/RHSA-2025:12239 Third Party Advisory
https://access.redhat.com/errata/RHSA-2025:12240 Third Party Advisory
https://access.redhat.com/errata/RHSA-2025:12241 Third Party Advisory
https://access.redhat.com/errata/RHSA-2025:13267 Third Party Advisory
https://access.redhat.com/errata/RHSA-2025:13289 Third Party Advisory
https://access.redhat.com/errata/RHSA-2025:13325 Third Party Advisory
https://access.redhat.com/errata/RHSA-2025:13335 Third Party Advisory
https://access.redhat.com/errata/RHSA-2025:13336 Third Party Advisory
https://access.redhat.com/errata/RHSA-2025:14059 Third Party Advisory
https://access.redhat.com/errata/RHSA-2025:14396 Third Party Advisory
https://access.redhat.com/errata/RHSA-2025:15308 Third Party Advisory
https://access.redhat.com/errata/RHSA-2025:15672 Third Party Advisory
https://access.redhat.com/errata/RHSA-2025:19020
https://access.redhat.com/errata/RHSA-2026:7519
https://access.redhat.com/security/cve/CVE-2025-6021 Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2372406 Issue Tracking
https://gitlab.gnome.org/GNOME/libxml2/-/issues/926 ExploitIssue TrackingVendor Advisory
https://lists.debian.org/debian-lts-announce/2025/07/msg00014.html
https://cert-portal.siemens.com/productcert/html/ssa-032379.html
https://gitlab.gnome.org/GNOME/libxml2/-/issues/926 ExploitIssue TrackingVendor Advisory

Track CVE-2025-6021 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2019-5544OpenSLP heap out-of-bounds write in VMware ESXi and Horizon DaaSOpenSLP as shipped in VMware ESXi and Horizon DaaS contains a heap overwrite (out-of-bounds write) flaw. VMware rates it Critical with a maximum CVSS…KEVEPSS 97%analysed9.8CVE-2019-11043PHP-FPM buffer overflow enables remote code executionPHP-FPM in certain configurations writes past allocated buffers into FCGI protocol data space, an out-of-bounds write (CWE-787, CWE-120). It affects …KEVEPSS 100%analysed9.8CVE-2018-14667RichFaces Framework EL injection enables unauthenticated remote code executionRichFaces Framework 3.X through 3.3.4 is vulnerable to Expression Language injection through the UserResource resource. A remote, unauthenticated att…KEVEPSS 74%analysed9.8CVE-2016-3427Oracle Java SE JMX Improper Access Control VulnerabilityCVE-2016-3427 is an unspecified vulnerability in Oracle Java SE 6u113, 7u99, 8u77, Java SE Embedded 8u77, and JRockit R28.3.9, reached through vector…KEVEPSS 92%analysed9.8CVE-2015-2590Oracle Java SE Libraries flaw allows remote code executionCVE-2015-2590 is an unspecified vulnerability in the Libraries component of Oracle Java SE 6u95, 7u80, 8u45 and Java SE Embedded 7u75, 8u33. The reco…KEVEPSS 25%analysed9.8CVE-2015-5119Adobe Flash Player ActionScript 3 ByteArray use-after-freeA use-after-free flaw exists in the ByteArray class of the ActionScript 3 implementation in Adobe Flash Player. Crafted Flash content that overrides …KEVEPSS 99%analysed9.8CVE-2015-3113Adobe Flash Player heap buffer overflow allows remote code executionAdobe Flash Player contains a heap-based buffer overflow (CWE-122/CWE-787) reachable through unspecified vectors. It affects Flash Player before 13.0…KEVEPSS 100%analysed9.8CVE-2015-3043Adobe Flash Player memory corruption allows arbitrary code executionAdobe Flash Player contains an out-of-bounds write (CWE-787) that corrupts memory and can lead to arbitrary code execution or a denial of service. Th…KEVEPSS 74%analysed

Source: NIST National Vulnerability Database (record CVE-2025-6021), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.