Description
SDL (Simple DirectMedia Layer) through 1.2.15 and 2.x through 2.0.9 has a heap-based buffer over-read in BlitNtoN in video/SDL_blit_N.c when called from SDL_SoftBlit in video/SDL_blit.c.
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.10+dfsg1-1 | — |
| Debian 14 | libsdl2-image | 2.0.5+dfsg1-2 | — |
| Debian 14 | sdl-image1.2 | 1.2.12-12 | — |
| Debian 13 | libsdl2 | 2.0.10+dfsg1-1 | — |
| Debian 13 | libsdl2-image | 2.0.5+dfsg1-2 | — |
| Debian 13 | sdl-image1.2 | 1.2.12-12 | — |
| Debian 12 | libsdl1.2 | 1.2.15+dfsg2-5 | — |
| Debian 12 | libsdl2 | 2.0.10+dfsg1-1 | — |
| Debian 12 | libsdl2-image | 2.0.5+dfsg1-2 | — |
| Debian 12 | sdl-image1.2 | 1.2.12-12 | — |
| Debian 10 | libsdl2 | 2.0.9+dfsg1-1+deb10u1 | DLA-3314-1 |
| Debian 9 | libsdl1.2 | 1.2.15+dfsg1-4+deb9u1 | DLA-2804-1 |
| Debian 9 | libsdl2 | 2.0.5+dfsg1-2+deb9u1 | DLA-2536-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libsdl1.2 | 1.2.15+dfsg2-0.1ubuntu0.1 | USN-4156-1 |
| Ubuntu 18.04 LTS | libsdl2-image | No fix yet | — |
| Ubuntu 18.04 LTS | sdl-image1.2 | 1.2.12-8ubuntu0.1 | USN-4238-1 |
| Ubuntu 16.04 LTS | libsdl1.2 | 1.2.15+dfsg1-3ubuntu0.1 | USN-4156-1 |
| Ubuntu 16.04 LTS | libsdl2 +1 | No fix yet | — |
| Ubuntu 16.04 LTS | sdl-image1.2 | 1.2.12-5+deb9u1ubuntu0.16.04.1 | USN-4238-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | libsdl2 | No fix yet | — |
| Ubuntu Pro 14.04 LTS | libsdl1.2 | 1.2.15-8ubuntu1.1+esm1 | USN-4156-2 |
| Ubuntu Pro 14.04 LTS | libsdl2 +1 | No fix yet | — |
| Ubuntu Pro 14.04 LTS | sdl-image1.2 | 1.2.12-5+deb9u1ubuntu0.14.04.1~esm1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | SDL +1 | 1.2.15-36.el8_1 | RHSA-2019:3951 |
| RHEL 7 | SDL +2 | 1.2.15-14.el7_7 | RHSA-2019:3950 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8.0 E4S | SDL +1 | 1.2.15-33.el8_0 | RHSA-2020:0293 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP2 | SDL | 1.2.15-3.12.73 | SUSE-SU-2020:3261-1 |
| SLES 15 SP1 | SDL | 1.2.15-3.12.73 | SUSE-SU-2020:3261-1 |
| SLES 15 SP1 | SDL2 | 2.0.8-3.15.1 | SUSE-SU-2019:2463-2, SUSE-SU-2019:2463-1 |
| SLES 15 | SDL2 | 2.0.8-3.15.1 | SUSE-SU-2019:2463-1 |
| SLES 12 SP5 | SDL | 1.2.15-15.14.2 | SUSE-SU-2020:3030-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP5 | SDL | 1.2.15-15.14.2 | SUSE-SU-2020:3030-1 |
| SUSE Package Hub 15 SP1 | SDL2_image | 2.0.5-bp151.4.3.1 | openSUSE-SU-2019:2108-1 |
| SUSE Package Hub 15 SP1 | SDL_image | 1.2.12+hg695-bp151.4.3.1 | openSUSE-SU-2019:2109-1 |
| SUSE Package Hub 15 | SDL2_image | 2.0.5-bp151.4.3.1 | openSUSE-SU-2019:2108-1 |
| SUSE Package Hub 15 | SDL_image | 1.2.12+hg695-bp151.4.3.1 | openSUSE-SU-2019:2109-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.0.16-2.3 | openSUSE-SU-2025:15206-1, openSUSE-SU-2024:10607-1 |
| openSUSE Leap 15.2 | SDL | 1.2.15-lp152.5.3.1 | openSUSE-SU-2020:1916-1 |
| openSUSE Leap 15.1 | SDL | 1.2.15-lp151.4.3.1 | openSUSE-SU-2020:1990-1 |
| openSUSE Leap 15.1 | SDL2 | 2.0.8-lp151.4.6.1 | openSUSE-SU-2019:2226-1 |
| openSUSE Leap 15.1 | SDL2_image | 2.0.5-lp151.2.5.1 | openSUSE-SU-2019:2070-1 |
| openSUSE Leap 15.1 | SDL_image | 1.2.12+hg695-lp151.3.3.1 | openSUSE-SU-2019:2071-1 |
| openSUSE Leap 15.0 | SDL2 | 2.0.8-lp150.2.9.1 | openSUSE-SU-2019:2224-1 |
| openSUSE Leap 15.0 | SDL2_image | 2.0.5-lp151.2.5.1 | openSUSE-SU-2019:2070-1 |
| openSUSE Leap 15.0 | SDL_image | 1.2.12+hg695-lp151.3.3.1 | openSUSE-SU-2019:2071-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | sdl2_image | 2.0.5-r1 | — |
| Alpine v3.24 | sdl_image | 1.2.12-r5 | — |
| Alpine v3.23 | sdl2_image | 2.0.5-r1 | — |
| Alpine v3.23 | sdl_image | 1.2.12-r5 | — |
| Alpine v3.22 | sdl2_image | 2.0.5-r1 | — |
| Alpine v3.22 | sdl_image | 1.2.12-r5 | — |
| Alpine v3.21 | sdl2_image | 2.0.5-r1 | — |
| Alpine v3.21 | sdl_image | 1.2.12-r5 | — |
| Alpine v3.20 | sdl2_image | 2.0.5-r1 | — |
| Alpine v3.20 | sdl_image | 1.2.12-r5 | — |
Show 13 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | sdl2_image | 2.0.5-r1 | — |
| Alpine v3.19 | sdl_image | 1.2.12-r5 | — |
| Alpine v3.18 | sdl2_image | 2.0.5-r1 | — |
| Alpine v3.18 | sdl_image | 1.2.12-r5 | — |
| Alpine v3.17 | sdl2_image | 2.0.5-r1 | — |
| Alpine v3.17 | sdl_image | 1.2.12-r5 | — |
| Alpine v3.16 | sdl2_image | 2.0.5-r1 | — |
| Alpine v3.16 | sdl_image | 1.2.12-r5 | — |
| Alpine v3.15 | sdl | 1.2.15-r12 | — |
| Alpine v3.15 | sdl2_image | 2.0.5-r1 | — |
| Alpine v3.15 | sdl_image | 1.2.12-r5 | — |
| Alpine v3.14 | sdl | 1.2.15-r12 | — |
| Alpine v3.14 | sdl2_image | 2.0.5-r1 | — |
| Alpine v3.14 | sdl_image | 1.2.12-r5 | — |
| Alpine v3.13 | sdl | 1.2.15-r12 | — |
| Alpine v3.13 | sdl2_image | 2.0.5-r1 | — |
| Alpine v3.13 | sdl_image | 1.2.12-r5 | — |
| Alpine v3.12 | sdl | 1.2.15-r12 | — |
| Alpine v3.12 | sdl2_image | 2.0.5-r1 | — |
| Alpine v3.12 | sdl_image | 1.2.12-r5 | — |
| Alpine v3.11 | sdl | 1.2.15-r12 | — |
| Alpine v3.11 | sdl2_image | 2.0.5-r1 | — |
| Alpine v3.11 | sdl_image | 1.2.12-r5 | — |
| Alpine v3.10 | sdl | 1.2.15-r12 | — |
| Alpine v3.10 | sdl_image | 1.2.12-r5 | — |
| Alpine v3.9 | sdl | 1.2.15-r11 | — |
| Alpine v3.9 | sdl_image | 1.2.12-r5 | — |
| Alpine v3.8 | sdl | 1.2.15-r10 | — |
| Alpine v3.8 | sdl_image | 1.2.12-r5 | — |
| Alpine v3.7 | sdl | 1.2.15-r9 | — |
| Alpine v3.7 | sdl_image | 1.2.12-r4 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | SDL +2 | 1.2.15-15.amzn2 | ALAS2-2019-1375 |
| Amazon Linux 2 | SDL2 +2 | 2.0.10-1.amzn2 | ALAS2-2019-1318 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | SDL +1 | 1.2.15-36.el8_1 | ELSA-2019-3951 |
| Oracle Linux 7 | SDL +2 | 1.2.15-15.el7_7 | ELSA-2019-4024 |
Advisories 28
- RHSA-2020:0293 Red Hat Security Advisory: SDL security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHSA-2019:3951 Red Hat Security Advisory: SDL security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHSA-2019:3950 Red Hat Security Advisory: SDL security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- USN-4238-1 sdl-image1.2 vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- USN-4156-1 libsdl1.2 vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- USN-4156-2 libsdl1.2 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
- openSUSE-SU-2025:15205-1 SDL-1.2.15-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- DLA-2804-1 libsdl1.2 - security update Debian Security (DSA / DLA) · Mar 9, 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-2019:2463-2 Security update for SDL2 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:2108-1 Security update for SDL2_image SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:3261-1 Security update for SDL SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:3030-1 Security update for SDL SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:1990-1 Security update for SDL SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:2109-1 Security update for SDL_image SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:2226-1 Security update for SDL2 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:2070-1 Security update for SDL2_image SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:2463-1 Security update for SDL2 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10607-1 libSDL2-2_0-0-2.0.16-2.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:1916-1 Security update for SDL SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:2224-1 Security update for SDL2 SUSE / openSUSE Security Updates · May 7, 2025
- openSUSE-SU-2019:2071-1 Security update for SDL_image SUSE / openSUSE Security Updates · May 7, 2025
- ALAS2-2019-1375 Important: SDL security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Dec 18, 2019
- ELSA-2019-4024 Important: SDL security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Dec 2, 2019
- ELSA-2019-3951 Important: SDL security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 25, 2019
- ALAS2-2019-1318 Important: SDL2 security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Oct 23, 2019
References
- https://bugzilla.libsdl.org/show_bug.cgi?id=4538
- openSUSE-SU-2019:2070 vendor-advisory
- openSUSE-SU-2019:2071 vendor-advisory
- FEDORA-2019-e08f78d4a6 vendor-advisory
- FEDORA-2019-446ca9f695 vendor-advisory
- openSUSE-SU-2019:2109 vendor-advisory
- openSUSE-SU-2019:2108 vendor-advisory
- openSUSE-SU-2019:2226 vendor-advisory
- openSUSE-SU-2019:2224 vendor-advisory
- FEDORA-2019-8ef33a69ca vendor-advisory
- USN-4156-1 vendor-advisory
- USN-4156-2 vendor-advisory
- RHSA-2019:3951 vendor-advisory
- RHSA-2019:3950 vendor-advisory
- USN-4238-1 vendor-advisory
- RHSA-2020:0293 vendor-advisory
- FEDORA-2020-ff2fe47ba4 vendor-advisory
- FEDORA-2020-24652fe41c vendor-advisory
- [debian-lts-announce] 20210130 [SECURITY] [DLA 2536-1] libsdl2 security update mailing-list
- [debian-lts-announce] 20211031 [SECURITY] [DLA 2804-1] libsdl1.2 security update mailing-list
- [debian-lts-announce] 20230208 [SECURITY] [DLA 3314-1] libsdl2 security update mailing-list
- GLSA-202305-17 vendor-advisory