CVE-2017-2887 Memory corruption in Simple Direct Media
A stack-based buffer overflow in SDL_image allows attackers to execute arbitrary code via a specially crafted XCF 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-2017-2887?
CVE-2017-2887 is a high-severity memory corruption vulnerability in Debian Debian 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 buffer overflow vulnerability exists in the XCF property handling functionality of SDL_image 2.0.1. A specially crafted xcf file can cause a stack-based buffer overflow resulting in potential code execution. An attacker can provide a specially crafted XCF file to trigger this vulnerability.
Weakness: CWE-787
Which versions are affected by CVE-2017-2887?
It affects 2 products.
Products include Debian Debian Linux, Libsdl Sdl Image.
How do I fix CVE-2017-2887?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2017-2887 being exploited?
There is no known exploitation of CVE-2017-2887 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as ALPINE-CVE-2017-2887, DEBIAN-CVE-2017-2887, DLA-1134-1, GHSA-hqjw-c32v-frhh, MGASA-2017-0397, MGASA-2018-0170 and 1 more.