CVE-2019-12221 Memory corruption in n/a
A segmentation fault in SDL2_image allows attackers to cause a denial of service 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-12221?
CVE-2019-12221 is a medium-severity memory corruption vulnerability in Canonical Ubuntu Linux, 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 a SEGV in the SDL function SDL_free_REAL at stdlib/SDL_malloc.c.
Weakness: CWE-787
Which versions are affected by CVE-2019-12221?
It affects 7 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, Fedoraproject Fedora, Libsdl Sdl2 Image, Libsdl Simple Directmedia Layer, Opensuse Backports Sle and 1 more.
How do I fix CVE-2019-12221?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2019-12221 being exploited?
There is no known exploitation of CVE-2019-12221 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as ALPINE-CVE-2019-12221, DEBIAN-CVE-2019-12221, GHSA-257r-jcrh-66cp, UBUNTU-CVE-2019-12221.