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)