CVE-2019-12219 Use after free in n/a

High 8.8 Published Updated

An invalid free error in SDL2_image allows attackers to cause denial of service or potentially execute code via crafted image files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2019-12219?

CVE-2019-12219 is a high-severity use after free vulnerability in n/a, published on 20 May 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

An issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL) 2.0.9 when used in conjunction with libSDL2_image.a in SDL2_image 2.0.4. There is an invalid free error in the SDL function SDL_SetError_REAL at SDL_error.c.

Weakness: CWE-415

Which versions are affected by CVE-2019-12219?

It affects 2 products.

Products include Libsdl Sdl2 Image, Libsdl Simple Directmedia Layer.

How do I fix CVE-2019-12219?

Upgrade to a fixed version.

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-2019-12219 being exploited?

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

Sources

Also known as ALPINE-CVE-2019-12219, DEBIAN-CVE-2019-12219, GHSA-rh22-q4j2-m68r, UBUNTU-CVE-2019-12219.

Is CVE-2019-12219 in your software?

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

Check your SBOMs for free