Out-of-bounds read in Simple DirectMedia Layer - CVE-2019-13616

 

Out-of-bounds read in Simple DirectMedia Layer - CVE-2019-13616

Published: July 19, 2019 / Updated: March 7, 2023


Vulnerability identifier: #VU19259
CSH Severity: Medium
CVSS v4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-13616
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to heap-based buffer over-read in the "BlitNtoN" function in the "video/SDL_blit_N.c" file when called from the "SDL_SoftBlit" function in the "video/SDL_blit.c" file. A remote attacker can trick a victim to open a specially crafted file and perform a denial of service attack.


Affected software

Simple DirectMedia Layer
Gentoo Linux
Arch Linux
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for x86_64
Opensuse
SUSE Linux
Ubuntu
Fedora
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
libsdl-image1.2 (Ubuntu package)
libsdl1.2debian (Ubuntu package)
mingw-SDL
SDL
SDL2
mingw-SDL2
cabextract (Alpine package)

How to mitigate CVE-2019-13616

Install update from vendor's website.

libsdl-image1.2 (Ubuntu package) - addressed in versions 1.2.12-5+deb9u1ubuntu0.16.04.1, 1.2.12-8ubuntu0.1
libsdl1.2debian (Ubuntu package) - addressed in versions 1.2.15+dfsg1-3ubuntu0.1, 1.2.15+dfsg2-0.1ubuntu0.1
mingw-SDL - update to 1.2.15-14.fc31
SDL - addressed in versions 1.2.15-40.fc29, 1.2.15-41.fc30, 1.2.15-42.fc31
SDL2 - update to 2.0.10-1.fc29
mingw-SDL2 - update to 2.0.10-1.fc31
cabextract (Alpine package) - update to 1.9.1-r0

External References

Related Security Bulletins