Buffer overflow in libx11 - CVE-2013-7439
Published: October 27, 2023
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to multiple off-by-one errors in the MakeBigReq and SetReqLen macros in include/X11/Xlibint.h in X11R6.x and libX11. A remote attacker can create a specially crafted request, trigger buffer overflow and execute arbitrary code on the target system.
Affected software
Debian Linux
Ubuntu
libxrender1 (Ubuntu package)
libx11 (Debian package)
libx11-dev (Ubuntu package)
IBM BladeCenter Advanced Management Module
How to mitigate CVE-2013-7439
libxrender1 (Ubuntu package) - addressed in versions 1:0.9.6-2ubuntu0.2, 1:0.9.8-1build0.14.04.1, 1:0.9.8-1build0.14.10.1
libx11 (Debian package) - addressed in versions 2:1.3.3-4+squeeze2, 2:1.5.0-1+deb7u2
libx11-dev (Ubuntu package) - update to 2:1.4.99.1-0ubuntu2.3
IBM BladeCenter Advanced Management Module - update to BPET68C-3.68C
External References
- http://lists.x.org/archives/xorg-announce/2015-April/002561.html
- http://seclists.org/oss-sec/2015/q2/81
- http://www.debian.org/security/2015/dsa-3224
- http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html
- http://www.securityfocus.com/bid/73962
- http://www.ubuntu.com/usn/USN-2568-1
- https://bugs.freedesktop.org/show_bug.cgi?id=56508