Skip to content
OpenAdvisories
Unscored CVE-2021-33657 EUVD-2021-20334GHSA-9276-2w6v-wx4c

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 .B…

Published Apr 1, 2022 · Updated Aug 3, 2024 · Assigned by openEuler

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 products

VendorProductAffectedFixed
— SDL2 2.x to 2.0.18 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libsdl2 2.0.20+dfsg-2 —
Debian 13 libsdl2 2.0.20+dfsg-2 —
Debian 12 libsdl1.2 1.2.15+dfsg2-7 —
Debian 12 libsdl2 2.0.20+dfsg-2 —
Debian 10 libsdl2 2.0.9+dfsg1-1+deb10u1 DLA-3314-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS libsdl1.2 No fix yet —
Ubuntu 20.04 LTS libsdl1.2 No fix yet —
Ubuntu 18.04 LTS libsdl1.2 1.2.15+dfsg2-0.1ubuntu0.2 USN-5398-1
Ubuntu 16.04 LTS libsdl2 No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS libsdl2 No fix yet —
Ubuntu Pro 18.04 LTS libsdl2 No fix yet —
Ubuntu Pro 16.04 LTS libsdl1.2 1.2.15+dfsg1-3ubuntu0.1+esm1 USN-5398-1
Ubuntu Pro 14.04 LTS libsdl1.2 1.2.15-8ubuntu1.1+esm2 USN-5398-1
Ubuntu Pro 14.04 LTS libsdl2 No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP4 SDL2 2.0.8-150200.11.6.1 SUSE-SU-2022:1218-1
SLES 15 SP3 SDL 1.2.15-150000.3.19.1 SUSE-SU-2022:1273-1
SLES 15 SP3 SDL2 2.0.8-150200.11.6.1 SUSE-SU-2022:1218-1
SLES 15 SP2 SDL 1.2.15-150000.3.19.1 SUSE-SU-2022:1273-1
SLES 15 SP2 SDL2 2.0.8-150200.11.6.1 SUSE-SU-2022:1218-1
SLES 15 SP1 SDL 1.2.15-150000.3.19.1 SUSE-SU-2022:1273-1
SLES 15 SP1 SDL2 2.0.8-150000.3.21.1 SUSE-SU-2022:1313-1
SLES 15 SDL 1.2.15-150000.3.19.1 SUSE-SU-2022:1273-1
SLES 15 SDL2 2.0.8-150000.3.21.1 SUSE-SU-2022:1313-1
Show 26 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 SDL 1.2.15-15.17.1 SUSE-SU-2022:1312-1
SLES 12 SP4 SDL 1.2.15-15.17.1 SUSE-SU-2022:1312-1
SLES 12 SP3 SDL 1.2.15-15.17.1 SUSE-SU-2022:1312-1
SLES 12 SP2 SDL 1.2.15-15.17.1 SUSE-SU-2022:1312-1
SLES 11 SP4 SDL 1.2.13-106.21.1 SUSE-SU-2022:14943-1
SLES for SAP 15 SP2 SDL 1.2.15-150000.3.19.1 SUSE-SU-2022:1273-1
SLES for SAP 15 SP2 SDL2 2.0.8-150200.11.6.1 SUSE-SU-2022:1218-1
SLES for SAP 15 SP1 SDL 1.2.15-150000.3.19.1 SUSE-SU-2022:1273-1
SLES for SAP 15 SP1 SDL2 2.0.8-150000.3.21.1 SUSE-SU-2022:1313-1
SLES for SAP 15 SDL 1.2.15-150000.3.19.1 SUSE-SU-2022:1273-1
SLES for SAP 15 SDL2 2.0.8-150000.3.21.1 SUSE-SU-2022:1313-1
SLES for SAP 12 SP5 SDL 1.2.15-15.17.1 SUSE-SU-2022:1312-1
SLES for SAP 12 SP4 SDL 1.2.15-15.17.1 SUSE-SU-2022:1312-1
SLES for SAP 12 SP3 SDL 1.2.15-15.17.1 SUSE-SU-2022:1312-1
SLE Real Time 15 SP2 SDL 1.2.15-150000.3.19.1 SUSE-SU-2022:1273-1
SLE Real Time 15 SP2 SDL2 2.0.8-150200.11.6.1 SUSE-SU-2022:1218-1
SLE HPC 15 SP2 SDL 1.2.15-150000.3.19.1 SUSE-SU-2022:1273-1
SLE HPC 15 SP2 SDL2 2.0.8-150200.11.6.1 SUSE-SU-2022:1218-1
SLE HPC 15 SP1 SDL 1.2.15-150000.3.19.1 SUSE-SU-2022:1273-1
SLE HPC 15 SP1 SDL2 2.0.8-150000.3.21.1 SUSE-SU-2022:1313-1
SLE HPC 15 SDL 1.2.15-150000.3.19.1 SUSE-SU-2022:1273-1
SLE HPC 15 SDL2 2.0.8-150000.3.21.1 SUSE-SU-2022:1313-1
SUSE OpenStack Cloud Crowbar 9 SDL 1.2.15-15.17.1 SUSE-SU-2022:1312-1
SUSE OpenStack Cloud Crowbar 8 SDL 1.2.15-15.17.1 SUSE-SU-2022:1312-1
SUSE OpenStack Cloud 9 SDL 1.2.15-15.17.1 SUSE-SU-2022:1312-1
SUSE OpenStack Cloud 8 SDL 1.2.15-15.17.1 SUSE-SU-2022:1312-1
SUSE Manager Server 4.1 SDL 1.2.15-150000.3.19.1 SUSE-SU-2022:1273-1
SUSE Manager Server 4.1 SDL2 2.0.8-150200.11.6.1 SUSE-SU-2022:1218-1
SUSE Manager Retail Branch Server 4.1 SDL 1.2.15-150000.3.19.1 SUSE-SU-2022:1273-1
SUSE Manager Retail Branch Server 4.1 SDL2 2.0.8-150200.11.6.1 SUSE-SU-2022:1218-1
SUSE Manager Proxy 4.1 SDL 1.2.15-150000.3.19.1 SUSE-SU-2022:1273-1
SUSE Manager Proxy 4.1 SDL2 2.0.8-150200.11.6.1 SUSE-SU-2022:1218-1
SUSE Linux Enterprise Point of Sale 11 SP3 SDL 1.2.13-106.21.1 SUSE-SU-2022:14943-1
SUSE HPE Helion OpenStack 8 SDL 1.2.15-15.17.1 SUSE-SU-2022:1312-1
SUSE Enterprise Storage 7 SDL 1.2.15-150000.3.19.1 SUSE-SU-2022:1273-1
SUSE Enterprise Storage 7 SDL2 2.0.8-150200.11.6.1 SUSE-SU-2022:1218-1
SUSE Enterprise Storage 6 SDL 1.2.15-150000.3.19.1 SUSE-SU-2022:1273-1
SUSE Enterprise Storage 6 SDL2 2.0.8-150000.3.21.1 SUSE-SU-2022:1313-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed SDL 1.2.15-1.1 openSUSE-SU-2025:15205-1
openSUSE Tumbleweed SDL2 2.28.5-2.1 openSUSE-SU-2025:15206-1, openSUSE-SU-2024:13582-1
openSUSE Leap 15.3 SDL 1.2.15-150000.3.19.1 SUSE-SU-2022:1273-1
openSUSE Leap 15.3 SDL2 2.0.8-150200.11.6.1 SUSE-SU-2022:1218-1
ReleasePackageFixed inAdvisory
Alpine v3.24 sdl2 2.0.18-r0 —
Alpine v3.23 sdl2 2.0.18-r0 —
Alpine v3.22 sdl2 2.0.18-r0 —
Alpine v3.21 sdl2 2.0.18-r0 —
Alpine v3.20 sdl2 2.0.18-r0 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 sdl2 2.0.18-r0 —
Alpine v3.18 sdl2 2.0.18-r0 —
Alpine v3.17 sdl2 2.0.18-r0 —
Alpine v3.16 sdl2 2.0.18-r0 —

Advisories 11

References