{"schemaVersion":3,"id":"CVE-2017-2887","aliases":["ALPINE-CVE-2017-2887","MGASA-2017-0397","MGASA-2018-0170","UBUNTU-CVE-2017-2887","DEBIAN-CVE-2017-2887","DLA-1134-1"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2017-10-11T18:00:00.000Z","modified":"2024-09-17T02:57:14.504Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"CVE.org","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true}]},"epss":{"probability":0.02656,"percentile":0.85434,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.02656},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02656,"percentile":0.85434}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02656,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02656,"percentile":0.85434}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"alpine","product":"sdl2_image","name":"sdl2_image","label":"sdl2_image","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/sdl2_image","purlType":"apk","versions":[{"text":"< 2.0.1-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.1-r2","eol":null,"hubHref":null},{"vendor":"debian","product":"libsdl2-image","name":"libsdl2-image","label":"libsdl2-image","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libsdl2-image","purlType":"deb","versions":[{"text":"< 2.0.1+dfsg-4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.1+dfsg-4","eol":null,"hubHref":null},{"vendor":"debian","product":"sdl-image1.2","name":"sdl-image1.2","label":"sdl-image1.2","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/sdl-image1.2","purlType":"deb","versions":[{"text":"< 1.2.12-7","noFixRecorded":false,"fixedIn":null},{"text":"< 1.2.12-2+deb7u1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.12-7 | < 1.2.12-2+deb7u1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libsdl2-image","name":"libsdl2-image","label":"libsdl2-image","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libsdl2-image","purlType":"deb","versions":[{"text":"< 2.0.0+dfsg-3+deb8u1build0.14.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.0.1+dfsg-2+deb9u1build0.16.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.0+dfsg-3+deb8u1build0.14.04.1 | < 2.0.1+dfsg-2+deb9u1build0.16.04.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"sdl-image1.2","name":"sdl-image1.2","label":"sdl-image1.2","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/sdl-image1.2","purlType":"deb","versions":[{"text":"< 1.2.12-5+deb9u1build0.14.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.2.12-5+deb9u1build0.16.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.12-5+deb9u1build0.14.04.1 | < 1.2.12-5+deb9u1build0.16.04.1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null},{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0 | 9.0","eol":{"isEol":true,"eolDate":"2020-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (Jessie)","eolFrom":"2020-06-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"8.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"libsdl","product":"sdl_image","name":"sdl image","label":"sdl_image","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2.0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"2.0.1","eol":null,"hubHref":"/vendor/libsdl/sdl_image"},{"vendor":"mageia","product":"SDL_image","name":"SDL_image","label":"SDL_image","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/SDL_image","purlType":"rpm","versions":[{"text":"< 1.2.12-8.1.mga5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.12-8.1.mga5","eol":null,"hubHref":null},{"vendor":"mageia","product":"sdl2_image","name":"sdl2_image","label":"sdl2_image","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/sdl2_image","purlType":"rpm","versions":[{"text":"< 2.0.0-4.1.mga5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.0-4.1.mga5","eol":null,"hubHref":null},{"vendor":"mageia","product":"mingw-SDL_image","name":"mingw-SDL_image","label":"mingw-SDL_image","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/mingw-SDL_image","purlType":"rpm","versions":[{"text":"< 1.2.12-13.1.mga6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.12-13.1.mga6","eol":null,"hubHref":null},{"vendor":"mageia","product":"mingw-SDL2_image","name":"mingw-SDL2_image","label":"mingw-SDL2_image","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/mingw-SDL2_image","purlType":"rpm","versions":[{"text":"< 2.0.1-2.1.mga6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.1-2.1.mga6","eol":null,"hubHref":null},{"vendor":"mageia","product":"SDL_image","name":"SDL_image","label":"SDL_image","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/SDL_image","purlType":"rpm","versions":[{"text":"< 1.2.12-9.1.mga6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.12-9.1.mga6","eol":null,"hubHref":null},{"vendor":"mageia","product":"sdl2_image","name":"sdl2_image","label":"sdl2_image","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/sdl2_image","purlType":"rpm","versions":[{"text":"< 2.0.1-1.1.mga6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.1-1.1.mga6","eol":null,"hubHref":null},{"vendor":"talos","product":"simple direct media","name":"Simple Direct Media","label":"simple direct media","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"Simple DirectMedia Layer SDL_image 2.0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"Simple DirectMedia Layer SDL_image 2.0.1","eol":null,"hubHref":"/vendor/talos/simple_direct_media"}],"affectedCount":14,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://www.debian.org/security/2018/dsa-4177","label":"www.debian.org/security/2018/dsa-4177","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"http://www.securityfocus.com/bid/101215","label":"www.securityfocus.com/bid/101215","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Broken Link"]},{"url":"https://www.debian.org/security/2018/dsa-4184","label":"www.debian.org/security/2018/dsa-4184","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0394","label":"www.talosintelligence.com/vulnerability_reports/TALOS-2017-0394","hostname":"www.talosintelligence.com","tags":["X Refsource MISC","Mitigation","Third Party Advisory","REPORT"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2017-2887","label":"security.alpinelinux.org/vuln/CVE-2017-2887","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2017-0397.html","label":"advisories.mageia.org/MGASA-2017-0397.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=21881","label":"bugs.mageia.org/show_bug.cgi?id=21881","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/C7QAEI2QV3QGJR5OS43R5U3U47LAHQRO/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://advisories.mageia.org/MGASA-2018-0170.html","label":"advisories.mageia.org/MGASA-2018-0170.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=22650","label":"bugs.mageia.org/show_bug.cgi?id=22650","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2017-2887/","label":"www.suse.com/security/cve/CVE-2017-2887/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-2887","label":"ubuntu.com/security/CVE-2017-2887","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://hg.libsdl.org/SDL_image/rev/318484db0705","label":"hg.libsdl.org/SDL_image/rev/318484db0705","hostname":"hg.libsdl.org","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-2887","label":"www.cve.org/CVERecord?id=CVE-2017-2887","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-2887","label":"security-tracker.debian.org/tracker/CVE-2017-2887","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-4177-1","DSA-4184-1"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2017-10-11T18:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-17T02:57:14.504Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":36,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T09:59:50.659Z","stale":false,"partial":false}}