CyberSecBulletin

Stack-based Buffer Overflow

CWE-121

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

We track 2,424 vulnerabilities of this type. 100% are rated high or critical, and the average CVSS score is 8.6. 20 have been exploited in real attacks.

How this weakness is prevented

  • 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 discusses canary-based detection in detail.
  • Architecture and Design: Use an abstraction library to abstract away risky APIs. Not a complete solution.
  • Implementation: Implement and perform bounds checking on input.
  • Implementation: Do not use dangerous functions such as gets. Use safer, equivalent functions which check for boundary errors.

Latest Stack-based Buffer Overflow vulnerabilities

  • 9.8 Critical severity

    FTP Server: Stack-based Buffer Overflow

    CVE-2024-58299PCMan

    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 syst

  • 9.8 Critical severity

    libbiosig: Out-of-bounds Write

    CVE-2025-66048The Biosig Project

    Several stack-based buffer overflow vulnerabilities exists in the MFER parsing functionality of The Biosig Project libbiosig 3.9.1. A specially crafted MFER file can lead to arbitrary code execution. An attacker can provide a malicious file to trigger these vu

  • 9.8 Critical severity

    libbiosig: Out-of-bounds Write

    CVE-2025-66047The Biosig Project

    Several stack-based buffer overflow vulnerabilities exists in the MFER parsing functionality of The Biosig Project libbiosig 3.9.1. A specially crafted MFER file can lead to arbitrary code execution. An attacker can provide a malicious file to trigger these vu

  • 9.8 Critical severity

    libbiosig: Out-of-bounds Write

    CVE-2025-66046The Biosig Project

    Several stack-based buffer overflow vulnerabilities exists in the MFER parsing functionality of The Biosig Project libbiosig 3.9.1. A specially crafted MFER file can lead to arbitrary code execution. An attacker can provide a malicious file to trigger these vu

  • 9.8 Critical severity

    libbiosig: Out-of-bounds Write

    CVE-2025-66045The Biosig Project

    Several stack-based buffer overflow vulnerabilities exists in the MFER parsing functionality of The Biosig Project libbiosig 3.9.1. A specially crafted MFER file can lead to arbitrary code execution. An attacker can provide a malicious file to trigger these vu

  • 9.8 Critical severity

    libbiosig: Out-of-bounds Write

    CVE-2025-66044The Biosig Project

    Several stack-based buffer overflow vulnerabilities exists in the MFER parsing functionality of The Biosig Project libbiosig 3.9.1. A specially crafted MFER file can lead to arbitrary code execution. An attacker can provide a malicious file to trigger these vu

  • 9.8 Critical severity

    libbiosig: Out-of-bounds Write

    CVE-2025-66043The Biosig Project

    Several stack-based buffer overflow vulnerabilities exists in the MFER parsing functionality of The Biosig Project libbiosig 3.9.1. A specially crafted MFER file can lead to arbitrary code execution. An attacker can provide a malicious file to trigger these vu

  • 9.8 Critical severity

    Indsutrial-Managed-Switches: Out-of-bounds Write

    CVE-2025-41732WAGO

    An unauthenticated remote attacker can abuse unsafe sscanf calls within the check_cookie() function to write arbitrary data into fixed-size stack buffers which leads to full device compromise.

  • 9.8 Critical severity

    Indsutrial-Managed-Switches: Out-of-bounds Write

    CVE-2025-41730WAGO

    An unauthenticated remote attacker can abuse unsafe sscanf calls within the check_account() function to write arbitrary data into fixed-size stack buffers which leads to full device compromise.

  • 8.8 High severity

    RE6500: Out-of-bounds Write

    CVE-2025-14136LinksysEPSS 1.22%

    A security flaw has been discovered in Linksys RE6500, RE6250, RE6300, RE6350, RE7000 and RE9000 1.0.013.001/1.0.04.001/1.0.04.002/1.1.05.003/1.2.07.001. This vulnerability affects the function RE2000v2Repeater_get_wired_clientlist_setClientsName of the file m

  • 8.8 High severity

    RE6500: Out-of-bounds Write

    CVE-2025-14135Linksys

    A vulnerability was identified in Linksys RE6500, RE6250, RE6300, RE6350, RE7000 and RE9000 1.0.013.001/1.0.04.001/1.0.04.002/1.1.05.003/1.2.07.001. This affects the function AP_get_wired_clientlist_setClientsName of the file mod_form.so. The manipulation of t

  • 8.8 High severity

    RE6500: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-14134Linksys

    A vulnerability was determined in Linksys RE6500, RE6250, RE6300, RE6350, RE7000 and RE9000 1.0.013.001/1.0.04.001/1.0.04.002/1.1.05.003/1.2.07.001. Affected by this issue is the function RE2000v2Repeater_get_wireless_clientlist_setClientsName of the file mod_

  • 8.8 High severity

    RE6500: Out-of-bounds Write

    CVE-2025-14133Linksys

    A vulnerability was found in Linksys RE6500, RE6250, RE6300, RE6350, RE7000 and RE9000 1.0.013.001/1.0.04.001/1.0.04.002/1.1.05.003/1.2.07.001. Affected by this vulnerability is the function AP_get_wireless_clientlist_setClientsName of the file mod_form.so. Pe

  • 7.2 High severity

    Fireware OS: Stack-based Buffer Overflow

    CVE-2025-1547WatchGuard

    A stack-based buffer overflow vulnerability [CWE-121] in WatchGuard Fireware OS's certificate request command could allow an authenticated privileged user to execute arbitrary code via specially crafted CLI commands.

  • 9.8 Critical severity

    Circutor: Stack-based Buffer Overflow

    CVE-2025-11786SGE-PLC1000 SGE-PLC50

    Stack-based buffer overflow vulnerability in Circutor SGE-PLC1000/SGE-PLC50 v9.0.2. In the 'SetUserPassword()' function, the 'newPassword' parameter is directly embedded in a shell command string using 'sprintf()' without any sanitisation or validation, and th

  • 9.8 Critical severity

    Circutor: Stack-based Buffer Overflow

    CVE-2025-11785SGE-PLC1000 SGE-PLC50

    Stack-based buffer overflow vulnerability in Circutor SGE-PLC1000/SGE-PLC50 v9.0.2. In the 'ShowMeterPasswords()' function, there is an unlimited user input that is copied to a fixed-size buffer via 'sprintf()'. The 'GetParameter(meter)' function retrieves the

  • 9.8 Critical severity

    Circutor: Stack-based Buffer Overflow

    CVE-2025-11784SGE-PLC1000 SGE-PLC50

    Stack-based buffer overflow vulnerability in Circutor SGE-PLC1000/SGE-PLC50 v9.0.2. In the 'ShowMeterDatabase()' function, there is an unlimited user input that is copied to a fixed-size buffer via 'sprintf()'. The 'GetParameter(meter)' function retrieves the

  • 9.8 Critical severity

    Circutor: Stack-based Buffer Overflow

    CVE-2025-11783SGE-PLC1000 SGE-PLC50

    Stack-based buffer overflow vulnerability in Circutor SGE-PLC1000/SGE-PLC50 v9.0.2. The vulnerability is found in the 'AddEvent()' function when copying the user-controlled username input to a fixed-size buffer (48 bytes) without boundary checking. This can le

  • 9.8 Critical severity

    Circutor: Stack-based Buffer Overflow

    CVE-2025-11782SGE-PLC1000 SGE-PLC50

    Stack-based buffer overflow vulnerability in Circutor SGE-PLC1000/SGE-PLC50 v9.0.2. The 'ShowDownload()' function uses “sprintf()” to format a string that includes the user-controlled input of 'GetParameter(meter)' in the fixed-size buffer 'acStack_4c' (64 byt

  • 9.8 Critical severity

    Circutor: Stack-based Buffer Overflow

    CVE-2025-11779SGE-PLC1000 SGE-PLC50EPSS 1.24%

    Stack-based buffer overflow vulnerability in CircutorSGE-PLC1000/SGE-PLC50 v9.0.2. The 'SetLan' function is invoked when a new configuration is applied. This new configuration function is activated by a management web request, which can be invoked by a user wh

  • 7.5 High severity

    suricata: Out-of-bounds Write

    CVE-2025-64344OISF

    Suricata is a network IDS, IPS and NSM engine developed by the OISF (Open Information Security Foundation) and the Suricata community. Prior to versions 7.0.13 and 8.0.2, working with large buffers in Lua scripts can lead to a stack overflow. Users of Lua rule

  • 7.5 High severity

    suricata: Out-of-bounds Write

    CVE-2025-64333OISF

    Suricata is a network IDS, IPS and NSM engine developed by the OISF (Open Information Security Foundation) and the Suricata community. Prior to versions 7.0.13 and 8.0.2, a large HTTP content type, when logged can cause a stack overflow crashing Suricata. This

  • 7.5 High severity

    suricata: Out-of-bounds Write

    CVE-2025-64332OISF

    Suricata is a network IDS, IPS and NSM engine developed by the OISF (Open Information Security Foundation) and the Suricata community. Prior to versions 7.0.13 and 8.0.2, a stack overflow that causes Suricata to crash can occur if SWF decompression is enabled.

  • 7.5 High severity

    suricata: Out-of-bounds Write

    CVE-2025-64331OISF

    Suricata is a network IDS, IPS and NSM engine developed by the OISF (Open Information Security Foundation) and the Suricata community. Prior to versions 7.0.13 and 8.0.2, a stack overflow can occur on large HTTP file transfers if the user has increased the HTT

  • 9.3 Critical severity

    Security Point (Windows) of MaLion: Stack-based Buffer Overflow

    CVE-2025-62691Intercom

    Security Point (Windows) of MaLion and MaLionCloud contains a stack-based buffer overflow vulnerability in processing HTTP headers. Receiving a specially crafted request from a remote unauthenticated attacker could lead to arbitrary code execution with SYSTEM

  • 7.3 High severity

    Xilinx Run Time (XRT): Stack-based Buffer Overflow

    CVE-2025-52539AMD

    A buffer overflow with Xilinx Run Time Environment may allow a local attacker to read or corrupt data from the advanced extensible interface (AXI), potentially resulting in loss of confidentiality, integrity, and/or availability.

  • 7.5 High severity

    SonicOS: Stack-based Buffer Overflow

    CVE-2025-40601SonicWall

    A Stack-based buffer overflow vulnerability in the SonicOS SSLVPN service allows a remote unauthenticated attacker to cause Denial of Service (DoS), which could cause an impacted firewall to crash.

  • 9.8 Critical severity

    AC21: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-13446TendaEPSS 4.21%

    A vulnerability has been found in Tenda AC21 16.03.08.16. This vulnerability affects unknown code of the file /goform/SetSysTimeCfg. The manipulation of the argument timeZone/time leads to stack-based buffer overflow. The attack is possible to be carried out r

  • 9.8 Critical severity

    AC21: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-13445TendaEPSS 4.21%

    A flaw has been found in Tenda AC21 16.03.08.16. This affects an unknown part of the file /goform/SetIpMacBind. Executing a manipulation of the argument list can lead to stack-based buffer overflow. The attack can be executed remotely. The exploit has been pub

  • 7.5 High severity

    FortiOS: Out-of-bounds Write

    CVE-2025-58413Fortinet

    A stack-based buffer overflow vulnerability in Fortinet FortiOS 7.6.0 through 7.6.3, FortiOS 7.4.0 through 7.4.8, FortiOS 7.2 all versions, FortiOS 7.0 all versions, FortiOS 6.4 all versions, FortiOS 6.2 all versions, FortiOS 6.0 all versions, FortiSASE 25.3.b

  • 7.5 High severity

    FortiOS: Stack-based Buffer Overflow

    CVE-2025-53843Fortinet

    A stack-based buffer overflow vulnerability in Fortinet FortiOS 7.6.0 through 7.6.3, FortiOS 7.4.0 through 7.4.8, FortiOS 7.2 all versions, FortiOS 7.0 all versions, FortiOS 6.4 all versions allows attacker to execute unauthorized code or commands via speciall

  • 7.2 High severity

    X13SEDW-F: Stack-based Buffer Overflow

    CVE-2025-8727SMCI

    There is a vulnerability in the Supermicro BMC web function at Supermicro MBD-X13SEDW-F. After logging into the BMC Web server, an attacker can use a specially crafted payload to trigger the Stack buffer overflow vulnerability.

  • 7.2 High severity

    MBD-X13SEDW-F: Stack-based Buffer Overflow

    CVE-2025-8076SMCI

    There is a vulnerability in the Supermicro BMC web function at Supermicro MBD-X13SEDW-F. After logging into the BMC Web server, an attacker can use a specially crafted payload to trigger the Stack buffer overflow vulnerability.

  • 9.8 Critical severity

    DIR-816L: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-13191D-Link

    A vulnerability was determined in D-Link DIR-816L 2_06_b09_beta. This issue affects the function soapcgi_main of the file /soap.cgi. This manipulation causes stack-based buffer overflow. It is possible to initiate the attack remotely. The exploit has been publ

  • 8.8 High severity

    DIR-816L: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-13190D-Link

    A vulnerability was found in D-Link DIR-816L 2_06_b09_beta. This vulnerability affects the function scandir_main of the file /portal/__ajax_exporer.sgi. The manipulation of the argument en results in stack-based buffer overflow. The attack may be performed fro

  • 9.8 Critical severity

    DIR-816L: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-13189D-Link

    A vulnerability has been found in D-Link DIR-816L 2_06_b09_beta. This affects the function genacgi_main of the file gena.cgi. The manipulation of the argument SERVER_ID/HTTP_SID leads to stack-based buffer overflow. The attack is possible to be carried out rem

  • 9.8 Critical severity

    DIR-816L: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-13188D-LinkEPSS 2.39%

    A vulnerability was detected in D-Link DIR-816L 2_06_b09_beta. Affected by this vulnerability is the function authenticationcgi_main of the file /authentication.cgi. Performing manipulation of the argument Password results in stack-based buffer overflow. Remot

  • 7.3 High severity

    Arena® Simulation: Stack-based Buffer Overflow

    CVE-2025-11918Rockwell Automation

    Rockwell Automation Arena® suffers from a stack-based buffer overflow vulnerability. The specific flaw exists within the parsing of DOE files. Local attackers are able to exploit this issue to potentially execute arbitrary code on affected installations of Are

  • 8.8 High severity

    Dir-816 Firmware: Stack-based Buffer Overflow

    CVE-2025-60679D-Link

    A stack buffer overflow vulnerability exists in the D-Link DIR-816A2 router firmware DIR-816A2_FWv1.10CNB05_R1B011D88210.img in the upload.cgi module, which handles firmware version information. The vulnerability occurs because /proc/version is read into a 512

  • 8.4 High severity

    Re7000 Firmware: Stack-based Buffer Overflow

    CVE-2025-60696Linksys

    A stack-based buffer overflow vulnerability exists in the makeRequest.cgi binary of Linksys RE7000 routers (Firmware FW_v2.0.15_211230_1012). The arplookup function parses lines from /proc/net/arp using sscanf("%16s ... %18s ..."), storing results into buffers