CVE-2025-6021 : Detail

CVE-2025-6021

7.5
/
High
Overflow
2.12%V4
Network
2025-06-12
12h49 +00:00
2026-09-18
17h39 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

Libxml2: integer overflow in xmlbuildqname() leads to stack buffer overflow in 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.

CVE Informations

Related Weaknesses

CWE-ID Weakness Name Source
CWE-787 Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.

Metrics

Metrics Score Severity CVSS Vector Source
V3.1 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Base: Exploitabilty Metrics

The Exploitability metrics reflect the characteristics of the thing that is vulnerable, which we refer to formally as the vulnerable component.

Attack Vector

This metric reflects the context by which vulnerability exploitation is possible.

Network

The vulnerable component is bound to the network stack and the set of possible attackers extends beyond the other options listed below, up to and including the entire Internet. Such a vulnerability is often termed “remotely exploitable” and can be thought of as an attack being exploitable at the protocol level one or more network hops away (e.g., across one or more routers).

Attack Complexity

This metric describes the conditions beyond the attacker’s control that must exist in order to exploit the vulnerability.

Low

Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success when attacking the vulnerable component.

Privileges Required

This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.

None

The attacker is unauthorized prior to attack, and therefore does not require any access to settings or files of the vulnerable system to carry out an attack.

User Interaction

This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.

None

The vulnerable system can be exploited without interaction from any user.

Base: Scope Metrics

The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.

Scope

Formally, a security authority is a mechanism (e.g., an application, an operating system, firmware, a sandbox environment) that defines and enforces access control in terms of how certain subjects/actors (e.g., human users, processes) can access certain restricted objects/resources (e.g., files, CPU, memory) in a controlled manner. All the subjects and objects under the jurisdiction of a single security authority are considered to be under one security scope. If a vulnerability in a vulnerable component can affect a component which is in a different security scope than the vulnerable component, a Scope change occurs. Intuitively, whenever the impact of a vulnerability breaches a security/trust boundary and impacts components outside the security scope in which vulnerable component resides, a Scope change occurs.

Unchanged

An exploited vulnerability can only affect resources managed by the same security authority. In this case, the vulnerable component and the impacted component are either the same, or both are managed by the same security authority.

Base: Impact Metrics

The Impact metrics capture the effects of a successfully exploited vulnerability on the component that suffers the worst outcome that is most directly and predictably associated with the attack. Analysts should constrain impacts to a reasonable, final outcome which they are confident an attacker is able to achieve.

Confidentiality Impact

This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.

None

There is no loss of confidentiality within the impacted component.

Integrity Impact

This metric measures the impact to integrity of a successfully exploited vulnerability. Integrity refers to the trustworthiness and veracity of information.

None

There is no loss of integrity within the impacted component.

Availability Impact

This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.

High

There is a total loss of availability, resulting in the attacker being able to fully deny access to resources in the impacted component; this loss is either sustained (while the attacker continues to deliver the attack) or persistent (the condition persists even after the attack has completed). Alternatively, the attacker has the ability to deny some availability, but the loss of availability presents a direct, serious consequence to the impacted component (e.g., the attacker cannot disrupt existing connections, but can prevent new connections; the attacker can repeatedly exploit a vulnerability that, in each instance of a successful attack, leaks a only small amount of memory, but after repeated exploitation causes a service to become completely unavailable).

Temporal Metrics

The Temporal metrics measure the current state of exploit techniques or code availability, the existence of any patches or workarounds, or the confidence in the description of a vulnerability.

Environmental Metrics

These metrics enable the analyst to customize the CVSS score depending on the importance of the affected IT asset to a user’s organization, measured in terms of Confidentiality, Integrity, and Availability.

EPSS

EPSS is a scoring model that predicts the likelihood of a vulnerability being exploited.

EPSS Score

The EPSS model produces a probability score between 0 and 1 (0 and 100%). The higher the score, the greater the probability that a vulnerability will be exploited.

EPSS Percentile

The percentile is used to rank CVE according to their EPSS score. For example, a CVE in the 95th percentile according to its EPSS score is more likely to be exploited than 95% of other CVE. Thus, the percentile is used to compare the EPSS score of a CVE with that of other CVE.

Products Mentioned

Configuraton 0

Xmlsoft>>Libxml2 >> Version To (excluding) 2.14.4

Configuraton 0

