CVE-2019-13616

NameCVE-2019-13616
DescriptionSDL (Simple DirectMedia Layer) through 1.2.15 and 2.x through 2.0.9 has a heap-based buffer over-read in BlitNtoN in video/SDL_blit_N.c when called from SDL_SoftBlit in video/SDL_blit.c.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2536-1, DLA-2804-1, DLA-3314-1, ELA-353-1, ELA-520-1
Debian Bugs940934

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libsdl1.2 (PTS)jessie, jessie (lts)1.2.15-10+deb8u3fixed
stretch (security), stretch (lts), stretch1.2.15+dfsg1-4+deb9u1fixed
buster1.2.15+dfsg2-6~deb10u1fixed
bullseye1.2.15+dfsg2-6fixed
bookworm1.2.15+dfsg2-8fixed
libsdl2 (PTS)jessie, jessie (lts)2.0.2+dfsg1-6+deb8u3fixed
stretch (security), stretch (lts), stretch2.0.5+dfsg1-2+deb9u2fixed
buster2.0.9+dfsg1-1vulnerable
buster (security)2.0.9+dfsg1-1+deb10u1fixed
bullseye2.0.14+dfsg2-3+deb11u1fixed
bookworm2.26.5+dfsg-1fixed
trixie2.30.0+dfsg-1fixed
sid2.30.2+dfsg-1fixed
libsdl2-image (PTS)jessie, jessie (lts)2.0.0+dfsg-3+deb8u2vulnerable
stretch2.0.1+dfsg-2+deb9u2vulnerable
stretch (security), stretch (lts)2.0.1+dfsg-2+deb9u1vulnerable
buster2.0.4+dfsg1-1+deb10u1vulnerable
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+deb8u2vulnerable
stretch1.2.12-5+deb9u2vulnerable
stretch (security), stretch (lts)1.2.12-5+deb9u1vulnerable
buster1.2.12-10+deb10u1vulnerable
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
libsdl1.2sourcejessie1.2.15-10+deb8u3ELA-520-1
libsdl1.2sourcestretch1.2.15+dfsg1-4+deb9u1DLA-2804-1
libsdl1.2sourcebuster1.2.15+dfsg2-4+deb10u1
libsdl1.2source(unstable)1.2.15+dfsg2-5
libsdl2sourcejessie2.0.2+dfsg1-6+deb8u3ELA-353-1
libsdl2sourcestretch2.0.5+dfsg1-2+deb9u1DLA-2536-1
libsdl2sourcebuster2.0.9+dfsg1-1+deb10u1DLA-3314-1
libsdl2source(unstable)2.0.10+dfsg1-1
libsdl2-imagesource(unstable)2.0.5+dfsg1-2940934
sdl-image1.2sourcewheezy(unfixed)end-of-life
sdl-image1.2source(unstable)1.2.12-12

Notes

[jessie] - libsdl2 <postponed> (can be fixed along with more important patches)
[jessie] - libsdl1.2 <postponed> (can be fixed along with more important patches)
[buster] - libsdl2-image <no-dsa> (Minor issue)
[stretch] - libsdl2-image <no-dsa> (Minor issue)
[jessie] - libsdl2-image <postponed> (can be fixed along with more important patches)
[buster] - sdl-image1.2 <no-dsa> (Minor issue)
[stretch] - sdl-image1.2 <no-dsa> (Minor issue)
[jessie] - sdl-image1.2 <postponed> (can be fixed along with more important patches)
https://bugzilla.libsdl.org/show_bug.cgi?id=4538
libsdl2: https://hg.libsdl.org/SDL/rev/e7ba650a643a
libsdl1.2: https://hg.libsdl.org/SDL/rev/ad1bbfbca760
libsdl2-image: https://hg.libsdl.org/SDL_image/rev/ba45f00879ba
sdl-image1.2: https://hg.libsdl.org/SDL_image/rev/a59bfe382008
[wheezy] - libsdl1.2 <postponed> (can be fixed along with more important patches)
wheezy version built with ASAN (in a jessie environment) exhibits the exact same failure as the upstream bug

Search for package or bug name: Reporting problems