Address Space Layout Randomization (ASLR) is a memory protection that places parts of a program, its libraries, and other memory regions at unpredictable addresses when a process starts. By making locations harder to predict, ASLR can make it more difficult for an attacker to turn a memory-corruption bug into reliable code execution.
In an attack chain, a memory-address disclosure can weaken ASLR by revealing where code or data is located, helping an attacker build a more precise exploit. ASLR is a defense-in-depth measure, not a fix for the underlying bug: defenders should keep software updated and use it alongside protections such as memory-safe coding practices and process isolation.


