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.6th percentile (scored ); unchanged over 30 days. About EPSS.
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-3900-1 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20190130 [SECURITY] [DLA 1651-1] libgd2 security update (mailing-list, Mailing List, Third Party Advisory)
- github.com/libgd/libgd/issues/492 (Patch, Third Party Advisory)
- DSA-4384 (vendor-advisory, Third Party Advisory)
- github.com/libgd/libgd/commit/553702980ae89c83f2d6e254d62cf82e204956d0 (Patch, Third Party Advisory)
- GLSA-201903-18 (vendor-advisory, Third Party Advisory)
- openSUSE-SU-2019:1148 (vendor-advisory)
- openSUSE-SU-2019:1140 (vendor-advisory)
- RHSA-2019:2722 (vendor-advisory)