SecurityContext

CVE-2022-4743: SDL2 - Memory Leak

  • Cve: CVE-2022-4743
  • Name: SDL2 - Memory Leak
  • 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.
  • Impact: Attackers can cause denial of service by exhausting memory resources, leading to application crash or system instability.
  • Remediation: Update to the latest version of SDL2 where the memory leak has been fixed.
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.01373
  • Epss percentile: 0.72685
  • Assignee: [email protected]
  • Published at: 2023-01-12T19:15:24Z
  • Age in days: 1412
  • Modified at: 2026-06-17T05:21:42Z
  • Patch available: yes
  • References total: 7
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-4743
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: vulnerability type, requirements, hackerone

Cwe

IdName
CWE-401Missing Release of Memory after Effective Lifetime

References

Same in every row:

  • Source: nvd
UrlTags
https://bugzilla.redhat.com/show_bug.cgi?id=2156290Issue Tracking, Patch, Third Party Advisory
https://github.com/libsdl-org/SDL/commit/00b67f55727bc0944c3266e2b875440da132ce4bPatch, Third Party Advisory
https://github.com/libsdl-org/SDL/pull/6269Patch, Third Party Advisory
https://access.redhat.com/security/cve/CVE-2022-4743Third Party Advisory
https://lists.debian.org/debian-lts-announce/2023/02/msg00008.html
https://security.gentoo.org/glsa/202305-18
https://lists.debian.org/debian-lts-announce/2025/11/msg00024.html

Products

ProductAffectedPlatform boundSourcesUrl
redhat:enterprise_linux= 9.0nonvd/v1/products/redhat/enterprise_linux
libsdl:simple_directmedia_layer>= 2.0.4, < 2.26.0nonvd/v1/products/libsdl/simple_directmedia_layer

Projects

RepositoryLink kindsIndexedUrl
libsdl-org/sdlcommit, pullyes/v1/repositories/libsdl-org/sdl

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts