CVE-2019-5057

NameCVE-2019-5057
DescriptionAn exploitable code execution vulnerability exists in the PCX image-rendering functionality of SDL2_image 2.0.4. A specially crafted PCX image can cause a heap overflow, resulting in code execution. An attacker can display a specially crafted image to trigger this vulnerability.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs932754, 932755

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libsdl2-image (PTS)bullseye2.0.5+dfsg1-2fixed
bookworm2.6.3+dfsg-1fixed
sid, trixie2.8.2+dfsg-1fixed
sdl-image1.2 (PTS)bullseye1.2.12-12fixed
bookworm1.2.12-13fixed
sid, trixie1.2.12-14fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libsdl2-imagesourcestretch2.0.1+dfsg-2+deb9u2
libsdl2-imagesourcebuster2.0.4+dfsg1-1+deb10u1
libsdl2-imagesource(unstable)2.0.5+dfsg1-1932754
sdl-image1.2sourcestretch1.2.12-5+deb9u2
sdl-image1.2sourcebuster1.2.12-10+deb10u1
sdl-image1.2source(unstable)1.2.12-11932755

Notes

[jessie] - libsdl2-image <no-dsa> (Minor issue)
[jessie] - sdl-image1.2 <no-dsa> (Minor issue)
https://talosintelligence.com/vulnerability_reports/TALOS-2019-0841
https://hg.libsdl.org/SDL_image/rev/7453e79c8cdb

Search for package or bug name: Reporting problems