Double Free in Libgd
CVE-2019-6978
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.
Vulnerability class: Double Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.045 (91.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 91st percentile — 91.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.044 · newest: 0.045 · change: +0.000
Affected products
- Libgd — versions 2.2.5
- Canonical Ubuntu Linux — versions 14.04, 16.04, 18.04
- Debian Linux — versions 8.0, 9.0
Weakness classification (CWE)
References
- github.com/php/php-src/commit/089f7c0bc28d399b0420aa6ef058e4c1c120b2ae (Patch, Third Party Advisory)
- usn.ubuntu.com/3900-1/ (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2019/01/msg00028.html (mailing-list, Mailing List, Third Party Advisory)
- github.com/libgd/libgd/issues/492 (Patch, Third Party Advisory)
- www.debian.org/security/2019/dsa-4384 (vendor-advisory, Third Party Advisory)
- github.com/libgd/libgd/commit/553702980ae89c83f2d6e254d62cf82e204956d0 (Patch, Third Party Advisory)
- security.gentoo.org/glsa/201903-18 (vendor-advisory, Third Party Advisory)
- lists.opensuse.org/opensuse-security-announce/2019-04/msg00025.html (vendor-advisory)
- lists.opensuse.org/opensuse-security-announce/2019-04/msg00031.html (vendor-advisory)
- access.redhat.com/errata/RHSA-2019:2722 (vendor-advisory)
Frequently asked questions
- What is CVE-2019-6978?
- CVE-2019-6978 is a critical-severity vulnerability in Libgd, classified under Double Free. CVSS score: 9.8/10. Published 2019-01-28.
- How severe is CVE-2019-6978?
- Critical severity. CVSS v3 base score is 9.8 out of 10.