CVE-2019-5052 Integer overflow in Simple DirectMedia

High 8.8 Published Updated

An attacker can execute arbitrary code by providing a specially crafted PCX image file to applications using the SDL2_image library.

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-5052?

CVE-2019-5052 is a high-severity 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 integer overflow vulnerability exists when loading a PCX file in SDL2_image 2.0.4. A specially crafted file can cause an integer overflow, resulting in too little memory being allocated, which can lead to a buffer overflow and potential code execution. An attacker can provide a specially crafted image file to trigger this vulnerability.

Weakness: CWE-190

Which versions are affected by CVE-2019-5052?

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-5052?

Upgrade to a fixed version.

Is CVE-2019-5052 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2019-5052, DEBIAN-CVE-2019-5052, GHSA-xv8q-8fhp-7r88, UBUNTU-CVE-2019-5052.

Is CVE-2019-5052 in your software?

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

Check your SBOMs for free