{"id":"CVE-2021-33657","aliases":["CVE-2021-33657"],"related":[],"kind":"vulnerability","state":"published","title":"There is a heap overflow problem in video/SDLpixels.c in SDL (Simple DirectMedia Layer) 2.x to 2.0.18 versions.","summary":"There is a heap overflow problem in video/SDL_pixels.c in SDL (Simple DirectMedia Layer) 2.x to 2.0.18 versions. By crafting a malicious .BMP file, an attacker can cause the application using this library to crash, denial of service or Code execution.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"There is a heap overflow problem in video/SDL_pixels.c in SDL (Simple DirectMedia Layer) 2.x to 2.0.18 versions. By crafting a malicious .BMP file, an attacker can cause the application using this library to crash, denial of service or Code execution.","source":"cvelist"},{"lang":"es","text":"Se presenta un problema de desbordamiento de pila en el archivo video/SDL_pixels.c en SDL (Simple DirectMedia Layer) versiones  2.x a 2.0.18. Al diseñar un archivo .BMP malicioso, un atacante puede causar el bloqueo de la aplicación que usa esta biblioteca, una denegación de servicio o una ejecución de Código","source":"nvd"}],"published":"2022-04-01T00:00:00.000Z","modified":"2026-06-17T03:54:58.650Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"version":"2.x to 2.0.18","status":"affected"}],"product":"SDL2","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.0.0","lastAffected":"2.0.18"}],"vendor":"libsdl","product":"simple_directmedia_layer","cpe":"cpe:2.3:a:libsdl:simple_directmedia_layer:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/libsdl-org/SDL/commit/8c91cf7dba5193f5ce12d06db1336515851c9ee9","tags":["patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/02/msg00008.html","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.gentoo.org/glsa/202305-18","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.gentoo.org/glsa/202305-17","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"openEuler","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-33657","url":"https://www.cve.org/CVERecord?id=CVE-2021-33657","licence":"CVE Terms of Use","modified":"2024-08-03T23:58:22.435Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-33657","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33657","licence":"Public domain","modified":"2026-06-17T03:54:58.650Z"}],"updatedAt":"2026-11-25T22:58:07.329Z","epss":{"score":0.02055,"percentile":0.81836,"date":"2026-12-01T12:00:22.000Z"}}