CVE-2017-2888 Integer overflow in Simple Direct Media

High 8.8 Published Updated

An attacker can execute arbitrary code by providing a specially crafted image file that triggers an integer overflow in the SDL 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-2017-2888?

CVE-2017-2888 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 11 Oct 2017. 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 creating a new RGB Surface in SDL 2.0.5. 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-2017-2888?

It affects 3 products.

Linux distribution packages (2)
SDL2 SUSE:Package Hub 12All versions2.0.5-7.1
SDL2 SUSE:Package Hub 12All versions2.0.5-7.1

Products include Canonical Ubuntu Linux, Debian Debian Linux, Libsdl Simple Directmedia Layer.

How do I fix CVE-2017-2888?

Upgrade to a fixed version.

Is CVE-2017-2888 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-2888, DLA-1714-2, GHSA-3x42-vgc3-7f6c, MGASA-2017-0398, UBUNTU-CVE-2017-2888, openSUSE-SU-2017:2893-1 and 1 more.

Is CVE-2017-2888 in your software?

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

Check your SBOMs for free