{"id":"UBUNTU-CVE-2018-3977","details":"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.","modified":"2026-01-30T00:30:23.854781Z","published":"2018-11-01T15:29:00Z","related":["USN-4238-1"],"upstream":["CVE-2018-3977"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-3977"},{"type":"REPORT","url":"https://talosintelligence.com/vulnerability_reports/TALOS-2018-0645"},{"type":"REPORT","url":"https://hg.libsdl.org/SDL_image/rev/170d7d32e4a8"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4238-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-3977"}],"affected":[{"package":{"name":"libsdl2-image","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/libsdl2-image@2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1"}]}],"versions":["2.0.0+dfsg-2","2.0.0+dfsg-3","2.0.0+dfsg-3build2","2.0.0+dfsg-3+deb8u1build0.14.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1","binary_name":"libsdl2-image-2.0-0"},{"binary_version":"2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1","binary_name":"libsdl2-image-dev"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-3977.json"}},{"package":{"name":"sdl-image1.2","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/sdl-image1.2@1.2.12-5+deb9u1ubuntu0.14.04.1~esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.12-5+deb9u1ubuntu0.14.04.1~esm1"}]}],"versions":["1.2.12-4ubuntu1","1.2.12-5","1.2.12-5build2","1.2.12-5+deb9u1build0.14.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.12-5+deb9u1ubuntu0.14.04.1~esm1","binary_name":"libsdl-image1.2"},{"binary_version":"1.2.12-5+deb9u1ubuntu0.14.04.1~esm1","binary_name":"libsdl-image1.2-dev"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-3977.json"}},{"package":{"name":"sdl-image1.2","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/sdl-image1.2@1.2.12-5+deb9u1ubuntu0.16.04.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.12-5+deb9u1ubuntu0.16.04.1"}]}],"versions":["1.2.12-5build2","1.2.12-5+deb9u1build0.16.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.12-5+deb9u1ubuntu0.16.04.1","binary_name":"libsdl-image1.2"},{"binary_version":"1.2.12-5+deb9u1ubuntu0.16.04.1","binary_name":"libsdl-image1.2-dev"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-3977.json"}},{"package":{"name":"sdl-image1.2","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/sdl-image1.2@1.2.12-8ubuntu0.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.12-8ubuntu0.1"}]}],"versions":["1.2.12-6","1.2.12-7","1.2.12-8"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.12-8ubuntu0.1","binary_name":"libsdl-image1.2"},{"binary_version":"1.2.12-8ubuntu0.1","binary_name":"libsdl-image1.2-dev"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-3977.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}