{"id":"CVE-2022-34568","aliases":["AZL-43786","DEBIAN-CVE-2022-34568","EUVD-2022-37520","GHSA-wr7h-5wm3-p3h4","MGASA-2022-0332","UBUNTU-CVE-2022-34568","USN-5586-1"],"status":"published","title":"SDL v1.2 was discovered to contain a use-after-free via the XFree function at /src/video/x11...","description":"SDL v1.2 was discovered to contain a use-after-free via the XFree function at /src/video/x11/SDL_x11yuv.c.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01115,"percentile":0.66286,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-401","CWE-416"],"published":"2022-07-28T00:00:00Z","modified":"2026-11-03T08:02:00Z","fixes":[{"ecosystem":"Debian:12","package":"libsdl1.2","fixed_in":["1.2.15+dfsg2-8"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libsdl1.2","fixed_in":["1.2.15+dfsg1-3ubuntu0.1+esm2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Azure Linux:2","package":"SDL","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.2.15-45"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"libsdl1.2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.15+dfsg2-8"}]}]},{"source":"osv","ecosystem":"Mageia:8","package":"SDL12","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.15-26.1.mga8"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libsdl1.2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.15-5ubuntu2","1.2.15-5ubuntu3","1.2.15-8ubuntu1","1.2.15-8ubuntu1.1","1.2.15-8ubuntu1.1+esm1","1.2.15-8ubuntu1.1+esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libsdl1.2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.15+dfsg1-3ubuntu0.1+esm2"}]}],"versions":["1.2.15-11ubuntu1","1.2.15-12ubuntu1","1.2.15+dfsg1-3","1.2.15+dfsg1-3ubuntu0.1","1.2.15+dfsg1-3ubuntu0.1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libsdl2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.2+dfsg1-6ubuntu2","2.0.4+dfsg1-2","2.0.4+dfsg1-2ubuntu1","2.0.4+dfsg1-2ubuntu2","2.0.4+dfsg1-2ubuntu2.16.04.1","2.0.4+dfsg1-2ubuntu2.16.04.2"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libsdl1.2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.15+dfsg2-0.1","1.2.15+dfsg2-0.1ubuntu0.1","1.2.15+dfsg2-0.1ubuntu0.2"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"libsdl1.2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.15+dfsg2-5"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"libsdl1.2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.15+dfsg2-6"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libsdl1.2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.15+dfsg1-3ubuntu0.1+esm2"}]}],"versions":["1.2.15-11ubuntu1","1.2.15-12ubuntu1","1.2.15+dfsg1-3","1.2.15+dfsg1-3ubuntu0.1","1.2.15+dfsg1-3ubuntu0.1+esm1"]}],"products":[{"vendor":"libsdl","product":"simple_directmedia_layer"}],"references":[{"url":"https://github.com/libsdl-org/SDL-1.2/issues/863","tags":["x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","report"]},{"url":"https://security.gentoo.org/glsa/202305-17","tags":["vendor-advisory","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-34568","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-wr7h-5wm3-p3h4"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/34xxx/CVE-2022-34568.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-34568","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2022-0332.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=30786","tags":["report"]},{"url":"https://lists.suse.com/pipermail/sle-security-updates/2022-April/010735.html","tags":["web"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/RT4PK6MXMUBIFIGD2YA7HAH4DD43QU3Z/","tags":["web"]},{"url":"https://ubuntu.com/security/notices/USN-5398-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/notices/USN-5586-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-34568","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-34568","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-34568","description":"SDL v1.2 was discovered to contain a use-after-free via the XFree function at /src/video/x11/SDL_x11yuv.c.","status":"published","published":"2022-07-28T00:00:00Z","modified":"2024-08-03T09:15:15.239Z","updated_at":"2026-11-02T14:34:42.354707Z"}],"euvd":[{"id":"EUVD-2022-37520","description":"SDL v1.2 was discovered to contain a use-after-free via the XFree function at /src/video/x11/SDL_x11yuv.c.","status":"published","published":"2022-07-28T00:00:00Z","modified":"2024-08-03T09:15:15Z","updated_at":"2026-11-03T03:25:28.472981Z"}],"ghsa":[{"id":"GHSA-wr7h-5wm3-p3h4","title":"SDL v1.2 was discovered to contain a use-after-free via the XFree function at /src/video/x11...","description":"SDL v1.2 was discovered to contain a use-after-free via the XFree function at /src/video/x11/SDL_x11yuv.c.","status":"published","published":"2022-07-29T00:00:18Z","modified":"2023-05-12T05:00:32Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-401"],"updated_at":"2026-11-02T14:54:35.559556Z"}],"nvd":[{"id":"CVE-2022-34568","description":"SDL v1.2 was discovered to contain a use-after-free via the XFree function at /src/video/x11/SDL_x11yuv.c.","status":"published","published":"2022-07-28T22:15:08.42Z","modified":"2026-06-17T04:50:31.37Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T14:07:24.037422Z"}],"osv":[{"id":"AZL-43786","title":"CVE-2022-34568 affecting package SDL 1.2.15-45","description":"SDL v1.2 was discovered to contain a use-after-free via the XFree function at /src/video/x11/SDL_x11yuv.c.","status":"published","published":"2022-07-28T22:15:08Z","modified":"2026-04-21T04:31:09.194267Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:28:05.284713Z"},{"id":"DEBIAN-CVE-2022-34568","description":"SDL v1.2 was discovered to contain a use-after-free via the XFree function at /src/video/x11/SDL_x11yuv.c.","status":"published","published":"2022-07-28T22:15:08.42Z","modified":"2026-11-03T08:02:00.640833444Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-03T08:24:50.542442Z"},{"id":"UBUNTU-CVE-2022-34568","description":"SDL v1.2 was discovered to contain a use-after-free via the XFree function at /src/video/x11/SDL_x11yuv.c.","status":"published","published":"2022-07-28T22:15:00Z","modified":"2026-04-22T13:25:15.906277Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T16:53:54.697021Z"},{"id":"CVE-2022-34568","description":"SDL v1.2 was discovered to contain a use-after-free via the XFree function at /src/video/x11/SDL_x11yuv.c.","status":"published","published":"2022-07-28T00:00:00Z","modified":"2026-10-22T02:48:55.051538626Z","updated_at":"2026-11-02T15:44:25.860945Z"},{"id":"MGASA-2022-0332","title":"Updated SDL12 packages fix security vulnerability","description":"There is a heap overflow problem in video/SDL_pixels.c in SDL (Simple\nDirectMedia Layer) 2.x to 2.0.18 versions. By crafting a malicious .BMP\nfile, an attacker can cause the application using this library to crash,\ndenial of service or Code execution. (CVE-2021-33657)\n\nSDL v1.2 was discovered to contain a use-after-free via the XFree function\nat /src/video/x11/SDL_x11yuv.c. (CVE-2022-34568)\n","status":"published","published":"2022-09-16T19:39:55Z","modified":"2026-04-16T04:41:40.166881012Z","updated_at":"2026-11-02T15:49:42.263076Z"},{"id":"USN-5586-1","title":"libsdl1.2 vulnerability","description":"It was discovered that SDL (Simple DirectMedia Layer) incorrectly handled\nmemory. An attacker could potentially use this issue to cause a denial\nof service or other unexpected behavior.\n","status":"published","published":"2022-08-29T19:21:28Z","modified":"2026-06-25T13:31:21.011507479Z","updated_at":"2026-11-02T16:58:16.20937Z"}]}}
