06:00 UTC Charta Aetatis Cyberpunk

Newsletter Pro Sign in Early access Register
Aa · Display
Themes
Type size
Density
MorningStar Security is in early access. The wiki is open to everyone; the news desks open with a code. Have a code, or want launch notice?
Export
growing · 16 feeds

Stack Buffer Overflow

News volume 24 stories in 90 days, most on 4 Sep (4)
22 Aug: 0 stories23 Aug: 0 stories24 Aug: 0 stories25 Aug: 0 stories26 Aug: 0 stories27 Aug: 0 stories28 Aug: 0 stories29 Aug: 0 stories30 Aug: 0 stories31 Aug: 0 stories1 Sep: 0 stories2 Sep: 1 story3 Sep: 1 story4 Sep: 4 stories5 Sep: 0 stories6 Sep: 0 stories7 Sep: 0 stories8 Sep: 1 story9 Sep: 1 story10 Sep: 0 stories11 Sep: 0 stories12 Sep: 0 stories13 Sep: 0 stories14 Sep: 0 stories15 Sep: 0 stories16 Sep: 1 story17 Sep: 1 story18 Sep: 0 stories19 Sep: 0 stories20 Sep: 0 stories21 Sep: 1 story22 Sep: 3 stories23 Sep: 0 stories24 Sep: 0 stories25 Sep: 0 stories26 Sep: 0 stories27 Sep: 0 stories28 Sep: 0 stories29 Sep: 0 stories30 Sep: 1 story1 Oct: 0 stories2 Oct: 0 stories3 Oct: 0 stories4 Oct: 0 stories5 Oct: 0 stories6 Oct: 0 stories7 Oct: 0 stories8 Oct: 0 stories9 Oct: 0 stories10 Oct: 0 stories11 Oct: 0 stories12 Oct: 0 stories13 Oct: 0 stories14 Oct: 0 stories15 Oct: 0 stories16 Oct: 0 stories17 Oct: 0 stories18 Oct: 0 stories19 Oct: 0 stories20 Oct: 0 stories21 Oct: 0 stories22 Oct: 2 stories23 Oct: 0 stories24 Oct: 0 stories25 Oct: 0 stories26 Oct: 0 stories27 Oct: 0 stories28 Oct: 2 stories29 Oct: 0 stories30 Oct: 0 stories31 Oct: 0 stories1 Nov: 0 stories2 Nov: 0 stories3 Nov: 0 stories4 Nov: 1 story5 Nov: 0 stories6 Nov: 1 story7 Nov: 0 stories8 Nov: 0 stories9 Nov: 0 stories10 Nov: 0 stories11 Nov: 0 stories12 Nov: 0 stories13 Nov: 0 stories14 Nov: 0 stories15 Nov: 0 stories16 Nov: 0 stories17 Nov: 1 story18 Nov: 2 stories19 Nov: 0 stories
Intelligence coverage

A stack buffer overflow occurs when a program writes more data to a buffer allocated on the stack than the buffer can hold, causing the excess data to overwrite adjacent memory. This is a class of memory safety vulnerability 1.

Consequences

Stack buffer overflows can lead to multiple severe outcomes:

Code Execution & Control Flow
The overflow can enable Remote Code Execution 2 or arbitrary code execution 3 by overwriting return addresses or function pointers on the stack, allowing an attacker to redirect program execution to malicious code. More broadly, the vulnerability permits hijacking program execution flow 4.

Memory & Availability
The overflow causes memory corruption 5, potentially destabilizing the process. Attackers may also trigger Denial of Service alongside arbitrary code execution.

Attack Mechanism

The core mechanism exploits the stack's linear memory layout. When a function allocates a local buffer without proper bounds checking, input longer than the buffer's size overwrites the return address or saved frame pointer stored above it on the stack. By crafting input with a specific payload, an attacker can replace the return address with a pointer to shellcode or a gadget chain, causing the CPU to execute attacker-controlled instructions when the function returns.

Stack buffer overflows are particularly dangerous because they are often exploitable without Address Space Layout Randomization (ASLR) or other mitigations, and they require no special privileges to trigger—only the ability to provide input to the vulnerable function.

In the news 5

  1. ZDI-26-499: WatchGuard FireWare OS cli Token Parser Stack-based Buffer Overflow Remote Code Execution Vulnerability · Zero Day Initiative
  2. ZDI-26-456: GIMP TIF File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability · Zero Day Initiative
  3. This Week in Security: Another Record Patch Tuesday, LAME is More Secure, Secure Boot is Less Secure, and Milk Malware · Hackaday
  4. My Stack Simulator, (Wed, Jul 8th) · SANS Internet Storm Center
  5. thttpd v2.26 Stack-Based Buffer Overflow in thttpd htpasswd Utility Allows Local Memory Corruption · Full Disclosure

Sign in for the full story cards: summaries, tags and starring.

That's Cyber for today

Tomorrow's desk, in your inbox by 06:00 UTC. The week's best stories, every Sunday. The month that mattered, on the 1st.

Drawn from the 519 sources the paper read this month. Text and HTML, one-click unsubscribe, free.

How often
Your desks