CVE-2021-33657: libsdl simple_directmedia_layer Out-of-bounds Write
CVSS: 8.8v3.1HighModified
AliasesMGASA-2022-0326SUSE-SU-2022:1218-1SUSE-SU-2022:1313-1UBUNTU-CVE-2021-33657USN-5398-1DEBIAN-CVE-2021-33657
Published 01-04-2022Last modified 03-08-2024
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 80.9% of scored vulnerabilities.
CVSS score
8.8/10
010
High · v3.1 (NVD)EPSS score
2.05%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
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
4 scores · 3 sources · 2 versionsHigh 8.8Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HSourcesAll 3 agree
- 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
Medium 6.8Preferred score · NVD (NIST)
AV:N/AC:M/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
2.05%
Chance of exploitation in the next 30 days
Percentile
81%
Versus all other CVEs
30-day change
0.00 pp
From 2.05% on 19-09-2026
19-09-202619-10-2026
EPSS score2.05%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
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)
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
6 vendors · 30 products
References
16 links- github.com/libsdl-org/SDL/commit/8c91cf7dba5193f5ce12d06db1336515851c9ee9REPORTPatchThird Party Advisory
- security.gentoo.org/glsa/202305-18Vendor Advisory
- security.gentoo.org/glsa/202305-17Vendor Advisory