CVE-2022-34568: SDL v1.2 was discovered to contain a use-after-free via the XFree function at /src/video/x11/SDL_x11yuv.c.
CVE-2022-34568 is a high-severity flaw (CVSS 7.5) affecting simple directmedia layer. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
SDL v1.2 was discovered to contain a use-after-free via the XFree function at /src/video/x11/SDL_x11yuv.c.
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.1% (top 34%) |
| CISA exploited list | No |
| Weakness | CWE-416 |
| Published | 2022-07-28 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-34568?
simple directmedia layer: upgrade to newer than 1.2.15. Exact commands for each OS are on this page.
Is CVE-2022-34568 being exploited?
CVE-2022-34568 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-34568 affect?
CVE-2022-34568 affects simple directmedia layer. Severity is high (CVSS 7.5). SDL v1.2 was discovered to contain a use-after-free via the XFree function at /src/video/x11/SDL_x11yuv.c.
How urgent is CVE-2022-34568?
Priority 53/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2022-4743 HIGH 7.5 UPGRADE MITIGATE A potential memory leak issue was discovered in SDL2 in GLES_CreateTexture() function in SDL_render_gles.c
- CVE-2021-33657 HIGH 8.8 UPGRADE There is a heap overflow problem in video/SDL_pixels.c in SDL (Simple DirectMedia Layer) 2.x to 2.0.18 version
- CVE-2020-14410 MEDIUM 5.4 UPGRADE MITIGATE SDL (Simple DirectMedia Layer) through 2.0.12 has a heap-based buffer over-read in Blit_3or4_to_3or4__inversed
- CVE-2020-14409 HIGH 7.8 UPGRADE MITIGATE SDL (Simple DirectMedia Layer) through 2.0.12 has an Integer Overflow (and resultant SDL_memcpy heap corruptio
- CVE-2019-14906 CRITICAL 9.8 UPGRADE MITIGATE A flaw was found with the RHSA-2019:3950 erratum, where it did not fix the CVE-2019-13616 SDL vulnerability