Out-of-bounds read in libgd - CVE-2016-6214
Published: August 12, 2016 / Updated: July 28, 2020
Vulnerability identifier: #VU32247
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-6214
CWE-ID: CWE-125
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.
gd_tga.c in the GD Graphics Library (aka libgd) before 2.2.3 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted TGA file.
Affected software
libgd
Debian Linux
Ubuntu
Fedora
gd (Alpine package)
libgd3 (Ubuntu package)
libgd2 (Debian package)
gd
Debian Linux
Ubuntu
Fedora
gd (Alpine package)
libgd3 (Ubuntu package)
libgd2 (Debian package)
gd
How to mitigate CVE-2016-6214
Install update from vendor's website.
libgd - update to 2.2.3
gd (Alpine package) - update to 2.1.1-r2
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+deb8u4
gd - update to 2.2.3-1.fc24
gd (Alpine package) - update to 2.1.1-r2
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+deb8u4
gd - update to 2.2.3-1.fc24
External References
- http://lists.opensuse.org/opensuse-updates/2016-08/msg00086.html
- http://lists.opensuse.org/opensuse-updates/2016-09/msg00078.html
- http://www.debian.org/security/2016/dsa-3619
- http://www.openwall.com/lists/oss-security/2016/07/13/12
- http://www.openwall.com/lists/oss-security/2016/07/13/5
- http://www.ubuntu.com/usn/USN-3060-1
- https://github.com/libgd/libgd/commit/10ef1dca63d62433fda13309b4a228782db823f7
- https://github.com/libgd/libgd/issues/247#issuecomment-232084241
- https://libgd.github.io/release-2.2.3.html