Integer overflow in Libxml2



Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2025-6021
CWE-ID CWE-190
Exploitation vector Network
Public exploit N/A
Vulnerable software
Libxml2
Universal components / Libraries / Libraries used by multiple products

Vendor Gnome Development Team

Security Bulletin

This security bulletin contains information about 1 vulnerabilities.

This vulnerability was moved from SB2025061728 into a separate bulletin. 

1) Integer overflow

EUVDB-ID: #VU111225

Risk: High

CVSSv4.0: 8.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2025-6021

CWE-ID: CWE-190 - Integer overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer overflow within the xmlBuildQName() function in tree.c . A remote attacker can pass specially crafted data to the application, trigger an integer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Libxml2: 2.0.0 - 2.14.3

CPE2.3 External links

https://bugzilla.redhat.com/show_bug.cgi?id=2372406
https://gitlab.gnome.org/GNOME/libxml2/-/issues/926
https://gitlab.gnome.org/GNOME/libxml2/-/merge_requests/314/diffs?commit_id=fce62e18175c57fce887cca70f05867ef8fded66


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###