Name | CVE-2016-6905 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-3619-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libgd2 (PTS) | jessie, jessie (lts) | 2.1.0-5+deb8u15 | fixed |
| stretch (security) | 2.2.4-2+deb9u4 | fixed |
| stretch (lts), stretch | 2.2.4-2+deb9u6 | fixed |
| buster (security), buster, buster (lts) | 2.2.5-5.2+deb10u1 | fixed |
| bullseye | 2.3.0-2 | fixed |
| bookworm | 2.3.3-9 | fixed |
| sid, trixie | 2.3.3-12 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
libgd2 | source | wheezy | (not affected) | | | |
libgd2 | source | jessie | 2.1.0-5+deb8u4 | | DSA-3619-1 | |
libgd2 | source | (unstable) | 2.2.2-29-g3c2b605-1 | | | |
Notes
[wheezy] - libgd2 <not-affected> (Vulnerable code not present)
https://github.com/libgd/libgd/issues/248
https://github.com/libgd/libgd/pull/251
https://github.com/libgd/libgd/commit/5a3f19e962b507560c9206965087db4dc0ad107f
Fixed by: https://github.com/libgd/libgd/commit/3c2b605d72e8b080dace1d98a6e50b46c1d12186
followed by: https://github.com/libgd/libgd/commit/01c61f8ab110a77ae64b5ca67c244c728c506f03
https://www.openwall.com/lists/oss-security/2016/07/12/4