CVE-2016-6906: libgd Out-of-bounds Read
Vulnerability summary
CVE-2016-6906 is a medium (CVSS 5.5) Out-of-bounds Read vulnerability in libgd. EPSS estimates a 1.99% chance of exploitation in the next 30 days, higher than 80.7% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 2Timeline
- 15-03-2017PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated5.5MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.99%
Chance of exploitation in the next 30 days
Percentile
81%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.99% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine1 product
- gd< 2.2.4-r0
Debian1 product
- libgd2< 2.2.4-1
Libgd1 product
- libgd≤ 2.2.3
Ubuntu1 product
- libgd2< 2.1.0-3ubuntu0.6 | < 2.1.1-4ubuntu0.16.04.6
4 vendors · 4 products
References
10 links- github.com/libgd/libgd/blob/gd-2.2.4/CHANGELOG.mdX Refsource CONFIRMRelease NotesThird Party Advisory
- github.com/libgd/libgd/commit/58b6dde319c301b0eae27d12e2a659e067d80558X Refsource CONFIRMPatchThird Party Advisory
- github.com/libgd/libgd/commit/fb0e0cce0b9f25389ab56604c3547351617e1415X Refsource CONFIRMPatchThird Party Advisory