{"id":"CVE-2017-18120","aliases":["DEBIAN-CVE-2017-18120","EUVD-2017-9257","GHSA-6f9j-p2gf-3f72","MGASA-2018-0280","UBUNTU-CVE-2017-18120","USN-4803-1"],"status":"published","title":"A double-free bug in the read_gif function in gifread.c in gifsicle 1.90 allows a remote attacker...","description":"A double-free bug in the read_gif function in gifread.c in gifsicle 1.90 allows a remote attacker to cause a denial-of-service attack or unspecified other impact via a maliciously crafted file, because last_name is mishandled, a different vulnerability than CVE-2017-1000421.","severity":{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01707,"percentile":0.77452,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-415"],"published":"2018-02-02T09:00:00Z","modified":"2026-10-20T13:21:17Z","fixes":[{"ecosystem":"Debian:12","package":"gifsicle","fixed_in":["1.91-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"gifsicle","fixed_in":["1.91-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"gifsicle","fixed_in":["1.91-1"],"sources":["osv"]},{"ecosystem":"Mageia:6","package":"gifsicle","fixed_in":["1.88-1.2.mga6"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"gifsicle","fixed_in":["1.78-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"gifsicle","fixed_in":["1.88-1ubuntu0.1~esm1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"gifsicle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.91-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"gifsicle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.91-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"gifsicle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.91-1"}]}]},{"source":"osv","ecosystem":"Mageia:6","package":"gifsicle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.88-1.2.mga6"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"gifsicle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.78-1ubuntu0.1~esm1"}]}],"versions":["1.71-1","1.76-1","1.77-1","1.78-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"gifsicle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.88-1ubuntu0.1~esm1"}]}],"versions":["1.88-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"gifsicle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.78-1ubuntu0.1~esm1"}]}],"versions":["1.71-1","1.76-1","1.77-1","1.78-1"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"gifsicle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.88-1ubuntu0.1~esm1"}]}],"versions":["1.88-1"],"bundled":2}],"products":[{"vendor":"lcdf","product":"gifsicle"}],"references":[{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878739","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","advisory","report"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=881120","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","advisory","report"]},{"url":"https://github.com/kohler/gifsicle/issues/117","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://github.com/kohler/gifsicle/commit/118a46090c50829dc543179019e6140e1235f909","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-18120"},{"url":"https://github.com/advisories/GHSA-6f9j-p2gf-3f72"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-18120","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2018-0280.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=23134","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/BGGLSEKCDM2OZ67XRI7KOASI4G7PRUX2/","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2017-18120","tags":["report"]},{"url":"https://github.com/kohler/gifsicle/commit/263cd4519f45bc6ecde74ee280eb1d68ee2de642","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-18120","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4803-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-1000421","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-18120","description":"A double-free bug in the read_gif function in gifread.c in gifsicle 1.90 allows a remote attacker to cause a denial-of-service attack or unspecified other impact via a maliciously crafted file, because last_name is mishandled, a different vulnerability than CVE-2017-1000421.","status":"published","published":"2018-02-02T09:00:00Z","modified":"2024-08-05T21:13:48.196Z","updated_at":"2026-11-02T14:33:21.747294Z"}],"euvd":[{"id":"EUVD-2017-9257","description":"A double-free bug in the read_gif function in gifread.c in gifsicle 1.90 allows a remote attacker to cause a denial-of-service attack or unspecified other impact via a maliciously crafted file, because last_name is mishandled, a different vulnerability than CVE-2017-1000421.","status":"published","published":"2018-02-02T09:00:00Z","modified":"2024-08-05T21:13:48Z","updated_at":"2026-11-03T02:23:07.6199Z"}],"ghsa":[{"id":"GHSA-6f9j-p2gf-3f72","title":"A double-free bug in the read_gif function in gifread.c in gifsicle 1.90 allows a remote attacker...","description":"A double-free bug in the read_gif function in gifread.c in gifsicle 1.90 allows a remote attacker to cause a denial-of-service attack or unspecified other impact via a maliciously crafted file, because last_name is mishandled, a different vulnerability than CVE-2017-1000421.","status":"published","published":"2022-05-14T03:44:36Z","modified":"2023-02-03T05:00:30Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T14:52:47.993176Z"}],"nvd":[{"id":"CVE-2017-18120","description":"A double-free bug in the read_gif function in gifread.c in gifsicle 1.90 allows a remote attacker to cause a denial-of-service attack or unspecified other impact via a maliciously crafted file, because last_name is mishandled, a different vulnerability than CVE-2017-1000421.","status":"published","published":"2018-02-02T09:29:00.227Z","modified":"2026-06-17T01:12:13.713Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T14:04:13.257031Z"}],"osv":[{"id":"CVE-2017-18120","description":"A double-free bug in the read_gif function in gifread.c in gifsicle 1.90 allows a remote attacker to cause a denial-of-service attack or unspecified other impact via a maliciously crafted file, because last_name is mishandled, a different vulnerability than CVE-2017-1000421.","status":"published","published":"2018-02-02T09:29:00.227Z","modified":"2026-10-20T13:21:17.832948633Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:05.486486Z"},{"id":"DEBIAN-CVE-2017-18120","description":"A double-free bug in the read_gif function in gifread.c in gifsicle 1.90 allows a remote attacker to cause a denial-of-service attack or unspecified other impact via a maliciously crafted file, because last_name is mishandled, a different vulnerability than CVE-2017-1000421.","status":"published","published":"2018-02-02T09:29:00.227Z","modified":"2026-09-01T20:03:46.986993202Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:29.100767Z"},{"id":"UBUNTU-CVE-2017-18120","description":"A double-free bug in the read_gif function in gifread.c in gifsicle 1.90 allows a remote attacker to cause a denial-of-service attack or unspecified other impact via a maliciously crafted file, because last_name is mishandled, a different vulnerability than CVE-2017-1000421.","status":"published","published":"2018-02-02T09:29:00Z","modified":"2026-02-04T02:38:15.906761Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:14.977781Z"},{"id":"MGASA-2018-0280","title":"Updated gifsicle package fixes security vulnerability","description":"Updated gifsicle package fixes security vulnerability:\n\nA double-free bug in the read_gif function in gifread.c in gifsicle 1.90 allows\na remote attacker to cause a denial-of-service attack or unspecified other\nimpact via a maliciously crafted file, because last_name is mishandled\n(CVE-2017-18120).\n","status":"published","published":"2018-06-14T18:14:36Z","modified":"2026-04-16T06:26:00.666686131Z","updated_at":"2026-11-02T15:49:40.442238Z"},{"id":"USN-4803-1","title":"gifsicle vulnerabilities","description":"It was discovered that Gifsicle did not properly handle certain input. If a\nuser were tricked into opening a malicious GIF, an attacker could\npotentially execute arbitrary code.","status":"published","published":"2021-03-15T21:30:45Z","modified":"2026-06-29T13:48:26.647802362Z","updated_at":"2026-11-02T16:58:15.159055Z"}]}}
