Buffer overflow in libgd - CVE-2016-6207

 

Buffer overflow in libgd - CVE-2016-6207

Published: August 12, 2016 / Updated: July 28, 2020


Vulnerability identifier: #VU32249
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-6207
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to perform a denial of service (DoS) attack.

Integer overflow in the _gdContributionsAlloc function in gd_interpolation.c in GD Graphics Library (aka libgd) before 2.2.3 allows remote attackers to cause a denial of service (out-of-bounds memory write or memory consumption) via unspecified vectors.


Affected software

libgd
Gentoo Linux
Debian Linux
Slackware Linux
Ubuntu
Fedora
gd (Alpine package)
libgd3 (Ubuntu package)
libgd2 (Debian package)
gd

How to mitigate CVE-2016-6207

Install update from vendor's website.

libgd - update to 2.2.3
gd (Alpine package) - update to 2.2.3-r0
libgd3 (Ubuntu package) - addressed in versions 2.1.0-3ubuntu0.3, 2.1.1-4ubuntu0.16.04.3
libgd2 (Debian package) - update to 2.1.0-5+deb8u6
gd - addressed in versions 2.1.1-10.fc23, 2.2.3-1.fc24

External References

Related Security Bulletins