CVE-2022-34568 Use after free in n/a

High 7.5 Published Updated

A use-after-free vulnerability in SDL v1.2 allows attackers to execute arbitrary code or cause denial of service via the XFree function.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-34568?

CVE-2022-34568 is a high-severity use after free vulnerability in n/a, published on 28 Jul 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

SDL v1.2 was discovered to contain a use-after-free via the XFree function at /src/video/x11/SDL_x11yuv.c.

Weakness: CWE-416

Which versions are affected by CVE-2022-34568?

It affects 1 product.

Products include Libsdl Simple Directmedia Layer.

How do I fix CVE-2022-34568?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2022-34568 being exploited?

There is no known exploitation of CVE-2022-34568 in the wild and no public exploit code.

Sources

Also known as AZL-43786, DEBIAN-CVE-2022-34568, GHSA-wr7h-5wm3-p3h4, UBUNTU-CVE-2022-34568, USN-5586-1.

Is CVE-2022-34568 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free