Description
SDL (Simple DirectMedia Layer) through 2.0.12 has an Integer Overflow (and resultant SDL_memcpy heap corruption) in SDL_BlitCopy in video/SDL_blit_copy.c via a crafted .BMP file.
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.14+dfsg2-2 | — |
| Debian 13 | libsdl2 | 2.0.14+dfsg2-2 | — |
| Debian 12 | libsdl2 | 2.0.14+dfsg2-2 | — |
| Debian 10 | libsdl2 | 2.0.9+dfsg1-1+deb10u1 | DLA-3314-1 |
| Debian 9 | libsdl2 | 2.0.5+dfsg1-2+deb9u1 | DLA-2536-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | libsdl2 | 2.0.10+dfsg1-3ubuntu0.1~esm1 | USN-5274-1 |
| Ubuntu Pro 18.04 LTS | libsdl2 | 2.0.8+dfsg1-1ubuntu1.18.04.4+esm1 | USN-5274-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | SDL | 1.2.15-150000.3.19.1 | SUSE-SU-2022:1273-1 |
| SLES 15 SP3 | SDL2 | 2.0.8-11.3.1 | SUSE-SU-2022:0104-1 |
| SLES 15 SP2 | SDL | 1.2.15-150000.3.19.1 | SUSE-SU-2022:1273-1 |
| SLES 15 SP2 | SDL2 | 2.0.8-11.3.1 | SUSE-SU-2022:0104-1 |
| SLES 15 SP1 | SDL | 1.2.15-150000.3.19.1 | SUSE-SU-2022:1273-1 |
| SLES 15 SP1 | SDL2 | 2.0.8-3.18.1 | SUSE-SU-2022:0825-1 |
| SLES 15 | SDL | 1.2.15-150000.3.19.1 | SUSE-SU-2022:1273-1 |
| SLES 15 | SDL2 | 2.0.8-3.18.1 | SUSE-SU-2022:0825-1 |
| SLES 12 SP5 | SDL | 1.2.15-15.17.1 | SUSE-SU-2022:1312-1 |
Show 26 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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-11.3.1 | SUSE-SU-2022:0104-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-3.18.1 | SUSE-SU-2022:0825-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-3.18.1 | SUSE-SU-2022:0825-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-11.3.1 | SUSE-SU-2022:0104-2 |
| 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-11.3.1 | SUSE-SU-2022:0104-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-3.18.1 | SUSE-SU-2022:0825-1 |
| SLE HPC 15 | SDL | 1.2.15-150000.3.19.1 | SUSE-SU-2022:1273-1 |
| SLE HPC 15 | SDL2 | 2.0.8-3.18.1 | SUSE-SU-2022:0825-1 |
| SUSE Package Hub 15 SP3 | pdns | 4.3.1-bp153.2.3.1 | openSUSE-SU-2022:0104-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-11.3.1 | SUSE-SU-2022:0104-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-11.3.1 | SUSE-SU-2022:0104-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-11.3.1 | SUSE-SU-2022:0104-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-11.3.1 | SUSE-SU-2022:0104-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-3.18.1 | SUSE-SU-2022:0825-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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-11.3.1 | openSUSE-SU-2022:0104-1 |
| openSUSE Leap 15.3 | pdns | 4.3.1-bp153.2.3.1 | openSUSE-SU-2022:0104-1 |
Advisories 12
- USN-5274-1 libsdl2 vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 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
- DLA-2536-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:0104-2 Security update for SDL2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:0104-1 Security update for SDL2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:0825-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-2022:0104-1 Security update for SDL2 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:14943-1 Security update for SDL SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://bugzilla.libsdl.org/show_bug.cgi?id=5200
- https://hg.libsdl.org/SDL/rev/3f9b4e92c1d9
- [debian-lts-announce] 20210130 [SECURITY] [DLA 2536-1] libsdl2 security update mailing-list
- FEDORA-2021-9d65b22041 vendor-advisory
- GLSA-202107-55 vendor-advisory
- https://www.starwindsoftware.com/security/sw-20210325-0001/
- [debian-lts-announce] 20230208 [SECURITY] [DLA 3314-1] libsdl2 security update mailing-list