Redhat>>Jboss_core_services >> Version -

Redhat>>Openshift_container_platform >> Version 4.12

Redhat>>Openshift_container_platform >> Version 4.13

Redhat>>Openshift_container_platform >> Version 4.14

Redhat>>Openshift_container_platform >> Version 4.15

Redhat>>Openshift_container_platform >> Version 4.16

Redhat>>Openshift_container_platform >> Version 4.17

Redhat>>Openshift_container_platform >> Version 4.18

Redhat>>Openshift_container_platform_for_arm64 >> Version 4.13

Redhat>>Openshift_container_platform_for_arm64 >> Version 4.14

Redhat>>Openshift_container_platform_for_arm64 >> Version 4.15

Redhat>>Openshift_container_platform_for_arm64 >> Version 4.16

Redhat>>Openshift_container_platform_for_arm64 >> Version 4.17

Redhat>>Openshift_container_platform_for_arm64 >> Version 4.18

Redhat>>Openshift_container_platform_for_ibm_z >> Version 4.13

Redhat>>Openshift_container_platform_for_ibm_z >> Version 4.14

Redhat>>Openshift_container_platform_for_ibm_z >> Version 4.15

Redhat>>Openshift_container_platform_for_ibm_z >> Version 4.16

Redhat>>Openshift_container_platform_for_ibm_z >> Version 4.17

Redhat>>Openshift_container_platform_for_ibm_z >> Version 4.18

Redhat>>Openshift_container_platform_for_linuxone >> Version 4.13

Redhat>>Openshift_container_platform_for_linuxone >> Version 4.14

Redhat>>Openshift_container_platform_for_linuxone >> Version 4.15

Redhat>>Openshift_container_platform_for_linuxone >> Version 4.16

Redhat>>Openshift_container_platform_for_linuxone >> Version 4.17

Redhat>>Openshift_container_platform_for_linuxone >> Version 4.18

Redhat>>Openshift_container_platform_for_power >> Version 4.13

Redhat>>Openshift_container_platform_for_power >> Version 4.14

Redhat>>Openshift_container_platform_for_power >> Version 4.15

Redhat>>Openshift_container_platform_for_power >> Version 4.16

Redhat>>Openshift_container_platform_for_power >> Version 4.17

Redhat>>Openshift_container_platform_for_power >> Version 4.18

Redhat>>Enterprise_linux >> Version 8.0

Redhat>>Enterprise_linux >> Version 9.0

Redhat>>Enterprise_linux >> Version 10.0

Redhat>>Enterprise_linux_eus >> Version 8.4

Redhat>>Enterprise_linux_eus >> Version 8.6

Redhat>>Enterprise_linux_eus >> Version 8.8

Redhat>>Enterprise_linux_eus >> Version 9.4

Redhat>>Enterprise_linux_eus >> Version 9.6

Redhat>>Enterprise_linux_eus >> Version 10.0

Redhat>>Enterprise_linux_for_arm_64 >> Version 8.0_aarch64

Redhat>>Enterprise_linux_for_arm_64 >> Version 9.0_aarch64

Redhat>>Enterprise_linux_for_arm_64 >> Version 9.4_aarch64

Redhat>>Enterprise_linux_for_arm_64 >> Version 10.0_aarch64

Redhat>>Enterprise_linux_for_arm_64_eus >> Version 9.4_aarch64

Redhat>>Enterprise_linux_for_arm_64_eus >> Version 9.6_aarch64

Redhat>>Enterprise_linux_for_arm_64_eus >> Version 10.0_aarch64

Redhat>>Enterprise_linux_for_ibm_z_systems >> Version 8.0_s390x

Redhat>>Enterprise_linux_for_ibm_z_systems >> Version 9.4_s390x

Redhat>>Enterprise_linux_for_ibm_z_systems >> Version 10.0_s390x

Redhat>>Enterprise_linux_for_ibm_z_systems_eus >> Version 9.0_s390x

Redhat>>Enterprise_linux_for_ibm_z_systems_eus >> Version 9.4_s390x

Redhat>>Enterprise_linux_for_ibm_z_systems_eus >> Version 9.6_s390x

Redhat>>Enterprise_linux_for_ibm_z_systems_eus >> Version 10.0_s390x

Redhat>>Enterprise_linux_for_power_little_endian >> Version 8.0_ppc64le

