Heap-based buffer overflow in Libxml2 - CVE-2016-1840

 

Heap-based buffer overflow in Libxml2 - CVE-2016-1840

Published: May 27, 2025


Vulnerability identifier: #VU109836
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2016-1840
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Gnome Development Team
Affected software:
Libxml2

Detailed vulnerability description

The vulnerability allows a local user to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in the xmlFAParsePosCharGroup function in libxml2. A local user can trick the victim into opening a specially crafted XML document, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

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


How to mitigate CVE-2016-1840

Cybersecurity Help is currently unaware of any official solution to address this vulnerability..

Sources