Out-of-bounds write in libxrandr - CVE-2016-7948

 

Out-of-bounds write in libxrandr - CVE-2016-7948

Published: December 13, 2016 / Updated: July 28, 2020


Vulnerability identifier: #VU32232
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-7948
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

X.org libXrandr before 1.5.1 allows remote X servers to trigger out-of-bounds write operations by leveraging mishandling of reply data.


Affected software

libxrandr
Gentoo Linux
Debian Linux
Slackware Linux
Ubuntu
Fedora
libxrandr (Alpine package)
libxrandr (Debian package)
libxrandr2 (Ubuntu package)
libXrandr

How to mitigate CVE-2016-7948

Install update from vendor's website.

libxrandr - update to 1.5.1
libxrandr (Alpine package) - update to 1.5.0-r1
libxrandr (Debian package) - update to 2:1.3.2-2+deb7u2
libxrandr2 (Ubuntu package) - update to 2:1.5.0-1ubuntu0.1~esm1
libXrandr - addressed in versions 1.5.1-1.fc23, 1.5.1-1.fc24, 1.5.1-1.fc25

External References

Related Security Bulletins