CVE-2021-33657: libsdl simple_directmedia_layer Out-of-bounds Write
Vulnerability summary
CVE-2021-33657 is a high (CVSS 8.8) Out-of-bounds Write vulnerability in libsdl simple_directmedia_layer. EPSS estimates a 2.05% chance of exploitation in the next 30 days, higher than 81.9% of scored vulnerabilities.
Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 8 · Related 6Timeline
- 01-04-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · AlpineEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
2.05%
Chance of exploitation in the next 30 days
Percentile
82%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.05% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Suse23 products
- SDL2&distro=SUSE Enterprise Storage 6< 2.0.8-150000.3.21.1
- SDL2&distro=SUSE Enterprise Storage 7< 2.0.8-150200.11.6.1
- SDL2&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS< 2.0.8-150000.3.21.1
- SDL2&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS< 2.0.8-150000.3.21.1
- SDL2&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS< 2.0.8-150200.11.6.1
Debian2 products
- libsdl1.2< 1.2.15+dfsg2-7
- libsdl2< 2.0.20+dfsg-2
Ubuntu2 products
- libsdl1.2< 1.2.15-8ubuntu1.1+esm2 | < 1.2.15+dfsg1-3ubuntu0.1+esm1 | < 1.2.15+dfsg2-0.1ubuntu0.2 | All versions (No fix recorded)
- libsdl2All versions (No fix recorded)
Alpine1 product
- sdl2< 2.0.18-r0
Libsdl1 product
- simple_directmedia_layer≥ 2.0.0, ≤ 2.0.18
Mageia1 product
- sdl2< 2.0.14-1.1.mga8
Opensuse1 product
- SDL2&distro=openSUSE Leap 15.3< 2.0.8-150200.11.6.1
7 vendors · 31 products
References
17 links- github.com/libsdl-org/SDL/commit/8c91cf7dba5193f5ce12d06db1336515851c9ee9REPORTPatchThird Party Advisory
- security.gentoo.org/glsa/202305-18Vendor Advisory
- security.gentoo.org/glsa/202305-17Vendor Advisory