{"id":"CVE-2017-2887","aliases":["ALPINE-CVE-2017-2887","DEBIAN-CVE-2017-2887","DLA-1134-1","DSA-4177-1","DSA-4184-1","EUVD-2017-12028","GHSA-hqjw-c32v-frhh","MGASA-2017-0397","MGASA-2018-0170","UBUNTU-CVE-2017-2887","openSUSE-SU-2024:10608-1"],"status":"published","title":"An exploitable buffer overflow vulnerability exists in the XCF property handling functionality of...","description":"An exploitable buffer overflow vulnerability exists in the XCF property handling functionality of SDL_image 2.0.1. A specially crafted xcf file can cause a stack-based buffer overflow resulting in potential code execution. An attacker can provide a specially crafted XCF file to trigger this vulnerability.","severity":{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-08","score":0.02656,"percentile":0.8577,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-787"],"published":"2017-10-11T18:00:00Z","modified":"2026-09-01T20:03:47Z","fixes":[{"ecosystem":"Alpine:v3.5","package":"sdl2_image","fixed_in":["2.0.1-r2"],"sources":["osv"]},{"ecosystem":"Alpine:v3.6","package":"sdl2_image","fixed_in":["2.0.1-r2"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"libsdl2-image","fixed_in":["2.0.1+dfsg-4"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libsdl2-image","fixed_in":["2.0.1+dfsg-4"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libsdl2-image","fixed_in":["2.0.1+dfsg-4"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"sdl-image1.2","fixed_in":["1.2.12-7"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"sdl-image1.2","fixed_in":["1.2.12-7"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"sdl-image1.2","fixed_in":["1.2.12-7"],"sources":["osv"]},{"ecosystem":"Debian:7","package":"sdl-image1.2","fixed_in":["1.2.12-2+deb7u1"],"sources":["osv"]},{"ecosystem":"Mageia:5","package":"sdl2_image","fixed_in":["2.0.0-4.1.mga5"],"sources":["osv"]},{"ecosystem":"Mageia:6","package":"sdl2_image","fixed_in":["2.0.1-1.1.mga6"],"sources":["osv"]},{"ecosystem":"Mageia:6","package":"mingw-SDL2_image","fixed_in":["2.0.1-2.1.mga6"],"sources":["osv"]},{"ecosystem":"Mageia:5","package":"SDL_image","fixed_in":["1.2.12-8.1.mga5"],"sources":["osv"]},{"ecosystem":"Mageia:6","package":"SDL_image","fixed_in":["1.2.12-9.1.mga6"],"sources":["osv"]},{"ecosystem":"Mageia:6","package":"mingw-SDL_image","fixed_in":["1.2.12-13.1.mga6"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"libsdl2-image","fixed_in":["2.0.0+dfsg-3+deb8u1build0.14.04.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"sdl-image1.2","fixed_in":["1.2.12-5+deb9u1build0.14.04.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"libsdl2-image","fixed_in":["2.0.1+dfsg-2+deb9u1build0.16.04.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"sdl-image1.2","fixed_in":["1.2.12-5+deb9u1build0.16.04.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.5","package":"sdl2_image","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.1-r2"}]}]},{"source":"osv","ecosystem":"Alpine:v3.6","package":"sdl2_image","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.1-r2"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"libsdl2-image","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.1+dfsg-4"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libsdl2-image","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.1+dfsg-4"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libsdl2-image","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.1+dfsg-4"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"sdl-image1.2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.12-7"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"sdl-image1.2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.12-7"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"sdl-image1.2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.12-7"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"sdl-image1.2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.12-2+deb7u1"}]}],"versions":["1.2.12-2"]},{"source":"osv","ecosystem":"Debian:8","package":"libsdl2-image","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0+dfsg-3+deb8u1"}]}],"versions":["2.0.0+dfsg-3"],"bundled":11},{"source":"osv","ecosystem":"Debian:9","package":"libsdl2-image","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.1+dfsg-2+deb9u1"}]}],"versions":["2.0.1+dfsg-2"],"bundled":11},{"source":"osv","ecosystem":"Debian:8","package":"sdl-image1.2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.12-5+deb8u1"}]}],"versions":["1.2.12-5"],"bundled":10},{"source":"osv","ecosystem":"Debian:9","package":"sdl-image1.2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.12-5+deb9u1"}]}],"versions":["1.2.12-5"],"bundled":10},{"source":"osv","ecosystem":"Mageia:5","package":"sdl2_image","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0-4.1.mga5"}]}]},{"source":"osv","ecosystem":"Mageia:6","package":"sdl2_image","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.1-1.1.mga6"}]}]},{"source":"osv","ecosystem":"Mageia:6","package":"mingw-SDL2_image","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.1-2.1.mga6"}]}]},{"source":"osv","ecosystem":"Mageia:5","package":"SDL_image","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.12-8.1.mga5"}]}]},{"source":"osv","ecosystem":"Mageia:6","package":"SDL_image","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.12-9.1.mga6"}]}]},{"source":"osv","ecosystem":"Mageia:6","package":"mingw-SDL_image","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.12-13.1.mga6"}]}]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"libsdl2-image","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0+dfsg-3+deb8u1build0.14.04.1"}]}],"versions":["2.0.0+dfsg-2","2.0.0+dfsg-3","2.0.0+dfsg-3build2"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"sdl-image1.2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.12-5+deb9u1build0.14.04.1"}]}],"versions":["1.2.12-4ubuntu1","1.2.12-5","1.2.12-5build2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libsdl2-image","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.1+dfsg-2+deb9u1build0.16.04.1"}]}],"versions":["2.0.0+dfsg-3build2","2.0.1+dfsg-1","2.0.1+dfsg-2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"sdl-image1.2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.12-5+deb9u1build0.16.04.1"}]}],"versions":["1.2.12-5build2"]}],"products":[{"vendor":"cisco systems, inc.","product":"simple direct media"},{"vendor":"debian","product":"debian_linux"},{"vendor":"libsdl","product":"sdl_image"},{"vendor":"talos","product":"simple direct media"}],"references":[{"url":"https://www.debian.org/security/2018/dsa-4177","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.securityfocus.com/bid/101215","tags":["vdb-entry","x_refsource_BID","x_transferred","Broken Link","web"]},{"url":"https://www.debian.org/security/2018/dsa-4184","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0394","tags":["x_refsource_MISC","x_transferred","Mitigation","Third Party Advisory","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-2887"},{"url":"https://github.com/advisories/GHSA-hqjw-c32v-frhh"},{"url":"https://security.alpinelinux.org/vuln/CVE-2017-2887","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-2887","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2017-0397.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=21881","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/C7QAEI2QV3QGJR5OS43R5U3U47LAHQRO/","tags":["web"]},{"url":"https://advisories.mageia.org/MGASA-2018-0170.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=22650","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-2887/","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-2887","tags":["report"]},{"url":"https://hg.libsdl.org/SDL_image/rev/318484db0705","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-2887","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2017-12122","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14440","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14441","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14442","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14448","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14449","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14450","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-2887","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-3839","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-3977","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-12217","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-12218","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-12220","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-12221","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-12222","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-13616","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-5051","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-5052","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-5057","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-5058","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-5059","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-5060","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2017-2887","description":"An exploitable buffer overflow vulnerability exists in the XCF property handling functionality of SDL_image 2.0.1. A specially crafted xcf file can cause a stack-based buffer overflow resulting in potential code execution. An attacker can provide a specially crafted XCF file to trigger this vulnerability.","status":"published","published":"2017-10-11T18:00:00Z","modified":"2024-09-17T02:57:14.504Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"updated_at":"2026-11-02T14:33:15.543086Z"}],"euvd":[{"id":"EUVD-2017-12028","description":"An exploitable buffer overflow vulnerability exists in the XCF property handling functionality of SDL_image 2.0.1. A specially crafted xcf file can cause a stack-based buffer overflow resulting in potential code execution. An attacker can provide a specially crafted XCF file to trigger this vulnerability.","status":"published","published":"2017-10-11T18:00:00Z","modified":"2024-09-17T02:57:14Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T00:28:35.984836Z"}],"ghsa":[{"id":"GHSA-hqjw-c32v-frhh","title":"An exploitable buffer overflow vulnerability exists in the XCF property handling functionality of...","description":"An exploitable buffer overflow vulnerability exists in the XCF property handling functionality of SDL_image 2.0.1. A specially crafted xcf file can cause a stack-based buffer overflow resulting in potential code execution. An attacker can provide a specially crafted XCF file to trigger this vulnerability.","status":"published","published":"2022-05-13T01:01:16Z","modified":"2023-02-01T05:02:22Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:49:53.83549Z"}],"nvd":[{"id":"CVE-2017-2887","description":"An exploitable buffer overflow vulnerability exists in the XCF property handling functionality of SDL_image 2.0.1. A specially crafted xcf file can cause a stack-based buffer overflow resulting in potential code execution. An attacker can provide a specially crafted XCF file to trigger this vulnerability.","status":"published","published":"2017-10-11T18:29:04.943Z","modified":"2026-06-17T01:17:04.13Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"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-787"],"updated_at":"2026-11-02T14:04:01.734197Z"}],"osv":[{"id":"ALPINE-CVE-2017-2887","description":"An exploitable buffer overflow vulnerability exists in the XCF property handling functionality of SDL_image 2.0.1. A specially crafted xcf file can cause a stack-based buffer overflow resulting in potential code execution. An attacker can provide a specially crafted XCF file to trigger this vulnerability.","status":"published","published":"2017-10-11T18:29:04.943Z","modified":"2026-06-15T18:24:36.887899944Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:27:46.716249Z"},{"id":"CVE-2017-2887","description":"An exploitable buffer overflow vulnerability exists in the XCF property handling functionality of SDL_image 2.0.1. A specially crafted xcf file can cause a stack-based buffer overflow resulting in potential code execution. An attacker can provide a specially crafted XCF file to trigger this vulnerability.","status":"published","published":"2017-10-11T18:29:04.943Z","modified":"2026-04-16T06:17:33.955240714Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/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-2887","description":"An exploitable buffer overflow vulnerability exists in the XCF property handling functionality of SDL_image 2.0.1. A specially crafted xcf file can cause a stack-based buffer overflow resulting in potential code execution. An attacker can provide a specially crafted XCF file to trigger this vulnerability.","status":"published","published":"2017-10-11T18:29:04.943Z","modified":"2026-09-01T20:03:47.998494488Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/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-2887","description":"An exploitable buffer overflow vulnerability exists in the XCF property handling functionality of SDL_image 2.0.1. A specially crafted xcf file can cause a stack-based buffer overflow resulting in potential code execution. An attacker can provide a specially crafted XCF file to trigger this vulnerability.","status":"published","published":"2017-10-11T18:29:00Z","modified":"2026-04-22T11:23:45.207505Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"},{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"},{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/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":"DLA-1134-1","title":"sdl-image1.2 - security update","status":"published","published":"2017-10-16T00:00:00Z","modified":"2026-03-09T01:01:12.735822Z","updated_at":"2026-11-02T15:46:09.336894Z"},{"id":"DSA-4177-1","title":"libsdl2-image - security update","status":"published","published":"2018-04-20T00:00:00Z","modified":"2026-03-09T01:21:09.761527Z","updated_at":"2026-11-02T15:46:16.862196Z"},{"id":"DSA-4184-1","title":"sdl-image1.2 - security update","status":"published","published":"2018-04-28T00:00:00Z","modified":"2026-03-09T01:19:36.868169Z","updated_at":"2026-11-02T15:46:16.862196Z"},{"id":"MGASA-2017-0397","title":"Updated sdl2_image \u0026 mingw packages fix security vulnerability","description":"An exploitable buffer overflow vulnerability exists in the XCF property\nhandling functionality of SDL_image 2.0.1. A specially crafted xcf file\ncan cause a stack-based buffer overflow resulting in potential code\nexecution. An attacker can provide a specially crafted XCF file to\ntrigger this vulnerability (CVE-2017-2887).\n","status":"published","published":"2017-11-02T21:47:07Z","modified":"2026-04-16T06:23:35.668157246Z","updated_at":"2026-11-02T15:49:40.442238Z"},{"id":"MGASA-2018-0170","title":"Updated SDL_image packages fix security vulnerability","description":"An exploitable buffer overflow vulnerability exists in the XCF property\nhandling functionality of SDL_image 2.0.1. A specially crafted xcf file\ncan cause a stack-based buffer overflow resulting in potential code\nexecution. An attacker can provide a specially crafted XCF file to\ntrigger this vulnerability (CVE-2017-2887).\n","status":"published","published":"2018-03-19T12:13:14Z","modified":"2026-04-16T06:25:55.464477412Z","updated_at":"2026-11-02T15:49:40.442238Z"},{"id":"openSUSE-SU-2024:10608-1","title":"libSDL2_image-2_0-0-2.0.5-1.14 on GA media","description":"These are all security issues fixed in the libSDL2_image-2_0-0-2.0.5-1.14 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:03:33.673961Z","updated_at":"2026-11-02T16:58:34.487567Z"}]}}
