CVE-2017-12122 Memory corruption in Simple DirectMedia Layer

High 8.8 Published Updated

A heap overflow in SDL2_image allows attackers to execute arbitrary code by displaying a specially crafted ILBM 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-2017-12122?

CVE-2017-12122 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 24 Apr 2018. 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 ILBM image rendering functionality of SDL2_image-2.0.2. A specially crafted ILBM 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

Which versions are affected by CVE-2017-12122?

It affects 2 products.

Products include Debian Debian Linux, Libsdl Sdl Image.

How do I fix CVE-2017-12122?

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-2017-12122 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2017-12122, DEBIAN-CVE-2017-12122, GHSA-vmfr-6chp-w9mf, UBUNTU-CVE-2017-12122.

Is CVE-2017-12122 in your software?

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

Check your SBOMs for free