{"schemaVersion":3,"id":"CVE-2018-3977","aliases":["SUSE-SU-2018:3861-1","UBUNTU-CVE-2018-3977","DEBIAN-CVE-2018-3977"],"status":"published","duplicateOf":null,"title":null,"description":"An exploitable code execution vulnerability exists in the XCF image rendering functionality of SDL2_image-2.0.3. A specially crafted XCF image can cause a heap overflow, resulting in code execution. An attacker can display a specially crafted image to trigger this vulnerability.","dates":{"published":"2018-11-01T15:00:00.000Z","modified":"2024-09-17T02:33:07.107Z","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.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.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.0","versionLabel":"v3.0","source":"OSV · Debian","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}]},"epss":{"probability":0.03479,"percentile":0.88941,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.03479},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03479,"percentile":0.88941}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03479,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03479,"percentile":0.88941}]},"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":[{"id":"REF_DD8B8CB4EEA083AB","name":"Exploit Reference (talosintelligence.com)","source":"reference","url":"https://talosintelligence.com/vulnerability_reports/TALOS-2018-0645","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"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":"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.3+dfsg1-3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.3+dfsg1-3","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-10","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.12-10","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+deb8u2build0.14.04.1~esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1","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+deb9u1ubuntu0.14.04.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.2.12-5+deb9u1ubuntu0.16.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.2.12-8ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.12-5+deb9u1ubuntu0.14.04.1~esm1 | < 1.2.12-5+deb9u1ubuntu0.16.04.1 | < 1.2.12-8ubuntu0.1","eol":null,"hubHref":null},{"vendor":"libsdl","product":"sdl_image","name":"sdl image","label":"sdl_image","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2.0.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"2.0.3","eol":null,"hubHref":"/vendor/libsdl/sdl_image"},{"vendor":"suse","product":"SDL_image&distro=SUSE Linux Enterprise Software Development Kit 11 SP4","name":"SDL_image","label":"SDL_image&distro=SUSE Linux Enterprise Software Development Kit 11 SP4","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/SDL_image&distro=SUSE Linux Enterprise Software Development Kit 11 SP4","purlType":"rpm","versions":[{"text":"< 1.2.6-84.46.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.6-84.46.1","eol":null,"hubHref":null},{"vendor":"simple directmedia layer","product":"simple directmedia layer","name":"Simple DirectMedia Layer","label":"simple directmedia layer","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"Simple DirectMedia Layer SDL2_image 2.0.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"Simple DirectMedia Layer SDL2_image 2.0.3","eol":null,"hubHref":"/vendor/simple_directmedia_layer/simple_directmedia_layer"}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://security.gentoo.org/glsa/201903-17","label":"security.gentoo.org/glsa/201903-17","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/07/msg00021.html","label":"lists.debian.org/debian-lts-announce/2019/07/msg00021.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/07/msg00026.html","label":"lists.debian.org/debian-lts-announce/2019/07/msg00026.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://usn.ubuntu.com/4238-1/","label":"usn.ubuntu.com/4238-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU"]},{"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2018-0645","label":"talosintelligence.com/vulnerability_reports/TALOS-2018-0645","hostname":"talosintelligence.com","tags":["X Refsource MISC","Exploit","Third Party Advisory","REPORT"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20183861-1/","label":"www.suse.com/support/update/announcement/2018/suse-su-20183861-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1114519","label":"bugzilla.suse.com/1114519","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2018-3977","label":"www.suse.com/security/cve/CVE-2018-3977","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2018-3977","label":"ubuntu.com/security/CVE-2018-3977","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://hg.libsdl.org/SDL_image/rev/170d7d32e4a8","label":"hg.libsdl.org/SDL_image/rev/170d7d32e4a8","hostname":"hg.libsdl.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-4238-1","label":"ubuntu.com/security/notices/USN-4238-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-3977","label":"www.cve.org/CVERecord?id=CVE-2018-3977","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-3977","label":"security-tracker.debian.org/tracker/CVE-2018-3977","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-1861-1","DLA-1865-1","MGASA-2018-0454","MGASA-2019-0363","OPENSUSE-SU-2018:3906-1","USN-4238-1"],"duplicates":[],"related":["OPENSUSE-SU-2018:3906-1","USN-4238-1"]},"timeline":[{"kind":"published","date":"2018-11-01T15:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-17T02:33:07.107Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":46,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T13:40:34.957Z","stale":false,"partial":false}}