Description
A potential memory leak issue was discovered in SDL2 in GLES_CreateTexture() function in SDL_render_gles.c. The vulnerability allows an attacker to cause a denial of service attack. The vulnerability affects SDL2 v2.0.4 and above. SDL-1.x are not affected.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | SDL2 | Affects SDL2 v2.0.4 and above, Fixed-in sdl-2.26.0, sdl-prerelease-2.25.1 | — |
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.26.0+dfsg-1 | — |
| Debian 13 | libsdl2 | 2.26.0+dfsg-1 | — |
| Debian 12 | libsdl2 | 2.26.0+dfsg-1 | — |
| Debian 11 | libsdl2 | 2.0.14+dfsg2-3+deb11u2 | DLA-4382-1 |
| Debian 10 | libsdl2 | 2.0.9+dfsg1-1+deb10u1 | DLA-3314-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | libsdl2 | No fix yet | — |
| Ubuntu 16.04 LTS | libsdl2 | No fix yet | — |
Show 3 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 14.04 LTS | libsdl2 | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | SDL2 | 2.0.8-150200.11.9.1 | SUSE-SU-2023:0069-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Real Time 15 SP3 | SDL2 | 2.0.8-150200.11.9.1 | SUSE-SU-2023:0069-1 |
| SUSE Package Hub 12 | SDL2 | 2.0.5-10.1 | openSUSE-SU-2023:0017-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.4 | SDL2 | 2.0.8-150200.11.9.1 | SUSE-SU-2023:0069-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | SDL2 +2 | 2.0.10-1.amzn2.0.1 | ALAS2-2023-2162 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | SDL2 | 2.30.9-1 | — |
| Azure Linux 2 (CBL-Mariner) | SDL2 | No fix yet | — |
Advisories 10
- WID-SEC-2023-2031 Xerox FreeFlow Print Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 11, 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
- openSUSE-SU-2023:0017-1 Security update for SDL2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0069-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
- DLA-4382-1 libsdl2 - security update Debian Security (DSA / DLA) · Nov 25, 2025
- ICSA-24-046-11 Siemens SCALANCE XCM-/XRM-300 CISA ICS & IT advisories · Feb 13, 2024
- SSA-806742 SSA-806742: Multiple Vulnerabilities in SCALANCE XCM-/XRM-300 before V2.4 Siemens ProductCERT · Feb 13, 2024
- ALAS2-2023-2162 Moderate: SDL2 security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jul 25, 2023
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2156290
- https://access.redhat.com/security/cve/CVE-2022-4743
- https://github.com/libsdl-org/SDL/pull/6269
- https://github.com/libsdl-org/SDL/commit/00b67f55727bc0944c3266e2b875440da132ce4b
- [debian-lts-announce] 20230208 [SECURITY] [DLA 3314-1] libsdl2 security update mailing-list
- GLSA-202305-18 vendor-advisory