CVE-2017-2887

NameCVE-2017-2887
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1134-1, DSA-4177-1, DSA-4184-1
NVD severitymedium (attack range: remote)
Debian Bugs878266, 878267

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libsdl2-image (PTS)jessie (security), jessie2.0.0+dfsg-3+deb8u1fixed
stretch (security), stretch2.0.1+dfsg-2+deb9u1fixed
buster, sid2.0.3+dfsg1-3fixed
sdl-image1.2 (PTS)jessie (security), jessie1.2.12-5+deb8u1fixed
stretch (security), stretch1.2.12-5+deb9u1fixed
buster, sid1.2.12-10fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libsdl2-imagesource(unstable)2.0.1+dfsg-4medium878266
libsdl2-imagesourcejessie2.0.0+dfsg-3+deb8u1mediumDSA-4177-1
libsdl2-imagesourcestretch2.0.1+dfsg-2+deb9u1mediumDSA-4177-1
sdl-image1.2source(unstable)1.2.12-7medium878267
sdl-image1.2sourcejessie1.2.12-5+deb8u1mediumDSA-4184-1
sdl-image1.2sourcestretch1.2.12-5+deb9u1mediumDSA-4184-1
sdl-image1.2sourcewheezy1.2.12-2+deb7u1mediumDLA-1134-1

Notes

https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0394
https://hg.libsdl.org/SDL_image/rev/318484db0705

Search for package or bug name: Reporting problems