CVE-2019-5057 Memory corruption in SDL

High 8.8 Published Updated

A heap overflow in SDL2_image allows attackers to execute arbitrary code by displaying a specially crafted PCX image.

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

CVE-2019-5057 is a high-severity memory corruption vulnerability in Opensuse Backports Sle, published on 31 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 code execution vulnerability exists in the PCX image-rendering functionality of SDL2_image 2.0.4. A specially crafted PCX image can cause a heap overflow, resulting in code execution. An attacker can display a specially crafted image to trigger this vulnerability.

Weakness: CWE-787, CWE-122

Which versions are affected by CVE-2019-5057?

It affects 3 products.

Products include Libsdl Sdl2 Image, Opensuse Backports Sle, Opensuse Leap.

How do I fix CVE-2019-5057?

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-5057 being exploited?

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

All Opensuse Backports Sle vulnerabilities

Sources

Also known as ALPINE-CVE-2019-5057, DEBIAN-CVE-2019-5057, GHSA-3x4q-fw99-659p, UBUNTU-CVE-2019-5057.

Is CVE-2019-5057 in your software?

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

Check your SBOMs for free