# CVE-2021-33657

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-04-01 · Modified: 2024-08-03
- Aliases: MGASA-2022-0326, SUSE-SU-2022:1218-1, SUSE-SU-2022:1313-1, UBUNTU-CVE-2021-33657, USN-5398-1, DEBIAN-CVE-2021-33657, ALPINE-CVE-2021-33657
- Record: https://cvemate.com/vulnerability/CVE-2021-33657 · JSON: https://cvemate.com/vulnerability/CVE-2021-33657/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 2.055%, percentile 81.937%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 31)

- alpine sdl2 (Alpine Linux): \< 2.0.18-r0
- debian libsdl1.2 (Debian): \< 1.2.15+dfsg2-7
- debian libsdl2 (Debian): \< 2.0.20+dfsg-2
- ubuntu libsdl1.2 (Ubuntu): \< 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)
- ubuntu libsdl2 (Ubuntu): All versions (No fix recorded)
- libsdl simple\_directmedia\_layer: ≥ 2.0.0, ≤ 2.0.18
- mageia sdl2 (Mageia): \< 2.0.14-1.1.mga8
- opensuse SDL2&distro=openSUSE Leap 15.3 (openSUSE): \< 2.0.8-150200.11.6.1
- suse SDL2&distro=SUSE Enterprise Storage 6 (SUSE Linux Enterprise): \< 2.0.8-150000.3.21.1
- suse SDL2&distro=SUSE Enterprise Storage 7 (SUSE Linux Enterprise): \< 2.0.8-150200.11.6.1
- suse SDL2&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS (SUSE Linux Enterprise): \< 2.0.8-150000.3.21.1
- suse SDL2&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS (SUSE Linux Enterprise): \< 2.0.8-150000.3.21.1
- suse SDL2&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS (SUSE Linux Enterprise): \< 2.0.8-150200.11.6.1
- suse SDL2&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS (SUSE Linux Enterprise): \< 2.0.8-150200.11.6.1
- suse SDL2&distro=SUSE Linux Enterprise High Performance Computing 15-ESPOS (SUSE Linux Enterprise): \< 2.0.8-150000.3.21.1
- suse SDL2&distro=SUSE Linux Enterprise High Performance Computing 15-LTSS (SUSE Linux Enterprise): \< 2.0.8-150000.3.21.1
- suse SDL2&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP3 (SUSE Linux Enterprise): \< 2.0.8-150200.11.6.1
- suse SDL2&distro=SUSE Linux Enterprise Module for Package Hub 15 SP3 (SUSE Linux Enterprise): \< 2.0.8-150200.11.6.1
- suse SDL2&distro=SUSE Linux Enterprise Module for Package Hub 15 SP4 (SUSE Linux Enterprise): \< 2.0.8-150200.11.6.1
- suse SDL2&distro=SUSE Linux Enterprise Real Time 15 SP2 (SUSE Linux Enterprise): \< 2.0.8-150200.11.6.1

## References

- <https://github.com/libsdl-org/SDL/commit/8c91cf7dba5193f5ce12d06db1336515851c9ee9>
- <https://lists.debian.org/debian-lts-announce/2023/02/msg00008.html>
- <https://security.gentoo.org/glsa/202305-18>
- <https://security.gentoo.org/glsa/202305-17>
- <https://advisories.mageia.org/MGASA-2022-0326.html>
- <https://bugs.mageia.org/show_bug.cgi?id=30293>
- <https://lists.suse.com/pipermail/sle-security-updates/2022-April/010735.html>
- <https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/RT4PK6MXMUBIFIGD2YA7HAH4DD43QU3Z/>
- <https://ubuntu.com/security/notices/USN-5398-1>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20221218-1/>
- <https://bugzilla.suse.com/1198001>
- <https://www.suse.com/security/cve/CVE-2021-33657>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20221313-1/>
- <https://ubuntu.com/security/CVE-2021-33657>
- <https://www.cve.org/CVERecord?id=CVE-2021-33657>
- <https://security-tracker.debian.org/tracker/CVE-2021-33657>
- <https://security.alpinelinux.org/vuln/CVE-2021-33657>

---

Data as of 2026-12-05T03:06:40.211Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
