Debian DLA-1651-1 : libgd2 security update

High Nessus Plugin ID 121483

New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it's different from CVSS.

VPR Score: 7.4


The remote Debian host is missing a security update.


Several issues in libgd2, a graphics library that allows to quickly draw images, have been found.

CVE-2019-6977 A potential double free in gdImage*Ptr() has been reported by Solmaz Salimi (aka. Rooney).

CVE-2019-6978 Simon Scannell found a heap-based buffer overflow, exploitable with crafted image data.

CVE-2018-1000222 A new double free vulnerabilities in gdImageBmpPtr() has been reported by Solmaz Salimi (aka. Rooney).

CVE-2018-5711 Due to an integer signedness error the GIF core parsing function can enter an infinite loop. This will lead to a Denial of Service and exhausted server resources.

For Debian 8 'Jessie', these problems have been fixed in version 2.1.0-5+deb8u12.

We recommend that you upgrade your libgd2 packages.

NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.


Upgrade the affected packages.

See Also

Plugin Details

Severity: High

ID: 121483

File Name: debian_DLA-1651.nasl

Version: 1.3

Type: local

Agent: unix

Published: 2019/01/31

Updated: 2020/09/23

Dependencies: 12634

Risk Information

Risk Factor: High

VPR Score: 7.4

CVSS v2.0

Base Score: 7.5

Temporal Score: 5.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:POC/RL:OF/RC:C

CVSS v3.0

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libgd-dbg, p-cpe:/a:debian:debian_linux:libgd-dev, p-cpe:/a:debian:debian_linux:libgd-tools, p-cpe:/a:debian:debian_linux:libgd2-noxpm-dev, p-cpe:/a:debian:debian_linux:libgd2-xpm-dev, p-cpe:/a:debian:debian_linux:libgd3, cpe:/o:debian:debian_linux:8.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2019/01/30

Vulnerability Publication Date: 2018/01/16

Reference Information

CVE: CVE-2018-1000222, CVE-2018-5711, CVE-2019-6977, CVE-2019-6978