Out-of-bounds write in SDL2
Priority MEDIUM 42CWE-787Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-787 and the CVSS impact.
Summary
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.
Why it matters now
EPSS 0.02055 81st percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | SDL2 | 2.x to 2.0.18 | — | No fix listed | CNA |
- SDL2 Vendor— Affected 2.x to 2.0.18 Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2021-33657
- 2026-10-03 Alias added: GHSA-9276-2w6v-wx4c
References
More Libsdl Simple Directmedia Layer vulnerabilities
- TI-2019-11109 Out-of-bounds read in Red Hat SDL CVSS 3.1CRITICAL 9.8
- TI-2019-05383 SDL (Simple DirectMedia Layer) through 1.2.15 and 2.x through 2.0.9 has a heap-based… CVSS 3.1HIGH 8.8
- TI-2019-05349 SDL (Simple DirectMedia Layer) through 1.2.15 and 2.x through 2.0.9 has a buffer… CVSS 3.1HIGH 8.8
- TI-2019-05346 SDL (Simple DirectMedia Layer) through 1.2.15 and 2.x through 2.0.9 has a heap-based… CVSS 3.1HIGH 8.8
- TI-2019-05345 SDL (Simple DirectMedia Layer) through 1.2.15 and 2.x through 2.0.9 has a heap-based… CVSS 3.1HIGH 8.8
- TI-2017-02108 Integer overflow in Talos Simple Direct Media CVSS 3.1HIGH 8.8
Sources
- CVE-2021-33657 · CVE Program
- CVE-2021-33657 · NVD
- FIRST EPSS
- GHSA-9276-2w6v-wx4c · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences