CVE-2019-12216 Memory corruption in n/a
A heap-based buffer overflow in SDL2_image allows attackers to execute arbitrary code or cause denial of service via crafted PCX 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-12216?
CVE-2019-12216 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 heap-based buffer overflow in the SDL2_image function IMG_LoadPCX_RW at IMG_pcx.c.
Weakness: CWE-787
Which versions are affected by CVE-2019-12216?
It affects 5 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, Fedoraproject Fedora, Libsdl Sdl2 Image, Libsdl Simple Directmedia Layer.
How do I fix CVE-2019-12216?
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-12216 being exploited?
There is no known exploitation of CVE-2019-12216 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2019-12216, GHSA-mmcc-4pv3-77cj, UBUNTU-CVE-2019-12216.