Redhat>>Enterprise_linux_for_power_little_endian >> Version 9.0_ppc64le

Redhat>>Enterprise_linux_for_power_little_endian >> Version 10.0_ppc64le

Redhat>>Enterprise_linux_for_power_little_endian_eus >> Version 9.4_ppc64le

Redhat>>Enterprise_linux_for_power_little_endian_eus >> Version 9.6_ppc64le

Redhat>>Enterprise_linux_for_power_little_endian_eus >> Version 10.0_ppc64le

Redhat>>Enterprise_linux_server >> Version 7.0

Redhat>>Enterprise_linux_server_aus >> Version 8.2

Redhat>>Enterprise_linux_server_aus >> Version 8.4

Redhat>>Enterprise_linux_server_aus >> Version 8.6

Redhat>>Enterprise_linux_server_aus >> Version 9.2

Redhat>>Enterprise_linux_server_aus >> Version 9.4

Redhat>>Enterprise_linux_server_aus >> Version 9.6

Redhat>>Enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions >> Version 9.4_ppc64le

Redhat>>Enterprise_linux_server_tus >> Version 8.8

Redhat>>In-vehicle_operating_system >> Version 1.0

References

https://access.redhat.com/errata/RHSA-2025:10630
Tags : vendor-advisory, x_refsource_REDHAT
https://access.redhat.com/errata/RHSA-2025:10698
Tags : vendor-advisory, x_refsource_REDHAT
https://access.redhat.com/errata/RHSA-2025:10699
Tags : vendor-advisory, x_refsource_REDHAT
https://access.redhat.com/errata/RHSA-2025:11580
Tags : vendor-advisory, x_refsource_REDHAT
https://access.redhat.com/errata/RHSA-2025:11673
Tags : vendor-advisory, x_refsource_REDHAT
https://access.redhat.com/errata/RHSA-2025:12098
Tags : vendor-advisory, x_refsource_REDHAT
https://access.redhat.com/errata/RHSA-2025:12099
Tags : vendor-advisory, x_refsource_REDHAT
https://access.redhat.com/errata/RHSA-2025:12199
Tags : vendor-advisory, x_refsource_REDHAT
https://access.redhat.com/errata/RHSA-2025:12237
Tags : vendor-advisory, x_refsource_REDHAT
https://access.redhat.com/errata/RHSA-2025:12239
Tags : vendor-advisory, x_refsource_REDHAT
https://access.redhat.com/errata/RHSA-2025:12240
Tags : vendor-advisory, x_refsource_REDHAT
https://access.redhat.com/errata/RHSA-2025:12241
Tags : vendor-advisory, x_refsource_REDHAT
https://access.redhat.com/errata/RHSA-2025:13267
Tags : vendor-advisory, x_refsource_REDHAT
https://access.redhat.com/errata/RHSA-2025:13289
Tags : vendor-advisory, x_refsource_REDHAT
https://access.redhat.com/errata/RHSA-2025:13325
Tags : vendor-advisory, x_refsource_REDHAT
https://access.redhat.com/errata/RHSA-2025:13335
Tags : vendor-advisory, x_refsource_REDHAT
https://access.redhat.com/errata/RHSA-2025:13336
Tags : vendor-advisory, x_refsource_REDHAT
https://access.redhat.com/errata/RHSA-2025:14059
Tags : vendor-advisory, x_refsource_REDHAT
https://access.redhat.com/errata/RHSA-2025:14396
Tags : vendor-advisory, x_refsource_REDHAT
https://access.redhat.com/errata/RHSA-2025:15308
Tags : vendor-advisory, x_refsource_REDHAT
https://access.redhat.com/errata/RHSA-2025:15672
Tags : vendor-advisory, x_refsource_REDHAT
https://access.redhat.com/errata/RHSA-2025:19020
Tags : vendor-advisory, x_refsource_REDHAT
https://access.redhat.com/errata/RHSA-2026:7519
Tags : vendor-advisory, x_refsource_REDHAT
https://access.redhat.com/security/cve/CVE-2025-6021
Tags : vdb-entry, x_refsource_REDHAT
https://bugzilla.redhat.com/show_bug.cgi?id=2372406
Tags : issue-tracking, x_refsource_REDHAT
https://gitlab.gnome.org/GNOME/libxml2/-/issues/926
Tags : Exploit, Issue Tracking, Vendor Advisory