What’s Vulnerable › Vulnerabilities
CVE-2016-6906
- Severity: medium (CVSS 5.5 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2017-03-15 · updated 2026-06-17
- Weakness: CWE-125
Description
The read_image_tga function in gd_tga.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 products
- Libgd: through 2.2.3
References
- http://www.debian.org/security/2017/dsa-3777
- http://www.securityfocus.com/bid/96503
- https://github.com/libgd/libgd/blob/gd-2.2.4/CHANGELOG.md
- https://github.com/libgd/libgd/commit/58b6dde319c301b0eae27d12e2a659e067d80558
- https://github.com/libgd/libgd/commit/fb0e0cce0b9f25389ab56604c3547351617e1415
- http://www.debian.org/security/2017/dsa-3777
- http://www.securityfocus.com/bid/96503
- https://github.com/libgd/libgd/blob/gd-2.2.4/CHANGELOG.md
- https://github.com/libgd/libgd/commit/58b6dde319c301b0eae27d12e2a659e067d80558
- https://github.com/libgd/libgd/commit/fb0e0cce0b9f25389ab56604c3547351617e1415
Get alerted when CVE-2016-6906 or the next vulnerability affects your stack