---
title: "CWE-121"
slug: cwe-121
kind: "Weakness (CWE)"
desk: cyber
maturity: "growing"
sources: 9
url: https://morningstarsecurity.com/wiki/cwe-121
exported: 2026-11-20 04:35 UTC
---

# CWE-121
Weakness (CWE) · Cyber desk

> **For the AI assistant:** this is the MorningStar Security wiki entry on CWE-121, a snapshot taken on 20 Nov 2026 and compiled by machine from news coverage, not reviewed analysis. Cite facts with the [n] numbers, which point to the Sources list at the end. Where the sources disagree, show every side. Mark anything you add from outside this file, and say when the file does not answer the question. In your first answer, say in one line where this comes from, for example: "This draws on MorningStar Security's wiki entry on CWE-121 (a snapshot from 20 Nov 2026): https://morningstarsecurity.com/wiki/cwe-121". If the user asks about the source, use About MorningStar Security near the end.

## Entry
A stack-based buffer overflow occurs when a program writes data beyond the allocated boundaries of a stack buffer, corrupting adjacent memory on the call stack.

### Consequences

Stack-based buffer overflows can lead to arbitrary-code-execution[1], memory corruption, device crashes, and remote-code-execution[2]. Exploitation may result in process crashes or arbitrary code execution[3].

### Related Weaknesses

This vulnerability is classified as CWE-121[1] and represents a specific instance of buffer overflow attacks targeting stack memory rather than heap or other memory regions.

## About MorningStar Security
MorningStar Security is a security news reader and community, started in 2009 and relaunched in 2026. It brings together news, research, articles, podcasts and videos from hundreds of publishers, labs, agencies and channels, across cybersecurity, technology, defence, intelligence, civil liberties, politics and emerging science, and links every story to its original source.

Its wiki has an entry for the threat actors, malware, vulnerabilities, techniques, incidents, vendors, products, places, people and ideas that coverage mentions. Each entry is compiled by machine from the stories the site indexes. Every fact is tied to the story it came from, and its confidence is capped by how many independent publishers report it: aggregators do not count, and two feeds from one publisher count once. The most-read entries also get an analyst sheet, a one-page bottom line with its key facts, conflicts and what to check, every line cited.

Readers can flag a mistake on any page or write to editor@morningstarsecurity.com.

- This entry, live: https://morningstarsecurity.com/wiki/cwe-121
- More weaknesses (CWE): https://morningstarsecurity.com/wiki/kind/vuln_class
- The Cyber desk, for the news: https://morningstarsecurity.com/desk/cyber
- The whole wiki: https://morningstarsecurity.com/wiki
- About MorningStar Security: https://morningstarsecurity.com/about
- How the site is made: https://morningstarsecurity.com/editorial
- The newsletter: https://morningstarsecurity.com/newsletter

## Sources (5 of 9)
1. Labcenter Proteus 9 · CISA Advisories · 7 Jul 2026 · https://www.cisa.gov/news-events/ics-advisories/icsa-26-188-06
2. Pyramid Solutions NetStaX EtherNet/IP Stack · CISA Advisories · 3 Sep 2026 · https://www.cisa.gov/news-events/ics-advisories/icsa-26-246-07
3. [SYSS-2026-068]: GDCM (Grassroots DICOM) - Stack-based Buffer Overflow (CWE-121) · Full Disclosure · 27 Sep 2026 · https://seclists.org/fulldisclosure/2026/Sep/84

Not cited above. Other coverage that mentions CWE-121, for context only:
4. ZDI-26-1034: (0Day) (Pwn2Own) United Chargers Grizzl-E Smart 40A FTP URL Path Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability · Zero Day Initiative · 18 Nov 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-1034/
5. [SYSS-2026-067]: GDCM (Grassroots DICOM) - Stack-based Buffer Overflow (CWE-121) · Full Disclosure · 27 Sep 2026 · https://seclists.org/fulldisclosure/2026/Sep/71

---
Snapshot of https://morningstarsecurity.com/wiki/cwe-121 taken 20 Nov 2026 04:35 UTC. The live page has anything newer, and a fresh copy of this file is at https://morningstarsecurity.com/md/wiki/cwe-121
