{"id":"UBUNTU-CVE-2019-12217","details":"An issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL) 2.0.9 when used in conjunction with libSDL2_image.a in SDL2_image 2.0.4. There is a NULL pointer dereference in the SDL stdio_read function in file/SDL_rwops.c.","modified":"2026-02-04T03:22:49.045709Z","published":"2019-05-20T17:29:00Z","related":["USN-4238-1"],"upstream":["CVE-2019-12217"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-12217"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4238-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-12217"}],"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":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"libsdl2-image-2.0-0","binary_version":"2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1"},{"binary_name":"libsdl2-image-dev","binary_version":"2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-12217.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":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"libsdl-image1.2","binary_version":"1.2.12-5+deb9u1ubuntu0.14.04.1~esm1"},{"binary_name":"libsdl-image1.2-dev","binary_version":"1.2.12-5+deb9u1ubuntu0.14.04.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-12217.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":{"availability":"No subscription required","binaries":[{"binary_name":"libsdl-image1.2","binary_version":"1.2.12-5+deb9u1ubuntu0.16.04.1"},{"binary_name":"libsdl-image1.2-dev","binary_version":"1.2.12-5+deb9u1ubuntu0.16.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-12217.json"}},{"package":{"name":"libsdl2-image","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libsdl2-image@2.0.1+dfsg-2+deb9u1build0.16.04.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.0+dfsg-3build2","2.0.1+dfsg-1","2.0.1+dfsg-2","2.0.1+dfsg-2+deb9u1build0.16.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libsdl2-image-2.0-0","binary_version":"2.0.1+dfsg-2+deb9u1build0.16.04.1"},{"binary_name":"libsdl2-image-dev","binary_version":"2.0.1+dfsg-2+deb9u1build0.16.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-12217.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":{"availability":"No subscription required","binaries":[{"binary_name":"libsdl-image1.2","binary_version":"1.2.12-8ubuntu0.1"},{"binary_name":"libsdl-image1.2-dev","binary_version":"1.2.12-8ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-12217.json"}},{"package":{"name":"libsdl2-image","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libsdl2-image@2.0.3+dfsg1-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.1+dfsg-3","2.0.1+dfsg-4","2.0.2+dfsg1-1","2.0.3+dfsg1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libsdl2-image-2.0-0","binary_version":"2.0.3+dfsg1-1"},{"binary_name":"libsdl2-image-dev","binary_version":"2.0.3+dfsg1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-12217.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:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]}