| Name | CVE-2019-6978 |
| Description | The GD Graphics Library (aka LibGD) 2.2.5 has a double free in the gdImage*Ptr() functions in gd_gif_out.c, gd_jpeg.c, and gd_wbmp.c. NOTE: PHP is unaffected. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-1651-1, DSA-4384-1 |
| Debian Bugs | 920728 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| libgd2 (PTS) | bullseye | 2.3.0-2 | fixed |
| bullseye (security) | 2.3.0-2+deb11u2 | fixed | |
| bookworm | 2.3.3-9 | fixed | |
| bookworm (security) | 2.3.3-9+deb12u1 | fixed | |
| trixie | 2.3.3-13 | fixed | |
| trixie (security) | 2.3.3-14~deb13u1 | fixed | |
| forky, sid | 2.3.3-14 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| libgd2 | source | jessie | 2.1.0-5+deb8u12 | DLA-1651-1 | ||
| libgd2 | source | stretch | 2.2.4-2+deb9u4 | DSA-4384-1 | ||
| libgd2 | source | (unstable) | 2.2.5-5.1 | 920728 |
https://github.com/libgd/libgd/issues/492
https://github.com/libgd/libgd/commit/553702980ae89c83f2d6e254d62cf82e204956d0