CVE-2016-6905 json
The read_image_tga function in gd_tga.c in the GD Graphics Library (aka libgd) before 2.2.3 allows remote attackers to cause a denial of se…
published 2016-10-03 10 y ago modified 2026-06-17 4 mo ago also EUVD-2016-7790
- cvss
- 6.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.6%
- EPSS 2.6% chance of exploitation in 30 days, percentile 85%
- public exploits
- 0
- none known
Summary
The read_image_tga function in gd_tga.c 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 image.
Patch / fix
- libgd2 Debian 14, Debian 13, Debian 12 2.2.2-29-g3c2b605-1
debian advisories DEBIAN-CVE-2016-6905
- libgd2 Ubuntu 14.04 LTS 2.1.0-3ubuntu0.3
- libgd2 Ubuntu 16.04 LTS 2.1.1-4ubuntu0.16.04.3
ubuntu advisories UBUNTU-CVE-2016-6905
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- gd SLES for SAP 12 SP1, SLES 12 SP1, SLED 12 SP1 +2 more 2.1.0-12.1
suse advisories SUSE-SU-2016:2303-1
- gd openSUSE Tumbleweed 2.2.3-2.1
opensuse advisories openSUSE-SU-2024:10062-1
- github.com/libgd/libgd@3c2b605 commit
- github.com/libgd/libgd@01c61f8 commit
- github.com/libgd/libgd/issues/248 patch
- github.com/libgd/libgd#251 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-6905 updated cvss 4.0
gd: Out-of-bounds read in function read_image_tga in gd_tga.c
-
Red Hat Enterprise Linux 5 gd, php53, libwmf Red Hat Enterprise Linux 6 gd, libwmf, gd-progs, libwmf-lite Red Hat Enterprise Linux 7 gd, libwmf, gd-progs, libwmf-lite Red Hat OpenShift Enterprise 2 gd Red Hat Software Collections php54-php, php55-php, php54-php-gd, php55-php-gd, rh-php56-php, php54-php-cli, +72 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.56% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
github.com
/libgd/libgd/pull/251
issue-tracking, patch
-
github.com
/libgd/libgd/commit/3c2b605d72e8b080dace1d98a6e50b46c1d12186
issue-tracking, patch
-
github.com
/libgd/libgd/commit/01c61f8ab110a77ae64b5ca67c244c728c506f03
issue-tracking, patch
-
github.com
/libgd/libgd/issues/248
issue-tracking, patch
-
lists.opensuse.org
/opensuse-updates/2016-09/msg00078.html
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-updates/2016-08/msg00121.html
vendor-advisory, third-party-advisory
-
securityfocus.com
/bid/91743
vdb-entry, third-party-advisory
- libgd.github.io /release-2.2.3.html
-
openwall.com
/lists/oss-security/2016/08/23/1
mailing-list, third-party-advisory
Sources
- CVE List CVE-2016-6905
- NVD CVE-2016-6905
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.