Heap out-of-bounds read in Simple DirectMedia Layer - CVE-2019-7638

 

Heap out-of-bounds read in Simple DirectMedia Layer - CVE-2019-7638

Published: February 14, 2019 / Updated: March 7, 2023


Vulnerability identifier: #VU17688
CSH Severity: Low
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-7638
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 condition in the Map1toN function. A remote attacker can trick the victim into accessing a crafted image 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 Power, little endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Opensuse
Fedora
libsdl1.2 (Ubuntu package)
sdl (Alpine package)
SDL (Red Hat package)
libsdl2 (Ubuntu package)
sdl2 (Alpine package)
mingw-SDL
SDL

How to mitigate CVE-2019-7638

Install update from vendor's website.

libsdl1.2 (Ubuntu package) - addressed in versions 1.2.15+dfsg1-3ubuntu0.1, 1.2.15+dfsg2-0.1ubuntu0.1
sdl (Alpine package) - update to 1.2.15-r8
SDL (Red Hat package) - addressed in versions 1.2.15-17.el7, 1.2.15-38.el8
libsdl2 (Ubuntu package) - addressed in versions 2.0.4+dfsg1-2ubuntu2.16.04.2, 2.0.8+dfsg1-1ubuntu1.18.04.4, 2.0.9+dfsg1-1ubuntu1.19.04.1
sdl2 (Alpine package) - update to 2.0.10-r0
mingw-SDL - update to 1.2.15-14.fc31
SDL - addressed in versions 1.2.15-31.fc28, 1.2.15-36.fc29

External References

Related Security Bulletins