MEDIUM
CVE-2016-6906
CWE-125Published: March 15, 2017· Updated: Jun 17, 2026
5.5
CVSS v3.1
Official 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.
Technical Analysis
CVE-2016-6906 requires local access, meaning attackers must already have a foothold on the target system.
Exploitation does not require any privileges, though user interaction (Required) is needed, which slightly reduces the risk of mass automated attacks.
A successful exploit results in availability disruption (denial of service), with a CVSS base score of 5.5.
CVSS v3.1 Vector Breakdown
Exploitability
Attack VectorLocal
Attack ComplexityLow
Privileges Req.None
User InteractionRequired
ScopeUnchanged
Impact
ConfidentialityNone
IntegrityNone
AvailabilityHigh
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Affected Vendors & Products
libgd1 product(s)
libgd
Source: NVD CPE · 1 total CPE entries
Exploit & PoC Resources
NO KNOWN EXPLOITNo public exploit confirmed at this time
Exploit-DB
Offensive Security exploit database
GitHub PoC Search
Community PoC repositories
Rapid7 / Metasploit
Metasploit module search
PacketStorm
Security advisories & exploits
NVD Detail
Official NIST entry
MITRE CVE
CVE Program entry
External links open in a new tab. Always verify in a controlled environment before use.
Official Patches & Advisories
All References (10)
→
http://www.securityfocus.com/bid/96503Third Party Advisory · VDB Entry
→
https://github.com/libgd/libgd/blob/gd-2.2.4/CHANGELOG.mdRelease Notes · Third Party Advisory
→
https://github.com/libgd/libgd/commit/58b6dde319c301b0eae27d12e2a659e067d80558Patch · Third Party Advisory
→
https://github.com/libgd/libgd/commit/fb0e0cce0b9f25389ab56604c3547351617e1415Patch · Third Party Advisory
→
http://www.securityfocus.com/bid/96503Third Party Advisory · VDB Entry
→
https://github.com/libgd/libgd/blob/gd-2.2.4/CHANGELOG.mdRelease Notes · Third Party Advisory
→
https://github.com/libgd/libgd/commit/58b6dde319c301b0eae27d12e2a659e067d80558Patch · Third Party Advisory
→
https://github.com/libgd/libgd/commit/fb0e0cce0b9f25389ab56604c3547351617e1415Patch · Third Party Advisory
Quick Facts
CVE IDCVE-2016-6906
CVSS Score5.5 / 10
SeverityMEDIUM
WeaknessCWE-125
CISA KEVNo
Affected1 vendor(s)
PublishedMar 15, 2017
Related CVEs (CWE-125)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2016-6906 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.