CVE-2016-6906: Medium severity Libgd Libgd vulnerability
The readimagetga function in gdtga.c in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted TGA file, related to the decompression buffer.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/libgd2to a version that resolves this vulnerability.Fixed in 2.1.0-5+deb8u9Fixed in 2.2.4-1
Event History
Frequently Asked Questions
What is the severity of CVE-2016-6906?
CVE-2016-6906 is classified as a denial of service vulnerability that can lead to crashes or service disruption.
How do I fix CVE-2016-6906?
To fix CVE-2016-6906, upgrade your GD Graphics Library (libgd) to version 2.2.4 or later.
What causes CVE-2016-6906?
CVE-2016-6906 is caused by an out-of-bounds read in the read_image_tga function when processing crafted TGA files.
Which versions of libgd are affected by CVE-2016-6906?
CVE-2016-6906 affects libgd versions earlier than 2.2.4.
Can I mitigate CVE-2016-6906 without upgrading libgd?
There are no known mitigations for CVE-2016-6906 that do not involve upgrading to a patched version of libgd.