{"schema_version":"1.7.5","id":"CVE-2018-1000222","published":"2018-08-20T20:29:01.347Z","modified":"2026-07-08T05:51:58.849191205Z","related":["SUSE-SU-2018:2837-1","SUSE-SU-2018:2840-1","SUSE-SU-2018:2888-1","SUSE-SU-2022:4067-1","openSUSE-SU-2024:10777-1","openSUSE-SU-2024:11167-1","openSUSE-SU-2024:11169-1"],"details":"Libgd version 2.2.5 contains a Double Free Vulnerability vulnerability in gdImageBmpPtr Function that can result in Remote Code Execution . This attack appear to be exploitable via Specially Crafted Jpeg Image can trigger double free. This vulnerability appears to have been fixed in after commit ac16bdf2d41724b5a65255d4c28fb0ec46bc42f5.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libgd/libgd","events":[{"introduced":"8255231b68889597d04d451a72438ab92a405aba"},{"last_affected":"8255231b68889597d04d451a72438ab92a405aba"}],"database_specific":{"cpe":"cpe:2.3:a:libgd:libgd:2.2.5:*:*:*:*:*:*:*","extracted_events":[{"introduced":"2.2.5"},{"last_affected":"2.2.5"}],"source":"CPE_STRING"}}],"versions":["2.2.5","gd-2.2.5"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-1000222.json"}}],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3CZ2QADQTKRHTGB2AHD7J4QQNDLBEMM6/"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2019/01/msg00028.html"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201903-18"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3755-1/"},{"type":"REPORT","url":"https://github.com/libgd/libgd/issues/447"}],"database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*"],"extracted_events":[{"introduced":"14.04"},{"last_affected":"14.04"},{"introduced":"16.04"},{"last_affected":"16.04"},{"introduced":"18.04"},{"last_affected":"18.04"}],"source":"CPE_STRING","vendor_product":"canonical:ubuntu_linux"},{"cpes":["cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"8.0"},{"last_affected":"8.0"}],"source":"CPE_STRING","vendor_product":"debian:debian_linux"}]},"severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}