CVE-2019-5052

NameCVE-2019-5052
DescriptionAn exploitable integer overflow vulnerability exists when loading a PCX file in SDL2_image 2.0.4. 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.
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-1861-1, DLA-1865-1
NVD severitymedium (attack range: remote)
Debian Bugs932754, 932755

Vulnerable and fixed packages

The table below lists information on source packages.

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

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libsdl2-imagesource(unstable)2.0.5+dfsg1-1medium932754
libsdl2-imagesourcejessie2.0.0+dfsg-3+deb8u2mediumDLA-1861-1
sdl-image1.2source(unstable)1.2.12-11medium932755
sdl-image1.2sourcejessie1.2.12-5+deb8u2mediumDLA-1865-1

Notes

[buster] - libsdl2-image <no-dsa> (Minor issue)
[stretch] - libsdl2-image <no-dsa> (Minor issue)
[buster] - sdl-image1.2 <no-dsa> (Minor issue)
[stretch] - sdl-image1.2 <no-dsa> (Minor issue)
https://talosintelligence.com/vulnerability_reports/TALOS-2019-0821
https://hg.libsdl.org/SDL_image/rev/b920be2b3fc6

Search for package or bug name: Reporting problems