Safe-Linking is a security mechanism introduced in modern versions of Glibc (≥ 2.32) to protect heap metadata — especially the forward pointers (FD) stored in tcache and fast bins.
Traditionally, these pointers could be directly overwritten by attackers to perform heap exploitation (like tcache poisoning).
Safe-Linking prevents this by obfuscating pointers using an XOR operation with bits from the chunk’s own address.











Top comments (0)