Service interruption via GLES texture memory leak
Published Jan 12, 2023 · Updated Nov 25, 2025
Memory leak in SDL2 before 2.26.0 allows attackers to interrupt a service by exhausting memory during GLES texture creation. GLES_CreateTexture in SDL_render_gles.c freed its texture data structure but left the streaming pixel buffer allocated when glGenTextures or glTexImage2D returned an error. A consuming application must repeatedly reach one of those OpenGL ES error paths; the upstream discussion does not establish a remote input path.
Summary
What happened
Memory leak in SDL2 before 2.26.0 allows attackers to interrupt a service by exhausting memory during GLES texture creation. GLES_CreateTexture in SDL_render_gles.c freed its texture data structure but left the streaming pixel buffer allocated when glGenTextures or glTexImage2D returned an error. A consuming application must repeatedly reach one of those OpenGL ES error paths; the upstream discussion does not establish a remote input path.
The record
- CVE
- CVE-2022-4743
- Published
- Jan 12, 2023
- Updated
- Nov 25, 2025
- Vendor
- Simple DirectMedia Layer
- Product
- Simple DirectMedia Layer 2
- Classifications
- CWE-401, T1499.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jan 12, 2023CVE publishedPublication date reported by the CVE source.
- Nov 25, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=Affects SDL2 v2.0.4 and above, Fixed-in sdl-2.26.0, sdl-prerelease-2.25.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo