Vulnerability · Published Apr 1, 2022 · Assigned by openEuler

CVE-2021-33657

High 8.8

In plain English

A high-severity security flaw in SDL2. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 81% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)8.8High
Exploit odds (30 days)2.1%top 18.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20sdl22.0.18-r0ALPINE-CVE-2021-33657
Alpine:v3.21sdl22.0.18-r0ALPINE-CVE-2021-33657
Alpine:v3.22sdl22.0.18-r0ALPINE-CVE-2021-33657
Alpine:v3.23sdl22.0.18-r0ALPINE-CVE-2021-33657
Alpine:v3.24sdl22.0.18-r0ALPINE-CVE-2021-33657
Debian:12libsdl1.21.2.15+dfsg2-7DEBIAN-CVE-2021-33657
Debian:12libsdl22.0.20+dfsg-2DEBIAN-CVE-2021-33657
Debian:13libsdl22.0.20+dfsg-2DEBIAN-CVE-2021-33657
Debian:14libsdl22.0.20+dfsg-2DEBIAN-CVE-2021-33657
Ubuntu:22.04:LTSlibsdl1.2no fix listedUBUNTU-CVE-2021-33657

Affected products (as reported)

VendorProductVersions
n/a SDL2 2.x to 2.0.18

References