What is a buffer overflow vulnerability and how can it lead to code execution?

Cybersecurity Fundamentals Hard

Cybersecurity Fundamentals — Hard

What is a buffer overflow vulnerability and how can it lead to code execution?

Key points

  • Buffer overflow: writing more data than buffer can hold
  • Overwrites adjacent memory, including return address
  • Attacker can redirect execution to injected shellcode

Ready to go further?

Related questions