CVE-2019-6978

NameCVE-2019-6978
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1651-1, DSA-4384-1
Debian Bugs920728

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libgd2 (PTS)buster2.2.5-5.2fixed
buster (security)2.2.5-5.2+deb10u1fixed
bullseye2.3.0-2fixed
sid, trixie, bookworm2.3.3-9fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libgd2sourcejessie2.1.0-5+deb8u12DLA-1651-1
libgd2sourcestretch2.2.4-2+deb9u4DSA-4384-1
libgd2source(unstable)2.2.5-5.1920728

Notes

https://github.com/libgd/libgd/issues/492
https://github.com/libgd/libgd/commit/553702980ae89c83f2d6e254d62cf82e204956d0

Search for package or bug name: Reporting problems