Live threats

All CVEs / Libsdl

CVE-2021-33657Libsdl Simple Directmedia Layer

High 8.8 No auth needed

Priority
68
CVSS 3.1
8.8
EPSS
2.1%
probability of exploitation in 30 days · percentile 82
Auth required
No
Published
Apr 1, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-787
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Simple Directmedia Layer.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
libsdlsimple_directmedia_layer≥ 2.0.0 ≤ 2.0.18

Official sources

References

Links published by the sources. Open them with care.