{"id":"USN-2987-1","summary":"libgd2 vulnerabilities","details":"It was discovered that the GD library incorrectly handled certain color\ntables in XPM images. If a user or automated system were tricked into\nprocessing a specially crafted XPM image, an attacker could cause a denial\nof service. This issue only affected Ubuntu 12.04 LTS and Ubuntu 14.04 LTS.\n(CVE-2014-2497)\n\nIt was discovered that the GD library incorrectly handled certain malformed\nGIF images. If a user or automated system were tricked into processing a\nspecially crafted GIF image, an attacker could cause a denial of service.\nThis issue only affected Ubuntu 12.04 LTS and Ubuntu 14.04 LTS.\n(CVE-2014-9709)\n\nIt was discovered that the GD library incorrectly handled memory when using\ngdImageFillToBorder(). A remote attacker could possibly use this issue to\ncause a denial of service. (CVE-2015-8874)\n\nIt was discovered that the GD library incorrectly handled memory when using\ngdImageScaleTwoPass(). A remote attacker could possibly use this issue to\ncause a denial of service. This issue only applied to Ubuntu 14.04 LTS,\nUbuntu 15.10 and Ubuntu 16.04 LTS. (CVE-2015-8877)\n\nHans Jerry Illikainen discovered that the GD library incorrectly handled\ncertain malformed GD images. If a user or automated system were tricked\ninto processing a specially crafted GD image, an attacker could cause a\ndenial of service or possibly execute arbitrary code. (CVE-2016-3074)\n","modified":"2026-02-10T04:40:59Z","published":"2016-05-31T15:17:37Z","related":["UBUNTU-CVE-2014-2497","UBUNTU-CVE-2014-9709","UBUNTU-CVE-2015-8874","UBUNTU-CVE-2015-8877","UBUNTU-CVE-2016-3074"],"upstream":["CVE-2014-2497","CVE-2014-9709","CVE-2015-8874","CVE-2015-8877","CVE-2016-3074","UBUNTU-CVE-2014-2497","UBUNTU-CVE-2014-9709","UBUNTU-CVE-2015-8874","UBUNTU-CVE-2015-8877","UBUNTU-CVE-2016-3074"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-2987-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2014-2497"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2014-9709"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2015-8874"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2015-8877"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2016-3074"}],"affected":[{"package":{"name":"libgd2","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/libgd2@2.1.0-3ubuntu0.1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-3ubuntu0.1"}]}],"versions":["2.1.0-2","2.1.0-3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.1.0-3ubuntu0.1","binary_name":"libgd-dev"},{"binary_version":"2.1.0-3ubuntu0.1","binary_name":"libgd-tools"},{"binary_version":"2.1.0-3ubuntu0.1","binary_name":"libgd2-noxpm-dev"},{"binary_version":"2.1.0-3ubuntu0.1","binary_name":"libgd2-xpm-dev"},{"binary_version":"2.1.0-3ubuntu0.1","binary_name":"libgd3"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:14.04:LTS","cves":[{"severity":[{"type":"Ubuntu","score":"low"}],"id":"CVE-2014-2497"},{"severity":[{"type":"Ubuntu","score":"low"}],"id":"CVE-2014-9709"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}],"id":"CVE-2015-8874"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}],"id":"CVE-2015-8877"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2016-3074"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-2987-1.json"}},{"package":{"name":"libgd2","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libgd2@2.1.1-4ubuntu0.16.04.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.1-4ubuntu0.16.04.1"}]}],"versions":["2.1.1-4build1","2.1.1-4build2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.1.1-4ubuntu0.16.04.1","binary_name":"libgd-dev"},{"binary_version":"2.1.1-4ubuntu0.16.04.1","binary_name":"libgd-tools"},{"binary_version":"2.1.1-4ubuntu0.16.04.1","binary_name":"libgd3"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:16.04:LTS","cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}],"id":"CVE-2015-8874"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}],"id":"CVE-2015-8877"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2016-3074"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-2987-1.json"}}],"schema_version":"1.7.3"}