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

  • 7.2 High severity

    WBR-6013: Out-of-bounds Write

    CVE-2023-49595LevelOne

    A stack-based buffer overflow vulnerability exists in the boa rollback_control_code functionality of Realtek rtl819x Jungle SDK v3.4.11. A specially crafted series of network requests can lead to arbitrary code execution. An attacker can send a sequence of req

  • 7.2 High severity

    WBR-6013: Out-of-bounds Write

    CVE-2023-49073LevelOne

    A stack-based buffer overflow vulnerability exists in the boa formFilter functionality of Realtek rtl819x Jungle SDK v3.4.11. A specially crafted series of HTTP requests can lead to arbitrary code execution. An attacker can send a sequence of requests to trigg

  • 7.2 High severity

    WBR-6013: Out-of-bounds Write

    CVE-2023-48270LevelOne

    A stack-based buffer overflow vulnerability exists in the boa formDnsv6 functionality of Realtek rtl819x Jungle SDK v3.4.11. A specially crafted series of network requests can lead to arbitrary code execution. An attacker can send a sequence of requests to tri

  • 7.2 High severity

    WBR-6013: Out-of-bounds Write

    CVE-2023-47856LevelOneEPSS 1.41%

    A stack-based buffer overflow vulnerability exists in the boa set_RadvdPrefixParam functionality of Realtek rtl819x Jungle SDK v3.4.11. A specially crafted series of network requests can lead to remote code execution. An attacker can send a sequence of request

  • 7.2 High severity

    WBR-6013: Out-of-bounds Write

    CVE-2023-45215LevelOneEPSS 1.04%

    A stack-based buffer overflow vulnerability exists in the boa setRepeaterSsid functionality of Realtek rtl819x Jungle SDK v3.4.11. A specially crafted series of network requests can lead to arbitrary code execution. An attacker can send a sequence of requests

  • 7.2 High severity

    WBR-6013: Out-of-bounds Write

    CVE-2023-41251LevelOneEPSS 1.28%

    A stack-based buffer overflow vulnerability exists in the boa formRoute functionality of Realtek rtl819x Jungle SDK v3.4.11. A specially crafted series of HTTP requests can lead to remote code execution. An attacker can send an HTTP request to trigger this vul

  • 7.8 High severity

    OpenVPN GUI: Out-of-bounds Write

    CVE-2024-27459OpenVPNEPSS 8.26%

    The interactive service in OpenVPN 2.6.9 and earlier allows an attacker to send data causing a stack overflow which can be used to execute arbitrary code with more privileges.

  • 7.8 High severity

    Linux: Buffer Copy without Checking Size of Input

    CVE-2024-39480Linux

    In the Linux kernel, the following vulnerability has been resolved: kdb: Fix buffer overflow during tab-complete Currently, when the user attempts symbol completion with the Tab key, kdb will use strncpy() to insert the completed symbol into the command buffer

  • 9.8 Critical severity

    A301: Out-of-bounds Write

    CVE-2024-6403Tenda

    A vulnerability, which was classified as critical, has been found in Tenda A301 15.13.08.12. Affected by this issue is the function formWifiBasicSet of the file /goform/SetOnlineDevName. The manipulation of the argument devName leads to stack-based buffer over

  • 9.8 Critical severity

    A301: Out-of-bounds Write

    CVE-2024-6402Tenda

    A vulnerability classified as critical was found in Tenda A301 15.13.08.12. Affected by this vulnerability is the function fromSetWirelessRepeat of the file /goform/SetOnlineDevName. The manipulation of the argument devName leads to stack-based buffer overflow

  • 7.8 High severity

    AutoCAD: Out-of-bounds Write

    CVE-2024-37003Autodesk

    A maliciously crafted DWG and SLDPRT file, when parsed in opennurbs.dll and ODXSW_DLL.dll through Autodesk applications, can be used to cause a Stack-based Overflow. A malicious actor can leverage this vulnerability to cause a crash, read sensitive data, or ex

  • 8.8 High severity

    A301: Out-of-bounds Write

    CVE-2024-6189TendaEPSS 1.36%

    A vulnerability was found in Tenda A301 15.13.08.12. It has been classified as critical. Affected is the function fromSetWirelessRepeat of the file /goform/WifiExtraSet. The manipulation of the argument wpapsk_crypto leads to stack-based buffer overflow. It is

  • 7.5 High severity

    SonicOS: Out-of-bounds Write

    CVE-2024-29012SonicWall

    Stack-based buffer overflow vulnerability in the SonicOS HTTP server allows an authenticated remote attacker to cause Denial of Service (DoS) via sscanf function.

  • 8.8 High severity

    WCB6200Q: Out-of-bounds Write

    CVE-2024-6146ActiontecEPSS 1.12%

    Actiontec WCB6200Q uh_get_postdata_withupload Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Actiontec WCB6200Q routers. Authenticatio

  • 8.8 High severity

    WCB6200Q: Out-of-bounds Write

    CVE-2024-6144ActiontecEPSS 1.12%

    Actiontec WCB6200Q Multipart Boundary Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Actiontec WCB6200Q routers. Authentication is not

  • 7.2 High severity

    Download Master: Stack-based Buffer Overflow

    CVE-2024-31163ASUS

    ASUS Download Master has a buffer overflow vulnerability. An unauthenticated remote attacker with administrative privileges can exploit this vulnerability to execute arbitrary system commands on the device.

  • 7.2 High severity

    ZenWiFi XT8: Stack-based Buffer Overflow

    CVE-2024-3079ASUS

    Certain models of ASUS routers have buffer overflow vulnerabilities, allowing remote attackers with administrative privileges to execute arbitrary commands on the device.

  • 8.8 High severity

    DSE855: Out-of-bounds Write

    CVE-2024-5950Deep Sea ElectronicsEPSS 1.12%

    Deep Sea Electronics DSE855 Multipart Value Handling Stack-Based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Deep Sea Electronics DSE855 device

  • 8.8 High severity

    DSE855: Out-of-bounds Write

    CVE-2024-5948Deep Sea ElectronicsEPSS 1.11%

    Deep Sea Electronics DSE855 Multipart Boundary Stack-Based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Deep Sea Electronics DSE855 devices. Aut

  • 8.8 High severity

    DICOM Viewer: Out-of-bounds Write

    CVE-2024-28877MicroDicom

    MicroDicom DICOM Viewer is vulnerable to a stack-based buffer overflow, which may allow an attacker to execute arbitrary code on affected installations of DICOM Viewer. User interaction is required to exploit this vulnerability.

  • 7.5 High severity

    FortiOS: Out-of-bounds Write

    CVE-2024-26010Fortinet

    A stack-based buffer overflow vulnerability in Fortinet FortiOS 7.4.0 through 7.4.3, FortiOS 7.2.0 through 7.2.7, FortiOS 7.0.0 through 7.0.14, FortiOS 6.4 all versions, FortiOS 6.2 all versions, FortiOS 6.0 all versions, FortiPAM 1.2 all versions, FortiPAM 1.

  • 7.8 High severity

    FortiOS: Out-of-bounds Write

    CVE-2024-23110Fortinet

    A stack-based buffer overflow in Fortinet FortiOS version 7.4.0 through 7.4.2, 7.2.0 through 7.2.6, 7.0.0 through 7.0.13, 6.4.0 through 6.4.14, 6.2.0 through 6.2.15, 6.0 all versions allows attacker to execute unauthorized code or commands via specially crafte

  • 7.8 High severity

    FortiOS: Out-of-bounds Write

    CVE-2023-46720Fortinet

    A stack-based buffer overflow in Fortinet FortiOS version 7.4.0 through 7.4.1 and 7.2.0 through 7.2.7 and 7.0.0 through 7.0.12 and 6.4.6 through 6.4.15 and 6.2.9 through 6.2.16 and 6.0.13 through 6.0.18 allows attacker to execute unauthorized code or commands

  • 8.8 High severity

    GStreamer: Out-of-bounds Write

    CVE-2024-0444GStreamerEPSS 1.57%

    GStreamer AV1 Video Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GStreamer. Interaction with this library is required to exploit this

  • 7.8 High severity

    Power PDF: Buffer Copy without Checking Size of Input

    CVE-2024-5305Kofax

    Kofax Power PDF PDF File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Kofax Power PDF. User interaction is required to exploit this vu

  • 7.8 High severity

    KeyShot Viewer: Out-of-bounds Write

    CVE-2024-5507Luxion

    Luxion KeyShot Viewer KSP File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Luxion KeyShot Viewer. User interaction is required to exp

  • 8.1 High severity

    tew-827dru_firmware: Stack-based Buffer Overflow

    CVE-2024-36728TRENDnetEPSS 5.16%

    TRENDnet TEW-827DRU devices through 2.06B04 contain a stack-based buffer overflow in the ssi binary. The overflow allows an authenticated user to execute arbitrary code by POSTing to apply.cgi via the action vlan_setting with a sufficiently long dns1 or dns 2

  • 8.4 High severity

    html2xhtml: Stack-based Buffer Overflow

    CVE-2024-35333Html2xhtml Project

    A stack-buffer-overflow vulnerability exists in the read_charset_decl function of html2xhtml 1.3. This vulnerability occurs due to improper bounds checking when copying data into a fixed-size stack buffer. An attacker can exploit this vulnerability by providin

  • 9.8 Critical severity

    P3-550E: Out-of-bounds Write

    CVE-2024-24963AutomationDirectEPSS 1.16%

    A stack-based buffer overflow vulnerability exists in the Programming Software Connection FileSelect functionality of AutomationDirect P3-550E 1.2.10.9. A specially crafted network packet can lead to stack-based buffer overflow. An attacker can send an unauthe

  • 9.8 Critical severity

    P3-550E: Out-of-bounds Write

    CVE-2024-24962AutomationDirectEPSS 1.16%

    A stack-based buffer overflow vulnerability exists in the Programming Software Connection FileSelect functionality of AutomationDirect P3-550E 1.2.10.9. A specially crafted network packet can lead to stack-based buffer overflow. An attacker can send an unauthe

  • 7.8 High severity

    libigl: Out-of-bounds Write

    CVE-2024-24686Libigl

    Multiple stack-based buffer overflow vulnerabilities exist in the readOFF functionality of libigl v2.5.0. A specially crafted .off file can lead to stack-based buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.This vulnera

  • 7.8 High severity

    libigl: Out-of-bounds Write

    CVE-2024-24685Libigl

    Multiple stack-based buffer overflow vulnerabilities exist in the readOFF functionality of libigl v2.5.0. A specially crafted .off file can lead to stack-based buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.This vulnera

  • 7.8 High severity

    libigl: Out-of-bounds Write

    CVE-2024-24684Libigl

    Multiple stack-based buffer overflow vulnerabilities exist in the readOFF functionality of libigl v2.5.0. A specially crafted .off file can lead to stack-based buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.This vulnera

  • 7.8 High severity

    libigl: Out-of-bounds Write

    CVE-2023-35953Libigl

    Multiple stack-based buffer overflow vulnerabilities exist in the readOFF.cpp functionality of libigl v2.4.0. A specially-crafted .off file can lead to a buffer overflow. An attacker can arbitrary code execution to trigger these vulnerabilities.This vulnerabil

  • 7.8 High severity

    libigl: Out-of-bounds Write

    CVE-2023-35952Libigl

    Multiple stack-based buffer overflow vulnerabilities exist in the readOFF.cpp functionality of libigl v2.4.0. A specially-crafted .off file can lead to a buffer overflow. An attacker can arbitrary code execution to trigger these vulnerabilities.This vulnerabil

  • 7.8 High severity

    libigl: Out-of-bounds Write

    CVE-2023-35951Libigl

    Multiple stack-based buffer overflow vulnerabilities exist in the readOFF.cpp functionality of libigl v2.4.0. A specially-crafted .off file can lead to a buffer overflow. An attacker can arbitrary code execution to trigger these vulnerabilities.This vulnerabil

  • 7.8 High severity

    libigl: Out-of-bounds Write

    CVE-2023-35950Libigl

    Multiple stack-based buffer overflow vulnerabilities exist in the readOFF.cpp functionality of libigl v2.4.0. A specially-crafted .off file can lead to a buffer overflow. An attacker can arbitrary code execution to trigger these vulnerabilities.This vulnerabil

  • 7.8 High severity

    libigl: Out-of-bounds Write

    CVE-2023-35949Libigl

    Multiple stack-based buffer overflow vulnerabilities exist in the readOFF.cpp functionality of libigl v2.4.0. A specially-crafted .off file can lead to a buffer overflow. An attacker can arbitrary code execution to trigger these vulnerabilities.This vulnerabil

  • 8.8 High severity

    DIR-2640: Stack-based Buffer Overflow

    CVE-2024-5293D-LinkEPSS 1.61%

    D-Link DIR-2640 HTTP Referer 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-US routers. Authentication is not required

  • 7.5 High severity

    Omada ER605: Stack-based Buffer Overflow

    CVE-2024-5242TP-Link

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