Skip to content
OpenAdvisories

Weakness (CWE)

CWE-121: Stack-based Buffer Overflow

Variant Draft

The product writes past the end of a buffer that was allocated on the stack.

How to prevent it (5 mitigations)
  1. Operation, Build and Compilation

    Use automatic buffer overflow detection mechanisms that are offered by certain compilers or compiler extensions. Examples include: the Microsoft Visual Studio /GS flag, Fedora/Red Hat FORTIFY_SOURCE GCC flag, StackGuard, and ProPolice, which provide various mechanisms including canary-based detection and range/index checking.

    D3-SFCV (Stack Frame Canary Validation) from D3FEND [REF-1334] discusses canary-based detection in detail.

  2. Architecture and Design

    Use an abstraction library to abstract away risky APIs. Not a complete solution.

  3. Implementation

    Implement and perform bounds checking on input.

  4. Implementation

    Do not use dangerous functions such as gets. Use safer, equivalent functions which check for boundary errors.

  5. Operation, Build and Compilation

    Run or compile the software using features or extensions that randomly arrange the positions of a program's executable and libraries in memory. Because this makes the addresses unpredictable, it can prevent an attacker from reliably jumping to exploitable code.

    Examples include Address Space Layout Randomization (ASLR) [REF-58] [REF-60] and Position-Independent Executables (PIE) [REF-64]. Imported modules may be similarly realigned if their default memory addresses conflict with other modules, in a process known as "rebasing" (for Windows) and "prelinking" (for Linux) [REF-1332] using randomly generated addresses. ASLR for libraries cannot be used in conjunction with prelink since it would require relocating the libraries at run-time, defeating the whole purpose of prelinking.

    For more information on these techniques see D3-SAOR (Segment Address Offset Randomization) from D3FEND [REF-1335].

Source: MITRE CWE-121

