CVE-2013-4788

GNU C Library <2.17 - Buffer Overflow

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2013-4788. PoCs published by Hector Marco & Ismael Ripoll.

AI-analyzed exploit summary This exploit targets a vulnerability in the `setjmp`/`longjmp` functions by manipulating the return address in the `jmp_buf` structure to achieve arbitrary code execution. The PoC attempts to overwrite the return address with a rotated value pointing to a `hacked()` function that spawns a shell.

Description

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.

Exploits (1)

exploitdb WORKING POC
by Hector Marco & Ismael Ripoll · clocallinux
https://www.exploit-db.com/exploits/28657

This exploit targets a vulnerability in the `setjmp`/`longjmp` functions by manipulating the return address in the `jmp_buf` structure to achieve arbitrary code execution. The PoC attempts to overwrite the return address with a rotated value pointing to a `hacked()` function that spawns a shell.

Classification
Working Poc 80%
Attack Type
Rce
Complexity
Moderate
Reliability
Theoretical
Target: GNU C Library (glibc) with vulnerable setjmp/longjmp implementations (specific versions not explicitly stated)
No auth needed
Prerequisites: Vulnerable glibc version with exploitable setjmp/longjmp behavior · Execution environment with appropriate architecture (x86 or x86_64)
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (7)

Core 7
Core References
Mailing List mailing-list x_refsource_fulldisc
http://seclists.org/fulldisclosure/2015/Sep/23
Vendor Advisory vendor-advisory x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDVSA-2013:284
Exploit, Patch mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2013/07/15/9
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/61183
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201503-04
Vendor Advisory vendor-advisory x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDVSA-2013:283
Exploit, Patch x_refsource_misc
http://hmarco.org/bugs/CVE-2013-4788.html

Scores

EPSS 0.0756
EPSS Percentile 92.1%

Details

CWE
CWE-20
Status published
Products (28)
gnu/eglibc
gnu/glibc 2.0
gnu/glibc 2.0.1
gnu/glibc 2.0.2
gnu/glibc 2.0.3
gnu/glibc 2.0.4
gnu/glibc 2.0.5
gnu/glibc 2.0.6
gnu/glibc 2.1
gnu/glibc 2.1.1
... and 18 more
Published Oct 04, 2013
Tracked Since Feb 18, 2026