CVE-2019-12221

NameCVE-2019-12221
DescriptionAn issue was discovered in libSDL2.a in Simple DirectMedia Layer (SDL) 2.0.9 when used in conjunction with libSDL2_image.a in SDL2_image 2.0.4. There is a SEGV in the SDL function SDL_free_REAL at stdlib/SDL_malloc.c.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1861-1, DLA-1865-1
Debian Bugs932754, 932755

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libsdl2-image (PTS)jessie, jessie (lts)2.0.0+dfsg-3+deb8u2fixed
stretch2.0.1+dfsg-2+deb9u2fixed
stretch (security), stretch (lts)2.0.1+dfsg-2+deb9u1vulnerable
buster2.0.4+dfsg1-1+deb10u1fixed
bullseye2.0.5+dfsg1-2fixed
bookworm2.6.3+dfsg-1fixed
sid, trixie2.8.2+dfsg-1fixed
sdl-image1.2 (PTS)jessie, jessie (lts)1.2.12-5+deb8u2fixed
stretch1.2.12-5+deb9u2fixed
stretch (security), stretch (lts)1.2.12-5+deb9u1vulnerable
buster1.2.12-10+deb10u1fixed
bullseye1.2.12-12fixed
sid, trixie, bookworm1.2.12-13fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libsdl2-imagesourcejessie2.0.0+dfsg-3+deb8u2DLA-1861-1
libsdl2-imagesourcestretch2.0.1+dfsg-2+deb9u2
libsdl2-imagesourcebuster2.0.4+dfsg1-1+deb10u1
libsdl2-imagesource(unstable)2.0.5+dfsg1-1932754
sdl-image1.2sourcewheezy(unfixed)end-of-life
sdl-image1.2sourcejessie1.2.12-5+deb8u2DLA-1865-1
sdl-image1.2sourcestretch1.2.12-5+deb9u2
sdl-image1.2sourcebuster1.2.12-10+deb10u1
sdl-image1.2source(unstable)1.2.12-11932755

Notes

https://bugzilla.libsdl.org/show_bug.cgi?id=4628
https://hg.libsdl.org/SDL_image/rev/e7e9786a1a34

Search for package or bug name: Reporting problems