174 results · Clear filters · Feed

  • Critical 9.8
    CVE-2024-58299 Public exploit

    PCMan FTP Server 2.0 Remote Buffer Overflow via 'pwd' Command

    PCMan FTP Server 2.0 contains a buffer overflow vulnerability in the 'pwd' command that allows remote attackers to execute arbitrary code. Attackers can send a specially crafted payload during the FTP login process to overwrite memory and potentially gain sys…

  • High 8.8
    CVE-2025-60690 Public exploit

    A stack-based buffer overflow exists in the get_merge_ipaddr function of the httpd binary on Linksys E1200 v2 routers (…

  • High 7.7
    CVE-2025-62507 Public exploit

    Redis: Bug in XACKDEL may lead to stack overflow and potential RCE

    Redis is an open source, in-memory database that persists on disk. In versions 8.2.0 and above, a user can run the XACKDEL command with multiple ID's and trigger a stack buffer overflow, which may potentially lead to remote code execution. This issue is fixed…

  • High 7.5
    CVE-2025-60751 Public exploit

    GeographicLib 2.5 is vulnerable to Buffer Overflow in GeoConvert DMS::InternalDecode.

  • High 7.7
    CVE-2025-20352 Exploited Public exploit EPSS 41%

    A vulnerability in the Simple Network Management Protocol (SNMP) subsystem of Cisco IOS Software and Cisco IOS XE Softw…

    KEV Sep 29, 2025
  • Low 3.3
    CVE-2025-23339 Public exploit

    NVIDIA CUDA Toolkit for all platforms contains a vulnerability in cuobjdump where an attacker may cause a stack-based b…

  • Critical 9.3
    CVE-2009-20007 Public exploit

    Talkative IRC v0.4.4.16 Response Buffer Overflow

    Talkative IRC v0.4.4.16 is vulnerable to a stack-based buffer overflow when processing specially crafted response strings sent to a connected client. An attacker can exploit this flaw by sending an overly long message that overflows a fixed-length buffer, pot…

  • Critical 9.3
    CVE-2009-20005 Public exploit

    InterSystems Caché UtilConfigHome.csp Stack Buffer Overflow

    A stack-based buffer overflow exists in the UtilConfigHome.csp endpoint of InterSystems Caché 2009.1. The vulnerability is triggered by sending a specially crafted HTTP GET request containing an oversized argument to the .csp handler. Due to insufficient boun…

  • Critical 9.3
    CVE-2011-10032 Public exploit

    Sunway Forcecontrol SNMP NetDBServer.exe Opcode 0x57

    Sunway ForceControl version 6.1 SP3 and earlier contains a stack-based buffer overflow vulnerability in the SNMP NetDBServer service, which listens on TCP port 2001. The flaw is triggered when the service receives a specially crafted packet using opcode 0x57 …

  • High 8.6
    CVE-2009-20008 Public exploit

    Green Dam 3.17 URL Processing Buffer Overflow

    Green Dam Youth Escort version 3.17 is vulnerable to a stack-based buffer overflow when processing overly long URLs. The flaw resides in the URL filtering component, which fails to properly validate input length before copying user-supplied data into a fixed-…

  • Critical 9.3
    CVE-2009-20009 Public exploit

    Belkin Bulldog Plus Web Service Buffer Overflow

    Belkin Bulldog Plus version 4.0.2 build 1219 contains a stack-based buffer overflow vulnerability in its web service authentication handler. When a specially crafted HTTP request is sent with an oversized Authorization header, the application fails to properl…

  • High 7.5
    CVE-2008-20001 Public exploit

    activePDF WebGrabber ActiveX Control Buffer Overflow

    activePDF WebGrabber version 3.8.2.0 contains a stack-based buffer overflow vulnerability in the GetStatus() method of the APWebGrb.ocx ActiveX control. By passing an overly long string to this method, a remote attacker can execute arbitrary code in the conte…

  • High 7.5
    CVE-2025-55763 Public exploit

    Buffer Overflow in the URI parser of CivetWeb 1.14 through 1.16 (latest) allows a remote attacker to achieve remote cod…

  • Critical 9.3
    CVE-2009-10006 Public exploit

    UFO: Alien Invasion <= 2.2.1 IRC Client Buffer Overflow

    UFO: Alien Invasion versions up to and including 2.2.1 contain a buffer overflow vulnerability in its built-in IRC client component. When the client connects to an IRC server and receives a crafted numeric reply (specifically a 001 message), the application f…

  • Critical 9.3
    CVE-2010-20122 Public exploit

    Xftp FTP Client <= 3.0 PWD Response Buffer Overflow

    Xftp FTP Client version up to and including 3.0 (build 0238) contain a stack-based buffer overflow vulnerability triggered by a maliciously crafted PWD response from an FTP server. When the client connects to a server and receives an overly long directory str…

  • High 8.4
    CVE-2009-20003 Public exploit

    Xenorate <= 2.50 .xpl File Stack-Based Buffer Overflow

    Xenorate versions up to and including 2.50, a Windows-based multimedia player, is vulnerable to a stack-based buffer overflow when processing .xpl playlist files. The application fails to properly validate the length of input data, allowing an attacker to cra…

  • High 8.4
    CVE-2010-20114 Public exploit

    VariCAD EN <= 2010-2.05 .dwb File Stack Buffer Overflow

    VariCAD EN up to and including version 2010-2.05 is vulnerable to a stack-based buffer overflow when parsing .dwb drawing files. The application fails to properly validate the length of input data embedded in the file, allowing a crafted .dwb file to overwrit…

  • High 8.4
    CVE-2010-20123 Public exploit

    Steinberg MyMP3Player <= 3.0.0.67 Buffer Overflow

    Steinberg MyMP3Player version 3.0 (build 3.0.0.67) is vulnerable to a stack-based buffer overflow when parsing .m3u playlist files. The application fails to properly validate the length of input data within the playlist, allowing a specially crafted file to o…

  • High 8.5
    CVE-2010-20007 Public exploit

    Seagull FTP v3.3 Build 409 Stack Buffer Overflow

    Seagull FTP Client <= v3.3 Build 409 contains a stack-based buffer overflow vulnerability in its FTP directory listing parser. When the client connects to an FTP server and receives a crafted response to a LIST command containing an excessively long filename,…

  • High 8.4
    CVE-2009-20002 Public exploit

    Millenium MP3 Studio <= 2.0 .pls File Stack-Based Buffer Overflow

    Millenium MP3 Studio versions up to and including 2.0 is vulnerable to a stack-based buffer overflow when parsing .pls playlist files. The application fails to properly validate the length of the File1 field within the playlist, allowing an attacker to craft …

  • High 8.5
    CVE-2010-20034 Public exploit

    Gekko Manager FTP Client <= 0.77 Stack Buffer Overflow

    Gekko Manager FTP Client <= 0.77 contains a stack-based buffer overflow in its FTP directory listing parser. When processing a server response to a LIST command, the client fails to properly validate the length of filenames. A crafted response containing an o…

  • High 8.4
    CVE-2009-20004 Public exploit

    gAlan <= 0.2.1 Buffer Overflow

    gAlan 0.2.1, a modular audio processing environment for Windows, is vulnerable to a stack-based buffer overflow when parsing .galan files. The application fails to properly validate the length of input data, allowing a specially crafted file to overwrite the …

  • High 8.4
    CVE-2010-20108 Public exploit

    FTPPad <= 1.2.0 Stack Buffer Overflow

    FTPPad <= 1.2.0 contains a stack-based buffer overflow vulnerability in its FTP directory listing parser. When the client connects to an FTP server and receives a crafted response to a LIST command containing an excessively long directory and filename, the ap…

  • High 8.5
    CVE-2010-20107 Public exploit

    FTP Synchronizer Professional <= 4.0.73.274 Stack Buffer Overflow

    A stack-based buffer overflow exists in FTP Synchronizer Professional <= v4.0.73.274. When the client connects to an FTP server and issues a LIST command—typically during sync preview or profile creation—the server’s response containing an overly long filenam…

  • Critical 9.3
    CVE-2010-20113 Public exploit

    EasyFTP Server list.html path Stack Buffer Overflow

    EasyFTP Server 1.7.0.11 and earlier contains a stack-based buffer overflow vulnerability in its HTTP interface. When processing a GET request to list.html, the server fails to properly validate the length of the path parameter. Supplying an excessively long v…

  • Critical 9.3
    CVE-2010-20121 Public exploit

    EasyFTP Server <= 1.7.0.11 CWD Command Stack Buffer Overflow

    EasyFTP Server versions up to 1.7.0.11 contain a stack-based buffer overflow vulnerability in the FTP command parser. When processing the CWD (Change Working Directory) command, the server fails to properly validate the length of the input string, allowing at…

  • High 8.4
    CVE-2010-20111 Public exploit

    Digital Music Pad <= 8.2.3.3.4 Stack Buffer Overflow

    Digital Music Pad v8.2.3.3.4 contains a stack-based buffer overflow vulnerability in its playlist file parser. When opening a .pls file containing an excessively long string in the File1 field, the application fails to properly validate input length, resultin…

  • High 8.6
    CVE-2010-20119 Public exploit

    CommuniCrypt Mail <= 1.16 ANSMTP/AOSMTP ActiveX Control Buffer Overflow

    CommuniCrypt Mail versions up to and including 1.16 contains a stack-based buffer overflow vulnerability in its ANSMTP.dll and AOSMTP.dll ActiveX controls, specifically within the AddAttachments() method. This method fails to properly validate the length of i…

  • High 8.4
    CVE-2010-10015 Public exploit

    AOL <= 9.5 Phobos.Playlist 'Import()' Stack-Based Buffer Overflow

    AOL versions up to and including 9.5 includes an ActiveX control (Phobos.dll) that exposes a method called Import() via the Phobos.Playlist COM object. This method is vulnerable to a stack-based buffer overflow when provided with an excessively long string ar…

  • Critical 9.3
    CVE-2010-20112 Public exploit

    Amlibweb NetOpacs webquery.dll Stack Buffer Overflow

    Amlib’s NetOpacs webquery.dll contains a stack-based buffer overflow vulnerability triggered by improper handling of HTTP GET parameters. Specifically, the application fails to enforce bounds on input supplied to the app parameter, allowing excessive data to …

  • High 8.4
    CVE-2010-20010 Public exploit

    Foxit PDF Reader < 4.2.0.0928 Title Stack Buffer Overflow

    Foxit PDF Reader before 4.2.0.0928 does not properly bound-check the /Title entry in the PDF Info dictionary. A specially crafted PDF with an overlong Title string can overflow a fixed-size stack buffer, corrupt the Structured Exception Handler (SEH) chain, a…

  • High 8.4
    CVE-2010-20042 Public exploit

    Xion Audio Player ≤ 1.0.126 Unicode Stack Buffer Overflow

    Xion Audio Player versions 1.0.126 and prior are vulnerable to a Unicode-based stack buffer overflow triggered by opening a specially crafted .m3u playlist file. The file contains an overly long string that overwrites the Structured Exception Handler (SEH) ch…

  • High 8.7
    CVE-2010-10014 Public exploit

    Odin Secure FTP <= 4.1 Stack Buffer Overflow via LIST Response

    Odin Secure FTP <= 4.1 is vulnerable to a stack-based buffer overflow when parsing directory listings received in response to an FTP LIST command. A malicious FTP server can send an overly long filename in the directory listing, which overflows a fixed-size s…

  • High 8.4
    CVE-2011-10023 Public exploit

    MJM QuickPlayer <= 2010 .s3m Stack-Based Buffer Overflow

    MJM QuickPlayer (also known as MJM Player) version 2010 contains a stack-based buffer overflow vulnerability triggered by opening a malicious .s3m music file. The flaw occurs due to improper bounds checking in the file parser, allowing an attacker to overwrit…

  • High 8.4
    CVE-2011-10024 Public exploit

    MJM Core Player 2011 .s3m File Stack-Based Buffer Overflow

    MJM Core Player (likely now referred to as MJM Player) 2011 is vulnerable to a stack-based buffer overflow when parsing specially crafted .s3m music files. The vulnerability arises from improper bounds checking in the file parser, allowing an attacker to over…

  • High 8.4
    CVE-2011-10021 Public exploit

    Magix Musik Maker <= v16 .mmm Stack-Based Buffer Overflow

    Magix Musik Maker 16 is vulnerable to a stack-based buffer overflow due to improper handling of .mmm arrangement files. The vulnerability arises from an unsafe strcpy() operation that fails to validate input length, allowing attackers to overwrite the Structu…

  • Critical 9.3
    CVE-2010-20049 Public exploit

    LeapFTP < 3.1.x Stack Buffer Overflow

    LeapFTP < 3.1.x contains a stack-based buffer overflow vulnerability in its FTP client parser. When the client receives a directory listing containing a filename longer than 528 bytes, the application fails to properly bound-check the input and overwrites the…

  • High 8.5
    CVE-2010-20045 Public exploit

    FileWrangler <= 5.30 Stack Buffer Overflow

    FileWrangler <= 5.30 suffers from a stack-based buffer overflow vulnerability when parsing directory listings from an FTP server. A malicious server can send an overlong folder name in response to a LIST command, triggering memory corruption during client-sid…

  • High 8.4
    CVE-2011-10027 Public exploit

    AOL Desktop 9.6 RTX Stack-Based Buffer Overflow

    AOL Desktop 9.6 contains a buffer overflow vulnerability in its Tool\rich.rct component when parsing .rtx files. By embedding an overly long string in a hyperlink tag, an attacker can trigger a stack-based buffer overflow due to the use of unsafe strcpy opera…

  • Critical 9.3
    CVE-2012-10060 Public exploit

    Sysax Multi Server < 5.55 SSH Username Buffer Overflow

    Sysax Multi Server versions prior to 5.55 contain a stack-based buffer overflow in its SSH service. When a remote attacker supplies an overly long username during authentication, the server copies the input to a fixed-size stack buffer without proper bounds c…