{"id":"CVE-2019-12222","aliases":["ALPINE-CVE-2019-12222","BELL-CVE-2019-12222","DEBIAN-CVE-2019-12222","DLA-1861-1","DLA-1865-1","EUVD-2019-3867","GHSA-5j66-c8hx-v72f","MGASA-2019-0363","MGASA-2019-0364","UBUNTU-CVE-2019-12222","USN-4238-1","openSUSE-SU-2019:2070-1","openSUSE-SU-2019:2108-1","openSUSE-SU-2024:10608-1"],"status":"published","title":"An issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL) 2.0.9. There is an out-of...","description":"An issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL) 2.0.9. There is an out-of-bounds read in the function SDL_InvalidateMap at video/SDL_pixels.c.","severity":{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01931,"percentile":0.80166,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2019-05-20T16:33:48Z","modified":"2026-10-24T10:30:53Z","fixes":[{"ecosystem":"Alpine:v3.10","package":"sdl2_image","fixed_in":["2.0.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.7","package":"sdl2_image","fixed_in":["2.0.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.8","package":"sdl2_image","fixed_in":["2.0.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.9","package":"sdl2_image","fixed_in":["2.0.5-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"libsdl2-image","fixed_in":["2.0.5+dfsg1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libsdl2-image","fixed_in":["2.0.5+dfsg1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libsdl2-image","fixed_in":["2.0.5+dfsg1-1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"sdl-image1.2","fixed_in":["1.2.12-11"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"sdl-image1.2","fixed_in":["1.2.12-11"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"sdl-image1.2","fixed_in":["1.2.12-11"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libsdl2-image","fixed_in":["2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"sdl-image1.2","fixed_in":["1.2.12-5+deb9u1ubuntu0.14.04.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"sdl-image1.2","fixed_in":["1.2.12-5+deb9u1ubuntu0.16.04.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"sdl-image1.2","fixed_in":["1.2.12-8ubuntu0.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.10","package":"sdl2_image","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.7","package":"sdl2_image","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.8","package":"sdl2_image","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.9","package":"sdl2_image","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.5-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"libsdl2-image","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.5+dfsg1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libsdl2-image","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.5+dfsg1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libsdl2-image","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.5+dfsg1-1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"sdl-image1.2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.12-11"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"sdl-image1.2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.12-11"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"sdl-image1.2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.12-11"}]}]},{"source":"osv","ecosystem":"Debian:8","package":"libsdl2-image","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0+dfsg-3+deb8u2"}]}],"versions":["2.0.0+dfsg-3","2.0.0+dfsg-3+deb8u1"],"bundled":11},{"source":"osv","ecosystem":"Debian:8","package":"sdl-image1.2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.12-5+deb8u2"}]}],"versions":["1.2.12-5","1.2.12-5+deb8u1"],"bundled":11},{"source":"osv","ecosystem":"Mageia:7","package":"SDL_image","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.12-12.1.mga7"}]}],"bundled":13},{"source":"osv","ecosystem":"Mageia:7","package":"sdl2_image","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.5-1.mga7"}]}],"bundled":13},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libsdl2-image","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"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"sdl-image1.2","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"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"sdl-image1.2","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"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libsdl2-image","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"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"sdl-image1.2","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"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libsdl2-image","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"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"sdl-image1.2","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"],"bundled":12},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"sdl-image1.2","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"],"bundled":12},{"source":"osv","ecosystem":"openSUSE:Leap 15.0","package":"SDL2_image","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.5-lp151.2.5.1"}]}],"bundled":12},{"source":"osv","ecosystem":"openSUSE:Leap 15.1","package":"SDL2_image","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.5-lp151.2.5.1"}]}],"bundled":12},{"source":"osv","ecosystem":"SUSE:Package Hub 15","package":"SDL2_image","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.5-bp151.4.3.1"}]}],"bundled":12},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP1","package":"SDL2_image","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.5-bp151.4.3.1"}]}],"bundled":12}],"products":[{"vendor":"libsdl","product":"simple_directmedia_layer"}],"references":[{"url":"https://bugzilla.libsdl.org/show_bug.cgi?id=4621","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Vendor Advisory","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/07/msg00021.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/07/msg00026.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00012.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00029.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WJ2VRD57UOBT72JUC2DIFHEFCH4N64SW/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://usn.ubuntu.com/4238-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GY6FDFPYUJ7YPY3XB5U75VJHBSVRVIKO/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-12222"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GY6FDFPYUJ7YPY3XB5U75VJHBSVRVIKO"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WJ2VRD57UOBT72JUC2DIFHEFCH4N64SW"},{"url":"https://usn.ubuntu.com/4238-1"},{"url":"https://github.com/advisories/GHSA-5j66-c8hx-v72f"},{"url":"https://security.alpinelinux.org/vuln/CVE-2019-12222","tags":["advisory"]},{"url":"https://docs.bell-sw.com/security/cves/CVE-2019-12222","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-12222","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2019-0363.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=25766","tags":["report"]},{"url":"https://lists.opensuse.org/opensuse-updates/2019-09/msg00031.html","tags":["web"]},{"url":"https://advisories.mageia.org/MGASA-2019-0364.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=25767","tags":["report"]},{"url":"https://lists.opensuse.org/opensuse-updates/2019-09/msg00027.html","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2019-12222","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4238-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-12222","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-3977","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-5051","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-5052","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-7635","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-12216","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-12217","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-12218","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-12219","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-12220","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-12221","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-13616","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/H6CP3W3YJYYFIAMX7CDOYPH65QZMBRGD/#H6CP3W3YJYYFIAMX7CDOYPH65QZMBRGD","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1135787","tags":["report"]},{"url":"https://bugzilla.suse.com/1135789","tags":["report"]},{"url":"https://bugzilla.suse.com/1135796","tags":["report"]},{"url":"https://bugzilla.suse.com/1135806","tags":["report"]},{"url":"https://bugzilla.suse.com/1136101","tags":["report"]},{"url":"https://bugzilla.suse.com/1140419","tags":["report"]},{"url":"https://bugzilla.suse.com/1140421","tags":["report"]},{"url":"https://bugzilla.suse.com/1141844","tags":["report"]},{"url":"https://bugzilla.suse.com/1143763","tags":["report"]},{"url":"https://bugzilla.suse.com/1143764","tags":["report"]},{"url":"https://bugzilla.suse.com/1143766","tags":["report"]},{"url":"https://bugzilla.suse.com/1143768","tags":["report"]},{"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"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/L64IV5QDMXKI6JPESXNTCMESEKNUADR2/#L64IV5QDMXKI6JPESXNTCMESEKNUADR2","tags":["advisory"]},{"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"]}],"sources":{"cve":[{"id":"CVE-2019-12222","description":"An issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL) 2.0.9. There is an out-of-bounds read in the function SDL_InvalidateMap at video/SDL_pixels.c.","status":"published","published":"2019-05-20T16:33:48Z","modified":"2024-08-04T23:17:39.135Z","updated_at":"2026-11-02T14:20:24.025419Z"}],"euvd":[{"id":"EUVD-2019-3867","description":"An issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL) 2.0.9. There is an out-of-bounds read in the function SDL_InvalidateMap at video/SDL_pixels.c.","status":"published","published":"2019-05-20T16:33:48Z","modified":"2024-08-04T23:17:39Z","updated_at":"2026-11-03T02:40:46.416719Z"}],"ghsa":[{"id":"GHSA-5j66-c8hx-v72f","title":"An issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL) 2.0.9. There is an out-of...","description":"An issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL) 2.0.9. There is an out-of-bounds read in the function SDL_InvalidateMap at video/SDL_pixels.c.","status":"published","published":"2022-05-24T16:46:08Z","modified":"2024-04-04T00:42:53Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:55:51.119563Z"}],"nvd":[{"id":"CVE-2019-12222","description":"An issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL) 2.0.9. There is an out-of-bounds read in the function SDL_InvalidateMap at video/SDL_pixels.c.","status":"published","published":"2019-05-20T17:29:17.673Z","modified":"2026-06-17T02:14:16.627Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:05:13.880207Z"}],"osv":[{"id":"ALPINE-CVE-2019-12222","description":"An issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL) 2.0.9. There is an out-of-bounds read in the function SDL_InvalidateMap at video/SDL_pixels.c.","status":"published","published":"2019-05-20T17:29:17.673Z","modified":"2026-09-21T06:17:52.463091315Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:27:47.663013Z"},{"id":"BELL-CVE-2019-12222","title":"CVE-2019-12222 does not affect BellSoft software","status":"withdrawn","published":"2019-05-20T17:29:00Z","modified":"2026-01-26T09:46:43.46168Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:28:15.340685Z"},{"id":"CVE-2019-12222","description":"An issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL) 2.0.9. There is an out-of-bounds read in the function SDL_InvalidateMap at video/SDL_pixels.c.","status":"published","published":"2019-05-20T17:29:17.673Z","modified":"2026-10-24T10:30:53.440615203Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:10.718934Z"},{"id":"DEBIAN-CVE-2019-12222","description":"An issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL) 2.0.9. There is an out-of-bounds read in the function SDL_InvalidateMap at video/SDL_pixels.c.","status":"published","published":"2019-05-20T17:29:17.673Z","modified":"2026-09-21T07:01:46.845568552Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:31.467893Z"},{"id":"UBUNTU-CVE-2019-12222","description":"An issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL) 2.0.9. There is an out-of-bounds read in the function SDL_InvalidateMap at video/SDL_pixels.c.","status":"published","published":"2019-05-20T17:29:00Z","modified":"2026-04-22T12:08:47.80454Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:19.202697Z"},{"id":"DLA-1861-1","title":"libsdl2-image - security update","status":"published","published":"2019-07-22T00:00:00Z","modified":"2026-03-09T01:18:26.915964Z","updated_at":"2026-11-02T15:46:09.777694Z"},{"id":"DLA-1865-1","title":"sdl-image1.2 - security update","status":"published","published":"2019-07-27T00:00:00Z","modified":"2026-03-09T01:21:46.079457Z","updated_at":"2026-11-02T15:46:09.777694Z"},{"id":"MGASA-2019-0363","title":"Updated SDL_image packages fix security vulnerabilities","description":"The updated packages fix security vulnerabilities:\n\nAn exploitable code execution vulnerability exists in the XCF image\nrendering functionality of SDL2_image-2.0.3. A specially crafted XCF\nimage can cause a heap overflow, resulting in code execution. An attacker\ncan display a specially crafted image to trigger this vulnerability.\n(CVE-2018-3977)\n\nAn exploitable integer overflow vulnerability exists when loading a PCX\nfile in SDL2_image 2.0.4. A specially crafted file can cause an integer\noverflow, resulting in too little memory being allocated, which can lead\nto a buffer overflow and potential code execution. (CVE-2019-5052)\n\nAn exploitable code execution vulnerability exists in the XCF image\nrendering functionality of SDL2_image 2.0.4. A specially crafted XCF image\ncan cause a heap overflow, resulting in code execution. (CVE-2019-5058)\n\nAn exploitable code execution vulnerability exists in the XPM image\nrendering functionality of SDL2_image 2.0.4. A specially crafted XPM image\ncan cause an integer overflow, allocating too small of a buffer. This\nbuffer can then be written out of bounds resulting in a heap overflow,\nultimately ending in code execution. (CVE-2019-5059)\n\nAn exploitable code execution vulnerability exists in the XPM image\nrendering function of SDL2_image 2.0.4. A specially crafted XPM image can\ncause an integer overflow in the colorhash function, allocating too small\nof a buffer. This buffer can then be written out of bounds, resulting in a\nheap overflow, ultimately ending in code execution. (CVE-2019-5060)\n\nSDL (Simple DirectMedia Layer) through 1.2.15 and 2.x through 2.0.9 has a\nheap-based buffer over-read in Blit1to4 in video/SDL_blit_1.c\n(CVE-2019-7635).\n\nAn issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL)\n2.0.9 when used in conjunction with libSDL2_image.a in SDL2_image 2.0.4.\nThere is a NULL pointer dereference in the SDL stdio_read function in\nfile/SDL_rwops.c. (CVE-2019-12217)\n\nAn issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL)\n2.0.9 when used in conjunction with libSDL2_image.a in SDL2_image 2.0.4.\nThere is a NULL pointer dereference in the SDL2_image function\nIMG_LoadPCX_RW at IMG_pcx.c. (CVE-2019-12218)\n\nAn issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL)\n2.0.9 when used in conjunction with libSDL2_image.a in SDL2_image 2.0.4.\nThere is an invalid free error in the SDL function SDL_SetError_REAL\nat SDL_error.c. (CVE-2019-12219)\n\nAn issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL)\n2.0.9 when used in conjunction with libSDL2_image.a in SDL2_image 2.0.4.\nThere is an out-of-bounds read in the SDL function SDL_FreePalette_REAL\nat video/SDL_pixels.c. (CVE-2019-12220)\n\nAn issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL)\n2.0.9 when used in conjunction with libSDL2_image.a in SDL2_image 2.0.4.\nThere is a SEGV in the SDL function SDL_free_REAL at stdlib/SDL_malloc.c.\n(CVE-2019-12221)\n\nAn issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL)\n2.0.9. There is an out-of-bounds read in the function SDL_InvalidateMap\nat video/SDL_pixels.c. (CVE-2019-12222)\n\nSDL (Simple DirectMedia Layer) through 1.2.15 and 2.x through 2.0.9 has\na heap-based buffer over-read in BlitNtoN in video/SDL_blit_N.c when\ncalled from SDL_SoftBlit in video/SDL_blit.c. (CVE-2019-13616)\n","status":"published","published":"2019-12-06T14:15:42Z","modified":"2026-04-16T04:43:16.504296531Z","updated_at":"2026-11-02T15:49:41.151324Z"},{"id":"MGASA-2019-0364","title":"Updated sdl2_image packages fix security vulnerabilities","description":"Updated sdl2_image packages fix security vulnerabilities:\n\nAn exploitable heap-based buffer overflow vulnerability exists when loading\na PCX file in SDL2_image, version 2.0.4. A missing error handler can lead\nto a buffer overflow and potential code execution. An attacker can provide\na specially crafted image file to trigger this vulnerability.\n(CVE-2019-5051)\n\nAn exploitable integer overflow vulnerability exists when loading a PCX\nfile in SDL2_image 2.0.4. A specially crafted file can cause an integer\noverflow, resulting in too little memory being allocated, which can lead\nto a buffer overflow and potential code execution. (CVE-2019-5052)\n\nAn exploitable code execution vulnerability exists in the PCX image\nrendering functionality of SDL2_image 2.0.4. A specially crafted PCX image\ncan cause a heap overflow, resulting in code execution. An attacker can\ndisplay a specially crafted image to trigger this vulnerability.\n(CVE-2019-5057)\n\nAn exploitable code execution vulnerability exists in the XCF image\nrendering functionality of SDL2_image 2.0.4. A specially crafted XCF\nimage can cause a heap overflow, resulting in code execution. \n(CVE-2019-5058)\n\nAn exploitable code execution vulnerability exists in the XPM image\nrendering functionality of SDL2_image 2.0.4. A specially crafted XPM image\ncan cause an integer overflow, allocating too small of a buffer. This\nbuffer can then be written out of bounds resulting in a heap overflow,\nultimately ending in code execution. (CVE-2019-5059)\n\nAn exploitable code execution vulnerability exists in the XPM image\nrendering function of SDL2_image 2.0.4. A specially crafted XPM image\ncan cause an integer overflow in the colorhash function, allocating too\nsmall of a buffer. This buffer can then be written out of bounds,\nresulting in a heap overflow, ultimately ending in code execution.\n(CVE-2019-5060)\n\nAn issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL)\n2.0.9 when used in conjunction with libSDL2_image.a in SDL2_image 2.0.4.\nThere is a NULL pointer dereference in the SDL stdio_read function in\nfile/SDL_rwops.c. (CVE-2019-12217)\n\nAn issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL)\n2.0.9 when used in conjunction with libSDL2_image.a in SDL2_image 2.0.4.\nThere is a NULL pointer dereference in the SDL2_image function\nIMG_LoadPCX_RW at IMG_pcx.c. (CVE-2019-12218)\n\nAn issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL)\n2.0.9 when used in conjunction with libSDL2_image.a in SDL2_image 2.0.4.\nThere is an invalid free error in the SDL function SDL_SetError_REAL at\nSDL_error.c. (CVE-2019-12219)\n\nAn issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL)\n2.0.9 when used in conjunction with libSDL2_image.a in SDL2_image 2.0.4.\nThere is an out-of-bounds read in the SDL function SDL_FreePalette_REAL\nat video/SDL_pixels.c. (CVE-2019-12220)\n\nAn issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL)\n2.0.9 when used in conjunction with libSDL2_image.a in SDL2_image 2.0.4.\nThere is a SEGV in the SDL function SDL_free_REAL at stdlib/SDL_malloc.c.\n(CVE-2019-12221)\n\nAn issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL)\n2.0.9. There is an out-of-bounds read in the function SDL_InvalidateMap\nat video/SDL_pixels.c. (CVE-2019-12222)\n\nSDL (Simple DirectMedia Layer) through 1.2.15 and 2.x through 2.0.9 has\na heap-based buffer over-read in BlitNtoN in video/SDL_blit_N.c when\ncalled from SDL_SoftBlit in video/SDL_blit.c. (CVE-2019-13616)\n","status":"published","published":"2019-12-06T14:15:42Z","modified":"2026-04-16T04:42:38.017599953Z","updated_at":"2026-11-02T15:49:41.151324Z"},{"id":"openSUSE-SU-2019:2070-1","title":"Security update for SDL2_image","description":"This update for SDL2_image fixes the following issues:\n\nUpdate to new upstream release 2.0.5.\n\nSecurity issues fixed:\n\n* TALOS-2019-0820 CVE-2019-5051: exploitable heap-based buffer overflow vulnerability when loading a PCX file (boo#1140419)\n* TALOS-2019-0821 CVE-2019-5052: exploitable integer overflow vulnerability when loading a PCX file (boo#1140421)\n* TALOS-2019-0841 CVE-2019-5057: code execution vulnerability in the PCX image-rendering functionality of SDL2_image (boo#1143763)\n* TALOS-2019-0842 CVE-2019-5058: heap overflow in XCF image rendering can lead to code execution (boo#1143764)\n* TALOS-2019-0843 CVE-2019-5059: heap overflow in XPM image (boo#1143766)\n* TALOS-2019-0844 CVE-2019-5060: integer overflow in the XPM image (boo#1143768)\n\nNot mentioned by upstream, but issues seemingly further fixed:\n\n* CVE-2019-12218: NULL pointer dereference in the SDL2_image function IMG_LoadPCX_RW (boo#1135789)\n* CVE-2019-12217: NULL pointer dereference in the SDL stdio_read function (boo#1135787)\n* CVE-2019-12220: SDL_image triggers an out-of-bounds read in the SDL function SDL_FreePalette_REAL (boo#1135806)\n* CVE-2019-12221: a SEGV caused by SDL_image in SDL function SDL_free_REAL in stdlib/SDL_malloc.c (boo#1135796)\n* CVE-2019-12222: out-of-bounds read triggered by SDL_image in the function SDL_InvalidateMap at video/SDL_pixels.c (boo#1136101)\n* CVE-2019-13616: fix heap buffer overflow when reading a crafted bmp file (boo#1141844).\n\n\n","status":"published","published":"2019-09-05T08:23:48Z","modified":"2026-02-04T02:38:55.166251Z","updated_at":"2026-11-02T16:58:30.784344Z"},{"id":"openSUSE-SU-2019:2108-1","title":"Security update for SDL2_image","description":"This update for SDL2_image fixes the following issues:\n\nUpdate to new upstream release 2.0.5.\n\nSecurity issues fixed:\n\n* TALOS-2019-0820 CVE-2019-5051: exploitable heap-based buffer overflow vulnerability when loading a PCX file (boo#1140419)\n* TALOS-2019-0821 CVE-2019-5052: exploitable integer overflow vulnerability when loading a PCX file (boo#1140421)\n* TALOS-2019-0841 CVE-2019-5057: code execution vulnerability in the PCX image-rendering functionality of SDL2_image (boo#1143763)\n* TALOS-2019-0842 CVE-2019-5058: heap overflow in XCF image rendering can lead to code execution (boo#1143764)\n* TALOS-2019-0843 CVE-2019-5059: heap overflow in XPM image (boo#1143766)\n* TALOS-2019-0844 CVE-2019-5060: integer overflow in the XPM image (boo#1143768)\n\nNot mentioned by upstream, but issues seemingly further fixed:\n\n* CVE-2019-12218: NULL pointer dereference in the SDL2_image function IMG_LoadPCX_RW (boo#1135789)\n* CVE-2019-12217: NULL pointer dereference in the SDL stdio_read function (boo#1135787)\n* CVE-2019-12220: SDL_image triggers an out-of-bounds read in the SDL function SDL_FreePalette_REAL (boo#1135806)\n* CVE-2019-12221: a SEGV caused by SDL_image in SDL function SDL_free_REAL in stdlib/SDL_malloc.c (boo#1135796)\n* CVE-2019-12222: out-of-bounds read triggered by SDL_image in the function SDL_InvalidateMap at video/SDL_pixels.c (boo#1136101)\n* CVE-2019-13616: fix heap buffer overflow when reading a crafted bmp file (boo#1141844).\n\n\n\nThis update was imported from the openSUSE:Leap:15.0:Update update project.","status":"published","published":"2019-09-10T14:20:24Z","modified":"2026-02-04T04:21:38.815703Z","updated_at":"2026-11-02T16:58:30.784344Z"},{"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"},{"id":"USN-4238-1","title":"sdl-image1.2 vulnerabilities","description":"It was discovered that SDL_image incorrectly handled certain image files. An\nattacker could possibly use this issue to cause a denial of service or other\nunspecified impact.\n","status":"published","published":"2020-01-14T15:01:52Z","modified":"2026-04-27T15:48:45.87255876Z","updated_at":"2026-11-02T16:58:14.547547Z"}]}}
