Back to CVE records
High 7.5Published Jun 12, 2025

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

Updated under an hour ago ()

Does this affect you?

It affects Red Hat Enterprise Linux 10 and 30 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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
7.5 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness (CWE)
CWE-787
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
redhat
NVD analysis
Modified
Record last updated
Oct 12, 2026
First seen by InfoSec Signals
Oct 12, 2026

Affected products

Affected products
from 0:2.12.5-7.el10_0 not affected
CNA record
from 0:2.9.1-6.el7_9.10 not affected
CNA record
from 0:2.9.7-9.el8_2.3 not affected
CNA record
from 0:2.9.7-9.el8_4.6 not affected
CNA record
from 0:2.9.7-13.el8_6.10 not affected
CNA record
from 0:2.9.7-13.el8_6.10 not affected
CNA record
from 0:2.9.13-10.el9_4 not affected
CNA record
1.0
CNA record
from 412.86.202509030110-0 not affected
CNA record
from 2.0.1-1754478727 not affected
CNA record
from 2.15.2-0.3.hum1 not affected
CNA record
from 1.5.5-1754504343 not affected
CNA record
Siemens SIMATIC CN 4100
siemens:simatic_cn_4100 (from the name)
before V5.0
CISA ADP
xmlsoft libxml2
xmlsoft:libxml2
before 2.14.4
NVD
redhat jboss_core_services
redhat:jboss_core_services
all versions
NVD
redhat openshift_container_platform
redhat:openshift_container_platform
4.12; 4.13; 4.14; 4.15; 4.16; 4.17; 4.18
NVD
redhat openshift_container_platform_for_arm64
redhat:openshift_container_platform_for_arm64
4.13; 4.14; 4.15; 4.16; 4.17; 4.18
NVD
redhat openshift_container_platform_for_ibm_z
redhat:openshift_container_platform_for_ibm_z
4.13; 4.14; 4.15; 4.16; 4.17; 4.18
NVD
redhat openshift_container_platform_for_linuxone
redhat:openshift_container_platform_for_linuxone
4.13; 4.14; 4.15; 4.16; 4.17; 4.18
NVD
redhat openshift_container_platform_for_power
redhat:openshift_container_platform_for_power
4.13; 4.14; 4.15; 4.16; 4.17; 4.18
NVD
redhat enterprise_linux
redhat:enterprise_linux
8.0; 9.0; 10.0
NVD
redhat enterprise_linux_eus
redhat:enterprise_linux_eus
8.4; 8.6; 8.8; 9.4; 9.6; 10.0
NVD
redhat enterprise_linux_for_arm_64
redhat:enterprise_linux_for_arm_64
8.0_aarch64; 9.0_aarch64; 9.4_aarch64; 10.0_aarch64
NVD
redhat enterprise_linux_for_arm_64_eus
redhat:enterprise_linux_for_arm_64_eus
9.4_aarch64; 9.6_aarch64; 10.0_aarch64
NVD
redhat enterprise_linux_for_ibm_z_systems
redhat:enterprise_linux_for_ibm_z_systems
8.0_s390x; 9.4_s390x; 10.0_s390x
NVD
redhat enterprise_linux_for_ibm_z_systems_eus
redhat:enterprise_linux_for_ibm_z_systems_eus
9.0_s390x; 9.4_s390x; 9.6_s390x; 10.0_s390x
NVD
redhat enterprise_linux_for_power_little_endian
redhat:enterprise_linux_for_power_little_endian
8.0_ppc64le; 9.0_ppc64le; 10.0_ppc64le
NVD
redhat enterprise_linux_for_power_little_endian_eus
redhat:enterprise_linux_for_power_little_endian_eus
9.4_ppc64le; 9.6_ppc64le; 10.0_ppc64le
NVD
redhat enterprise_linux_server
redhat:enterprise_linux_server
7.0
NVD
redhat enterprise_linux_server_aus
redhat:enterprise_linux_server_aus
8.2; 8.4; 8.6; 9.2; 9.4; 9.6
NVD
redhat enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions
redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions
9.4_ppc64le
NVD
redhat enterprise_linux_server_tus
redhat:enterprise_linux_server_tus
8.8
NVD
redhat in-vehicle_operating_system
redhat:in-vehicle_operating_system
1.0
NVD

References

  • vendor-advisory, x-refsource-redhat, third-party-advisory
  • vendor-advisory, x-refsource-redhat, third-party-advisory
  • vendor-advisory, x-refsource-redhat, third-party-advisory
  • vendor-advisory, x-refsource-redhat, third-party-advisory
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat, third-party-advisory
  • vendor-advisory, x-refsource-redhat, third-party-advisory
  • vendor-advisory, x-refsource-redhat, third-party-advisory
  • vendor-advisory, x-refsource-redhat, third-party-advisory
  • vendor-advisory, x-refsource-redhat, third-party-advisory
  • vendor-advisory, x-refsource-redhat, third-party-advisory
  • vendor-advisory, x-refsource-redhat, third-party-advisory
  • vendor-advisory, x-refsource-redhat, third-party-advisory
  • vendor-advisory, x-refsource-redhat, third-party-advisory
  • vendor-advisory, x-refsource-redhat, third-party-advisory
  • vendor-advisory, x-refsource-redhat, third-party-advisory
  • vendor-advisory, x-refsource-redhat, third-party-advisory
  • vendor-advisory, x-refsource-redhat, third-party-advisory
  • vendor-advisory, x-refsource-redhat, third-party-advisory
  • vendor-advisory, x-refsource-redhat, third-party-advisory
  • vendor-advisory, x-refsource-redhat, third-party-advisory
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vdb-entry, x-refsource-redhat, third-party-advisory
  • issue-tracking, x-refsource-redhat

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.