Input validation error in GNU C Library (glibc) - CVE-2013-4788

 

Input validation error in GNU C Library (glibc) - CVE-2013-4788

Published: July 1, 2017 / Updated: June 3, 2025


Vulnerability identifier: #VU110118
CSH Severity: Medium
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2013-4788
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

The PTR_MANGLE implementation in the GNU C Library (aka glibc or libc6) 2.4, 2.17, and earlier, and Embedded GLIBC (EGLIBC) does not initialize the random value for the pointer guard, which makes it easier for context-dependent attackers to control execution flow by leveraging a buffer-overflow vulnerability in an application and using the known zero value pointer guard to calculate a pointer address. Additional information that was taken into consideration while scoring: https://bugzilla.redhat.com/show_bug.cgi?id=985625


Affected software

GNU C Library (glibc)
Gentoo Linux
Slackware Linux
glibc
glibc-i18n
glibc-profile
glibc-solibs
sys-libs/glibc

How to mitigate CVE-2013-4788

Install update from vendor's website.

glibc - update to 2.17
glibc-i18n - update to 2.17
glibc-profile - update to 2.17
glibc-solibs - update to 2.17
sys-libs/glibc - update to 2.19-r1

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins