Description
An issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL) 2.0.9. There is an out-of-bounds read in the function SDL_InvalidateMap at video/SDL_pixels.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-image | 2.0.5+dfsg1-1 | — |
| Debian 14 | sdl-image1.2 | 1.2.12-11 | — |
| Debian 13 | libsdl2-image | 2.0.5+dfsg1-1 | — |
| Debian 13 | sdl-image1.2 | 1.2.12-11 | — |
| Debian 12 | libsdl2-image | 2.0.5+dfsg1-1 | — |
| Debian 12 | sdl-image1.2 | 1.2.12-11 | — |
| Debian 8 | libsdl2-image | 2.0.0+dfsg-3+deb8u2 | DLA-1861-1 |
| Debian 8 | sdl-image1.2 | 1.2.12-5+deb8u2 | DLA-1865-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | libsdl2-image | No fix yet | — |
| Ubuntu 16.04 LTS | sdl-image1.2 | 1.2.12-5+deb9u1ubuntu0.16.04.1 | USN-4238-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | libsdl2-image | 2.0.0+dfsg-3+deb8u2build0.14.04.1~esm1 | — |
| Ubuntu Pro 14.04 LTS | sdl-image1.2 | 1.2.12-5+deb9u1ubuntu0.14.04.1~esm1 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP1 | SDL2_image | 2.0.5-bp151.4.3.1 | openSUSE-SU-2019:2108-1 |
| SUSE Package Hub 15 | SDL2_image | 2.0.5-bp151.4.3.1 | openSUSE-SU-2019:2108-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.1 | SDL2_image | 2.0.5-lp151.2.5.1 | openSUSE-SU-2019:2070-1 |
| openSUSE Leap 15.0 | SDL2_image | 2.0.5-lp151.2.5.1 | openSUSE-SU-2019:2070-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.10 | sdl2_image | 2.0.5-r0 | — |
| Alpine v3.9 | sdl2_image | 2.0.5-r0 | — |
| Alpine v3.8 | sdl2_image | 2.0.5-r0 | — |
| Alpine v3.7 | sdl2_image | 2.0.5-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | SDL2 +2 | 2.0.10-1.amzn2 | ALAS2-2019-1318 |
Advisories 6
- USN-4238-1 sdl-image1.2 vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DLA-1865-1 sdl-image1.2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1861-1 libsdl2-image - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2019:2108-1 Security update for SDL2_image SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:2070-1 Security update for SDL2_image SUSE / openSUSE Security Updates · Feb 4, 2026
- 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=4621
- [debian-lts-announce] 20190722 [SECURITY] [DLA 1861-1] libsdl2-image security update mailing-list
- [debian-lts-announce] 20190727 [SECURITY] [DLA 1865-1] sdl-image1.2 security update mailing-list
- openSUSE-SU-2019:2070 vendor-advisory
- openSUSE-SU-2019:2108 vendor-advisory
- FEDORA-2019-a6bc0fb143 vendor-advisory
- USN-4238-1 vendor-advisory
- FEDORA-2020-ff2fe47ba4 vendor-advisory