CVE-2018-3839

NameCVE-2018-3839
DescriptionAn exploitable code execution vulnerability exists in the XCF image rendering functionality of Simple DirectMedia Layer SDL2_image-2.0.2. A specially crafted XCF image can cause an out-of-bounds write on the heap, resulting in code execution. An attacker can display a specially crafted image 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-1341-1, DSA-4177-1, DSA-4184-1
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libsdl2-image (PTS)jessie2.0.0+dfsg-3+deb8u1fixed
jessie (security)2.0.0+dfsg-3+deb8u2fixed
stretch2.0.1+dfsg-2+deb9u2fixed
stretch (security)2.0.1+dfsg-2+deb9u1fixed
buster2.0.4+dfsg1-1+deb10u1fixed
bullseye, sid2.0.5+dfsg1-1fixed
sdl-image1.2 (PTS)jessie1.2.12-5+deb8u1fixed
jessie (security)1.2.12-5+deb8u2fixed
stretch1.2.12-5+deb9u2fixed
stretch (security)1.2.12-5+deb9u1fixed
buster1.2.12-10+deb10u1fixed
bullseye, sid1.2.12-12fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libsdl2-imagesource(unstable)2.0.3+dfsg1-1
libsdl2-imagesourcejessie2.0.0+dfsg-3+deb8u1DSA-4177-1
libsdl2-imagesourcestretch2.0.1+dfsg-2+deb9u1DSA-4177-1
sdl-image1.2source(unstable)1.2.12-8
sdl-image1.2sourcejessie1.2.12-5+deb8u1DSA-4184-1
sdl-image1.2sourcestretch1.2.12-5+deb9u1DSA-4184-1
sdl-image1.2sourcewheezy1.2.12-2+deb7u2DLA-1341-1

Notes

https://hg.libsdl.org/SDL_image/rev/fb643e371806910f1973abfdfe7f981e8dba60f5
https://www.talosintelligence.com/vulnerability_reports/TALOS-2018-0521

Search for package or bug name: Reporting problems