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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
- WID-SEC-2023-2031 Xerox FreeFlow Print Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 11, 2026
- USN-5398-1 libsdl1.2, libsdl2 vulnerability Ubuntu Security Notices (USN) · Jun 29, 2026
- openSUSE-SU-2025:15205-1 SDL-1.2.15-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-SU-2025:15206-1 SDL2-2.32.8-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- DLA-3314-1 libsdl2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2022:1312-1 Security update for SDL SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:1313-1 Security update for SDL2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:1273-1 Security update for SDL SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13582-1 SDL2-devel-2.28.5-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:1218-1 Security update for SDL2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:14943-1 Security update for SDL SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://github.com/libsdl-org/SDL/commit/8c91cf7dba5193f5ce12d06db1336515851c9ee9
- [debian-lts-announce] 20230208 [SECURITY] [DLA 3314-1] libsdl2 security update mailing-list
- GLSA-202305-18 vendor-advisory
- GLSA-202305-17 vendor-advisory