CVE-2019-5051 Memory corruption in Simple DirectMedia
A heap-based buffer overflow in SDL2_image allows attackers to execute arbitrary code via a specially crafted PCX image file.
- 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-5051?
CVE-2019-5051 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 3 Jul 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 exploitable heap-based buffer overflow vulnerability exists when loading a PCX file in SDL2_image, version 2.0.4. A missing error handler can lead to a buffer overflow and potential code execution. An attacker can provide a specially crafted image file to trigger this vulnerability.
Which versions are affected by CVE-2019-5051?
It affects 5 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, Libsdl Sdl2 Image, Opensuse Backports Sle, Opensuse Leap.
How do I fix CVE-2019-5051?
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-5051 being exploited?
There is no known exploitation of CVE-2019-5051 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as ALPINE-CVE-2019-5051, DEBIAN-CVE-2019-5051, GHSA-wxjc-cpqc-xw6q, UBUNTU-CVE-2019-5051.