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

  • 8.8 High severity

    DAP-2622: Out-of-bounds Write

    CVE-2023-35733D-LinkEPSS 1.08%

    D-Link DAP-2622 DDP Change ID Password Auth Username Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-2622 routers. Authentic

  • 8.8 High severity

    DAP-2622: Out-of-bounds Write

    CVE-2023-35732D-LinkEPSS 1.08%

    D-Link DAP-2622 DDP Reset Factory Auth Password Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-2622 routers. Authentication

  • 8.8 High severity

    DAP-2622: Out-of-bounds Write

    CVE-2023-35731D-LinkEPSS 1.08%

    D-Link DAP-2622 DDP Reset Factory Auth Username Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-2622 routers. Authentication

  • 8.8 High severity

    DAP-2622: Out-of-bounds Write

    CVE-2023-35730D-LinkEPSS 1.08%

    D-Link DAP-2622 DDP Reset Auth Password Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-2622 routers. Authentication is not

  • 8.8 High severity

    DAP-2622: Out-of-bounds Write

    CVE-2023-35729D-LinkEPSS 1.08%

    D-Link DAP-2622 DDP Reset Auth Username Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-2622 routers. Authentication is not

  • 8.8 High severity

    DAP-2622: Out-of-bounds Write

    CVE-2023-35728D-LinkEPSS 1.08%

    D-Link DAP-2622 DDP Reboot Auth Password Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-2622 routers. Authentication is not

  • 8.8 High severity

    DAP-2622: Out-of-bounds Write

    CVE-2023-35727D-LinkEPSS 1.08%

    D-Link DAP-2622 DDP Reboot Auth Username Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-2622 routers. Authentication is not

  • 8.8 High severity

    DAP-2622: Out-of-bounds Write

    CVE-2023-35726D-LinkEPSS 1.08%

    D-Link DAP-2622 DDP User Verification Auth Password Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-2622 routers. Authentica

  • 8.8 High severity

    DAP-2622: Out-of-bounds Write

    CVE-2023-35725D-LinkEPSS 1.09%

    D-Link DAP-2622 DDP User Verification Auth Username Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-2622 routers. Authentica

  • 8.8 High severity

    DAP-2622: Stack-based Buffer Overflow

    CVE-2023-35718D-LinkEPSS 1.05%

    D-Link DAP-2622 DDP Change ID Password Auth Password Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-2622 routers. Authentic

  • 7.8 High severity

    Cobalt: Stack-based Buffer Overflow

    CVE-2023-35710Ashlar-Vellum

    Ashlar-Vellum Cobalt Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Ashlar-Vellum Cobalt. User interaction is required to exploit this vulnerabi

  • 8.8 High severity

    Graphite: Out-of-bounds Write

    CVE-2023-34306Ashlar-Vellum

    Ashlar-Vellum Graphite VC6 File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Ashlar-Vellum Graphite. User interaction is required to e

  • 7.8 High severity

    Cobalt: Stack-based Buffer Overflow

    CVE-2023-34302Ashlar-Vellum

    Ashlar-Vellum Cobalt CO File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Ashlar-Vellum Cobalt. User interaction is required to exploi

  • 7.8 High severity

    Cobalt: Stack-based Buffer Overflow

    CVE-2023-34287Ashlar-Vellum

    Ashlar-Vellum Cobalt CO File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Ashlar-Vellum Cobalt. User interaction is required to exploi

  • 8.8 High severity

    RAX30: Out-of-bounds Write

    CVE-2023-34285NETGEAR

    NETGEAR RAX30 cmsCli_authenticate Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of NETGEAR RAX30 routers. Authentication is not required

  • 8.8 High severity

    DIR-2640: Stack-based Buffer Overflow

    CVE-2023-32149D-LinkEPSS 1.24%

    D-Link DIR-2640 prog.cgi Request Handling Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-2640 routers. Authentication is no

  • 8.8 High severity

    DAP-1360: Stack-based Buffer Overflow

    CVE-2023-32146D-LinkEPSS 1.1%

    D-Link DAP-1360 Multiple Parameters Stack-Based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-1360 routers. Authentication is not requ

  • 8.8 High severity

    DAP-1360: Out-of-bounds Write

    CVE-2023-32144D-LinkEPSS 1.04%

    D-Link DAP-1360 webproc COMM_MakeCustomMsg Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-1360 routers. Authentication is n

  • 8.8 High severity

    DAP-1360: Out-of-bounds Write

    CVE-2023-32142D-LinkEPSS 1.1%

    D-Link DAP-1360 webproc var:page Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-1360 routers. Authentication is not require

  • 8.8 High severity

    DAP-1360: Out-of-bounds Write

    CVE-2023-32141D-LinkEPSS 1.1%

    D-Link DAP-1360 webproc WEB_DisplayPage Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-1360 routers. Authentication is not

  • 7.5 High severity

    DAP-1360: Heap-based Buffer Overflow

    CVE-2023-32140D-Link

    D-Link DAP-1360 webproc var:sys_Token Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-1360 routers. Authentication is not req

  • 8.8 High severity

    DAP-1360: Out-of-bounds Write

    CVE-2023-32139D-LinkEPSS 1.04%

    D-Link DAP-1360 webproc Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-1360 routers. Authentication is not required to expl

  • 8.8 High severity

    DAP-1360: Out-of-bounds Write

    CVE-2023-32136D-LinkEPSS 1.16%

    D-Link DAP-1360 webproc var:menu Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-1360 routers. Authentication is not require

  • 8.8 High severity

    RAX30: Out-of-bounds Write

    CVE-2023-27369NETGEAR

    NETGEAR RAX30 soap_serverd Stack-based Buffer Overflow Authentication Bypass Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of NETGEAR RAX30. Authentication is not required to exploit thi

  • 8.8 High severity

    RAX30: Out-of-bounds Write

    CVE-2023-27368NETGEAR

    NETGEAR RAX30 soap_serverd Stack-based Buffer Overflow Authentication Bypass Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of NETGEAR RAX30 routers. Authentication is not required to exp

  • 8.0 High severity

    RAX30: Out-of-bounds Write

    CVE-2023-27361NETGEAR

    NETGEAR RAX30 rex_cgi JSON Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of NETGEAR RAX30 routers. Authentication is required to

  • 8.8 High severity

    AX1800: Stack-based Buffer Overflow

    CVE-2023-27346TP-Link

    TP-Link AX1800 Firmware Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of TP-Link AX1800 routers. Authentication is not required

  • 8.8 High severity

    Archer AX21: Stack-based Buffer Overflow

    CVE-2023-27332TP-Link

    TP-Link Archer AX21 tdpServer Logging Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of TP-Link Archer AX21 routers. Authentication is no

  • 7.5 High severity

    Aruba Mobility Conductor (formerly Mobility…: Stack-based Buffer Overflow

    CVE-2024-33517Hewlett Packard Enterprise

    An unauthenticated Denial-of-Service (DoS) vulnerability exists in the Radio Frequency Manager service accessed via the PAPI protocol. Successful exploitation of this vulnerability results in the ability to interrupt the normal operation of the affected servic

  • 7.5 High severity

    Aruba Mobility Conductor (formerly Mobility…: Stack-based Buffer Overflow

    CVE-2024-33516Hewlett Packard Enterprise

    An unauthenticated Denial of Service (DoS) vulnerability exists in the Auth service accessed via the PAPI protocol provided by ArubaOS. Successful exploitation of this vulnerability results in the ability to interrupt the normal operation of the controller.

  • 7.5 High severity

    Aruba Mobility Conductor (formerly Mobility…: Stack-based Buffer Overflow

    CVE-2024-33515Hewlett Packard Enterprise

    Unauthenticated Denial-of-Service (DoS) vulnerabilities exist in the AP Management service accessed via the PAPI protocol. Successful exploitation of these vulnerabilities results in the ability to interrupt the normal operation of the affected service.

  • 7.5 High severity

    Aruba Mobility Conductor (formerly Mobility…: Stack-based Buffer Overflow

    CVE-2024-33514Hewlett Packard Enterprise

    Unauthenticated Denial-of-Service (DoS) vulnerabilities exist in the AP Management service accessed via the PAPI protocol. Successful exploitation of these vulnerabilities results in the ability to interrupt the normal operation of the affected service.

  • 9.8 Critical severity

    Aruba Mobility Conductor (formerly Mobility…: Stack-based Buffer Overflow

    CVE-2024-33512Hewlett Packard EnterpriseEPSS 14.6%

    There is a buffer overflow vulnerability in the underlying Local User Authentication Database service that could lead to unauthenticated remote code execution by sending specially crafted packets destined to the PAPI (Aruba's access point management protocol)

  • 9.8 Critical severity

    Aruba Mobility Conductor (formerly Mobility…: Stack-based Buffer Overflow

    CVE-2024-33511Hewlett Packard EnterpriseEPSS 14.6%

    There is a buffer overflow vulnerability in the underlying Automatic Reporting service that could lead to unauthenticated remote code execution by sending specially crafted packets destined to the PAPI (Aruba's access point management protocol) UDP port (8211)

  • 9.8 Critical severity

    Aruba Mobility Conductor (formerly Mobility…: Stack-based Buffer Overflow

    CVE-2024-26305Hewlett Packard EnterpriseEPSS 15.2%

    There is a buffer overflow vulnerability in the underlying Utility daemon that could lead to unauthenticated remote code execution by sending specially crafted packets destined to the PAPI (Aruba's access point management protocol) UDP port (8211). Successful

  • 9.8 Critical severity

    Aruba Mobility Conductor (formerly Mobility…: Stack-based Buffer Overflow

    CVE-2024-26304Hewlett Packard EnterpriseEPSS 44.3%

    There is a buffer overflow vulnerability in the underlying L2/L3 Management service that could lead to unauthenticated remote code execution by sending specially crafted packets destined to the PAPI (Aruba's access point management protocol) UDP port (8211). S

  • 7.8 High severity

    CNCSoft-G2 DOPSoft: Stack-based Buffer Overflow

    CVE-2024-4192Delta Electronics

    Delta Electronics CNCSoft-G2 lacks proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process.

  • 9.8 Critical severity

    emdns.c: Stack-based Buffer Overflow

    CVE-2023-50434Emdns

    emdns_resolve_raw in emdns.c in emdns through fbd1eef calls strlen with an input that may not be '\0' terminated, leading to a stack-based buffer over-read. This can be triggered by a remote adversary that can send DNS requests to the emdns server. The impact

  • 8.8 High severity

    A301: Out-of-bounds Write

    CVE-2024-4291TendaEPSS 1.45%

    A vulnerability was found in Tenda A301 15.13.08.12_multi_TDE01. It has been rated as critical. This issue affects the function formAddMacfilterRule of the file /goform/setBlackRule. The manipulation of the argument deviceList leads to stack-based buffer overf

  • 8.8 High severity

    i22: Out-of-bounds Write

    CVE-2024-4252TendaEPSS 1.45%

    A vulnerability classified as critical has been found in Tenda i22 1.0.0.3(4687). This affects the function formSetUrlFilterRule. The manipulation of the argument groupIndex leads to stack-based buffer overflow. It is possible to initiate the attack remotely.