{"id":"USN-3900-1","summary":"libgd2 vulnerabilities","details":"It was discovered that GD incorrectly handled memory when processing\ncertain images. A remote attacker could use this issue with a specially\ncrafted image file to cause GD to crash, resulting in a denial of service,\nor possibly execute arbitrary code.\n","modified":"2026-04-22T09:53:33.003078Z","published":"2019-02-28T14:08:30Z","related":["UBUNTU-CVE-2019-6977","UBUNTU-CVE-2019-6978"],"upstream":["CVE-2019-6977","CVE-2019-6978","UBUNTU-CVE-2019-6977","UBUNTU-CVE-2019-6978"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3900-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-6977"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-6978"}],"affected":[{"package":{"name":"libgd2","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/libgd2@2.1.0-3ubuntu0.11?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-3ubuntu0.11"}]}],"versions":["2.1.0-2","2.1.0-3","2.1.0-3ubuntu0.1","2.1.0-3ubuntu0.2","2.1.0-3ubuntu0.3","2.1.0-3ubuntu0.5","2.1.0-3ubuntu0.6","2.1.0-3ubuntu0.7","2.1.0-3ubuntu0.8","2.1.0-3ubuntu0.10"],"ecosystem_specific":{"binaries":[{"binary_version":"2.1.0-3ubuntu0.11","binary_name":"libgd-tools"},{"binary_version":"2.1.0-3ubuntu0.11","binary_name":"libgd3"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-3900-1.json","cves_map":{"ecosystem":"Ubuntu:14.04:LTS","cves":[{"id":"CVE-2019-6977","severity":[{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2019-6978","severity":[{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]}]}}},{"package":{"name":"libgd2","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libgd2@2.1.1-4ubuntu0.16.04.11?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.1-4ubuntu0.16.04.11"}]}],"versions":["2.1.1-4build1","2.1.1-4build2","2.1.1-4ubuntu0.16.04.1","2.1.1-4ubuntu0.16.04.2","2.1.1-4ubuntu0.16.04.3","2.1.1-4ubuntu0.16.04.5","2.1.1-4ubuntu0.16.04.6","2.1.1-4ubuntu0.16.04.7","2.1.1-4ubuntu0.16.04.8","2.1.1-4ubuntu0.16.04.10"],"ecosystem_specific":{"binaries":[{"binary_version":"2.1.1-4ubuntu0.16.04.11","binary_name":"libgd-tools"},{"binary_version":"2.1.1-4ubuntu0.16.04.11","binary_name":"libgd3"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-3900-1.json","cves_map":{"ecosystem":"Ubuntu:16.04:LTS","cves":[{"id":"CVE-2019-6977","severity":[{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2019-6978","severity":[{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]}]}}},{"package":{"name":"libgd2","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libgd2@2.2.5-4ubuntu0.3?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.5-4ubuntu0.3"}]}],"versions":["2.2.5-3","2.2.5-4","2.2.5-4ubuntu0.2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.2.5-4ubuntu0.3","binary_name":"libgd-tools"},{"binary_version":"2.2.5-4ubuntu0.3","binary_name":"libgd3"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-3900-1.json","cves_map":{"ecosystem":"Ubuntu:18.04:LTS","cves":[{"id":"CVE-2019-6977","severity":[{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2019-6978","severity":[{"score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]}]}}}],"schema_version":"1.7.5"}