Heap-based buffer overflow - CVE-2016-3074

 

Heap-based buffer overflow - CVE-2016-3074

Published: April 26, 2016 / Updated: August 4, 2020


Vulnerability identifier: #VU33631
CSH Severity: High
CVSS v4: 9.3 [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]
CVE-ID: CVE-2016-3074
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

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

The vulnerability exists due to a boundary error in Integer signedness error in GD Graphics Library 2.1.1 (aka libgd or libgd2). A remote attacker can use crafted compressed gd2 data to trigger 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.


Affected software

Gentoo Linux
Slackware Linux
Fedora
gd (Alpine package)
gd

How to mitigate CVE-2016-3074

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

gd (Alpine package) - update to 2.1.1-r1
gd - addressed in versions 2.1.1-3.fc22, 2.1.1-5.fc23, 2.1.1-7.fc24

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins