{"id":"USN-5068-1","summary":"libgd2 vulnerabilities","details":"It was discovered that GD Graphics Library incorrectly handled certain GD  and GD2 files.\nAn attacker could possibly use this issue to cause a crash or expose sensitive information.\nThis issue only affected Ubuntu 20.04 LTS, Ubuntu 18.04 LTS, Ubuntu 16.04 ESM, and Ubuntu 14.04 ESM.\n(CVE-2017-6363)\n\nIt was discovered that GD Graphics Library incorrectly handled certain TGA files.\nAn attacker could possibly use this issue to cause a denial of service or\nexpose sensitive information. (CVE-2021-381)\n\nIt was discovered that GD Graphics Library incorrectly handled certain files.\nAn attacker could possibly use this issue to cause a crash.\n(CVE-2021-40145)\n","modified":"2026-06-29T13:48:10.661976160Z","published":"2021-09-08T13:08:35Z","related":["UBUNTU-CVE-2017-6363","UBUNTU-CVE-2021-38115","UBUNTU-CVE-2021-40145"],"upstream":["CVE-2017-6363","CVE-2021-38115","CVE-2021-40145","UBUNTU-CVE-2017-6363","UBUNTU-CVE-2021-38115","UBUNTU-CVE-2021-40145"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5068-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-6363"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-38115"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-40145"}],"affected":[{"package":{"name":"libgd2","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/libgd2?arch=source&distro=trusty%2Fesm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-3ubuntu0.11+esm2"}]}],"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","2.1.0-3ubuntu0.11","2.1.0-3ubuntu0.11+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libgd-tools","binary_version":"2.1.0-3ubuntu0.11+esm2"},{"binary_name":"libgd3","binary_version":"2.1.0-3ubuntu0.11+esm2"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2017-6363","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H"},{"type":"Ubuntu","score":"low"}]},{"id":"CVE-2021-38115","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]},{"id":"CVE-2021-40145","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}],"ecosystem":"Ubuntu:Pro:14.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5068-1.json"}},{"package":{"name":"libgd2","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libgd2?arch=source&distro=esm-infra%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.1-4ubuntu0.16.04.12+esm1"}]}],"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","2.1.1-4ubuntu0.16.04.11","2.1.1-4ubuntu0.16.04.12"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"libgd-tools","binary_version":"2.1.1-4ubuntu0.16.04.12+esm1"},{"binary_name":"libgd3","binary_version":"2.1.1-4ubuntu0.16.04.12+esm1"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:16.04:LTS","cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H"},{"score":"low","type":"Ubuntu"}],"id":"CVE-2017-6363"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}],"id":"CVE-2021-38115"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2021-40145"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5068-1.json"}},{"package":{"name":"libgd2","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libgd2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.5-4ubuntu0.5"}]}],"versions":["2.2.5-3","2.2.5-4","2.2.5-4ubuntu0.2","2.2.5-4ubuntu0.3","2.2.5-4ubuntu0.4"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.2.5-4ubuntu0.5","binary_name":"libgd-tools"},{"binary_name":"libgd3","binary_version":"2.2.5-4ubuntu0.5"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:18.04:LTS","cves":[{"id":"CVE-2017-6363","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H"},{"score":"low","type":"Ubuntu"}]},{"id":"CVE-2021-38115","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]},{"id":"CVE-2021-40145","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5068-1.json"}},{"package":{"name":"libgd2","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libgd2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.5-5.2ubuntu2.1"}]}],"versions":["2.2.5-5.2","2.2.5-5.2ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.2.5-5.2ubuntu2.1","binary_name":"libgd-tools"},{"binary_name":"libgd3","binary_version":"2.2.5-5.2ubuntu2.1"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:20.04:LTS","cves":[{"id":"CVE-2017-6363","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H"},{"score":"low","type":"Ubuntu"}]},{"id":"CVE-2021-38115","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2021-40145"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5068-1.json"}}],"schema_version":"1.7.5"}