Skip to content
OpenAdvisories
High · 7.5 CVE-2022-4743 EUVD-2022-52041GHSA-94g7-4r7x-4rfv

A potential memory leak issue was discovered in SDL2 in GLES_CreateTexture() function in SDL_render_gles.c. The vulnerability allows an att…

Published Jan 12, 2023 · Updated Nov 25, 2025 · Assigned by redhat

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

VendorProductAffectedFixed
— 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.

ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
Amazon Linux 2 SDL2 +2 2.0.10-1.amzn2.0.1 ALAS2-2023-2162

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 SDL2 2.30.9-1 —
Azure Linux 2 (CBL-Mariner) SDL2 No fix yet —

Advisories 10

References