Executive Summary

This Alert is flagged as TOP 25 Common Weakness Enumeration from CWE/SANS. For more information, you can read this.
Title GD vulnerabilities
Name USN-3900-1 First vendor Publication 2019-02-28
Vendor Ubuntu Last vendor Modification 2019-02-28
Severity (Vendor) N/A Revision N/A

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:L/Au:N/C:P/I:P/A:P)
Cvss Base Score 7.5 Attack Range Network
Cvss Impact Score 6.4 Attack Complexity Low
Cvss Expoit Score 10 Authentication None Required
Calculate full CVSS 2.0 Vectors scores


A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 18.10 - Ubuntu 18.04 LTS - Ubuntu 16.04 LTS - Ubuntu 14.04 LTS


Several security issues were fixed in GD.

Software Description: - libgd2: GD Graphics Library


It was discovered that GD incorrectly handled memory when processing certain images. A remote attacker could use this issue with a specially crafted image file to cause GD to crash, resulting in a denial of service, or possibly execute arbitrary code.

Update instructions:

The problem can be corrected by updating your system to the following package versions:

Ubuntu 18.10:
libgd-tools 2.2.5-4ubuntu1.1
libgd3 2.2.5-4ubuntu1.1

Ubuntu 18.04 LTS:
libgd-tools 2.2.5-4ubuntu0.3
libgd3 2.2.5-4ubuntu0.3

Ubuntu 16.04 LTS:
libgd-tools 2.1.1-4ubuntu0.16.04.11
libgd3 2.1.1-4ubuntu0.16.04.11

Ubuntu 14.04 LTS:
libgd-tools 2.1.0-3ubuntu0.11
libgd3 2.1.0-3ubuntu0.11

In general, a standard system update will make all the necessary changes.

CVE-2019-6977, CVE-2019-6978

Package Information:

Original Source

Url : http://www.ubuntu.com/usn/USN-3900-1

CWE : Common Weakness Enumeration

% Id Name
50 % CWE-787 Out-of-bounds Write (CWE/SANS Top 25)
50 % CWE-415 Double Free

CPE : Common Platform Enumeration

Application 1
Application 1
Application 859
Os 4
Os 2

Snort® IPS/IDS

Date Description
2019-05-07 PHP gdImageColorMatch heap buffer overflow file download attempt
RuleID : 49673 - Revision : 1 - Type : SERVER-OTHER
2019-05-07 PHP gdImageColorMatch heap buffer overflow file upload attempt
RuleID : 49672 - Revision : 1 - Type : SERVER-OTHER

Alert History

If you want to see full details history, please login or register.
Date Informations
2019-02-28 17:18:41
  • First insertion