Out-of-bounds read in libgd - CVE-2016-6132

 

Out-of-bounds read in libgd - CVE-2016-6132

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


Vulnerability identifier: #VU32248
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-6132
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.

The gdImageCreateFromTgaCtx function 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
Gentoo Linux
Fedora
gd (Alpine package)
gd

How to mitigate CVE-2016-6132

Install update from vendor's website.

libgd - update to 2.2.3
gd (Alpine package) - update to 2.2.3-r0
gd - update to 2.2.3-1.fc24

External References

Related Security Bulletins