CVE-2021-33657: Libsdl Simple Directmedia Layer

High severity, CVSS 8.8. EPSS: 2.1% chance of exploitation in the next 30 days.

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.

Affected products

  • Libsdl Simple Directmedia Layer: from 2.0.0, up to and including 2.0.18

Published 2022-04-01. Last modified 2026-06-17.