cve.bz

CVE-2021-33657 libsdl simple directmedia layer: Out-of-bounds Write

8.8 highEPSS 2.1%Fix available

High (8.8) in libsdl simple directmedia layer. EPSS 2.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
2.1% (unchanged from 2.1% a week ago; 2.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 82nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-33657 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-33657?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-33657?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-33657 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libsdl:simple_directmedia_layerfrom 2.0.0 through 2.0.18

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10libsdl22.0.9+dfsg1-1+deb10u1DLA-3314-1
Debian12libsdl1.21.2.15+dfsg2-7DEBIAN-CVE-2021-33657
Debian12, 13, 14libsdl22.0.20+dfsg-2DEBIAN-CVE-2021-33657
Ubuntu16.04:LTS, Pro:14.04:LTS, Pro:18.04:LTS and 1 morelibsdl2no fix listedUBUNTU-CVE-2021-33657
Ubuntu18.04:LTSlibsdl1.21.2.15+dfsg2-0.1ubuntu0.2UBUNTU-CVE-2021-33657 USN-5398-1
Ubuntu20.04:LTS, 22.04:LTSlibsdl1.2no fix listedUBUNTU-CVE-2021-33657
UbuntuPro:14.04:LTSlibsdl1.21.2.15-8ubuntu1.1+esm2UBUNTU-CVE-2021-33657 USN-5398-1
UbuntuPro:16.04:LTSlibsdl1.21.2.15+dfsg1-3ubuntu0.1+esm1UBUNTU-CVE-2021-33657 USN-5398-1
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 19 moreSDL1.2.15-150000.3.19.1SUSE-SU-2022:1273-1
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 7 moreSDL22.0.8-150000.3.21.1SUSE-SU-2022:1313-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 10 moreSDL22.0.8-150200.11.6.1SUSE-SU-2022:1218-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 11 moreSDL1.2.15-15.17.1SUSE-SU-2022:1312-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP4-LTSSSDL1.2.13-106.21.1SUSE-SU-2022:14943-1
openSUSELeap 15.3SDL1.2.15-150000.3.19.1SUSE-SU-2022:1273-1
openSUSELeap 15.3SDL22.0.8-150200.11.6.1SUSE-SU-2022:1218-1
openSUSETumbleweedSDL1.2.15-1.1openSUSE-SU-2025:15205-1
openSUSETumbleweedSDL22.28.5-2.1openSUSE-SU-2024:13582-1
openSUSETumbleweedSDL22.32.8-1.1openSUSE-SU-2025:15206-1
Alpinev3.16, v3.17, v3.18 and 6 moresdl22.0.18-r0ALPINE-CVE-2021-33657

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

References

Check your stackJSON