Everything About ___
Live briefing

Everything about Stack buffer overflow

Software anomaly

In software, a stack buffer overflow or stack buffer overrun occurs when a program writes to a memory address on the program's call stack outside of the intended data structure, which is usually a fixed-length buffer. Stack buffer overflow bugs are caused when a program writes more data to a buffer located on the stack than what is actually allocated for that buffer. This almost always results in corruption of adjacent data on the stack, and in cases where the overflow was triggered by mistake, will often cause the program to crash or operate incorrectly. Stack buffer overflow is a type of the more general programming malfunction known as buffer overflow. Overfilling a buffer on the stack is more likely to derail program execution than overfilling a buffer on the heap because the stack contains the return addresses for all active function calls. Wikipedia →

🧭 Start here: a 6-step reading path

  1. Read the overview: Stack buffer overflowA 5-minute orientation
  2. Skim a recent paper: BASICS: Binary Analysis and Stack Integrity Checker System for Buffer Overflow MitigationInfluential work since 2022
  3. Pick up a classic book: The web application hacker's handbookThe most-reprinted book on the subject
  4. Read the landmark paper: SafeStack: Automatically Patching Stack-Based Buffer Overflow VulnerabilitiesCited 43 times
  5. Go sideways: Buffer overflowA closely related topic
  6. Go sideways: Return-oriented programmingA closely related topic

📖 Definitions

No dictionary entry for this exact phrase.

🏆 Landmark papers (most cited)

🆕 Influential since 2022

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

🔗 Related topics