PT-2021-7990 · Sdl+5 · Sdl+5
Published
2021-11-30
·
Updated
2025-07-03
·
CVE-2021-33657
CVSS v2.0
10
High
| Vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
SDL (Simple DirectMedia Layer) versions 2.x through 2.0.18
Description
The issue is related to a heap overflow problem in the src/video/SDL pixels.c component of the Simple DirectMedia Layer library. This can be exploited by a remote attacker using a malicious .BMP file, potentially allowing them to access confidential data, compromise data integrity, and cause a denial of service or achieve code execution.
Recommendations
For SDL (Simple DirectMedia Layer) versions 2.x through 2.0.18, update to a version later than 2.0.18 to resolve the issue.
As a temporary workaround, consider restricting the use of .BMP files with the library until a patch is available.
Fix
DoS
Memory Corruption
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Debian
Sdl
Suse
Ubuntu