Vulnerabilities · 2019 · Libgd
CVE-2019-6978
Libgd vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Libgd, Debian Linux, Ubuntu Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libgd runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/libgd/libgd/commit/553702980ae89c83f2d6e254d62cf82e204956d0 · Patch
- github.com/libgd/libgd/issues/492 · Patch
- github.com/php/php-src/commit/089f7c0bc28d399b0420aa6ef058e4c1c120b2ae · Patch
- lists.debian.org/debian-lts-announce/2019/01/msg00028.html · Third Party Advisory
- security.gentoo.org/glsa/201903-18 · Third Party Advisory
- usn.ubuntu.com/3900-1/ · Third Party Advisory
- www.debian.org/security/2019/dsa-4384 · Third Party Advisory
- lists.opensuse.org/opensuse-security-announce/2019-04/msg00025.html
- nvd.nist.gov/vuln/detail/CVE-2019-6978
- cve.org/CVERecord?id=CVE-2019-6978
More vulnerabilities in Libgd products
CVE-2021-40812CVE-2021-40145CVE-2021-38115CVE-2019-11038CVE-2019-6977CVE-2018-1000222CVE-2018-14553CVE-2017-6363All 39
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.