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,427 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

    Multiple Routers: Out-of-bounds Write

    CVE-2022-41140D-LinkEPSS 1.13%

    This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of multiple D-Link routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the lighttpd service, which liste

  • 8.8 High severity

    DIR-2150: Out-of-bounds Write

    CVE-2022-40718D-Link

    This vulnerability allows network-adjacent attackers to execute arbitrary code on affected D-Link DIR-2150 4.0.1 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the anweb service, which listens on TCP port

  • 8.8 High severity

    DIR-2150: Out-of-bounds Write

    CVE-2022-40717D-Link

    This vulnerability allows network-adjacent attackers to execute arbitrary code on affected D-Link DIR-2150 4.0.1 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the anweb service, which listens on TCP port

  • 8.8 High severity

    Tew-820ap Firmware: Out-of-bounds Write

    CVE-2023-24096TRENDnetEPSS 1.08%

    TrendNet Wireless AC Easy-Upgrader TEW-820AP v1.0R, firmware version 1.01.B01 was discovered to contain a stack overflow via the newpass parameter at /formPasswordSetup. This vulnerability allows attackers to execute arbitrary code via a crafted payload. NOTE:

  • 8.8 High severity

    tew-820ap_firmware: Out-of-bounds Write

    CVE-2022-47065TRENDnetEPSS 1.14%

    TrendNet Wireless AC Easy-Upgrader TEW-820AP v1.0R, firmware version 1.01.B01 was discovered to contain a stack overflow via the submit-url parameter at /formNewSchedule. This vulnerability allows attackers to execute arbitrary code via a crafted payload. NOTE

  • 7.8 High severity

    Tellus Lite V-Simulator: Stack-based Buffer Overflow

    CVE-2022-3085Fuji Electric

    Fuji Electric Tellus Lite V-Simulator versions 4.0.12.0 and prior are vulnerable to a stack-based buffer overflow which may allow an attacker to execute arbitrary code.

  • 7.8 High severity

    Acrobat Reader: Stack-based Buffer Overflow

    CVE-2023-21610AdobeEPSS 2.54%

    Adobe Acrobat Reader versions 22.003.20282 (and earlier), 22.003.20281 (and earlier) and 20.005.30418 (and earlier) are affected by a Stack-based Buffer Overflow vulnerability that could result in arbitrary code execution in the context of the current user. Ex

  • 7.8 High severity

    Acrobat Reader: Stack-based Buffer Overflow

    CVE-2023-21604AdobeEPSS 2.56%

    Adobe Acrobat Reader versions 22.003.20282 (and earlier), 22.003.20281 (and earlier) and 20.005.30418 (and earlier) are affected by a Stack-based Buffer Overflow vulnerability that could result in arbitrary code execution in the context of the current user. Ex

  • 7.5 High severity

    CPG BIOS: Out-of-bounds Write

    CVE-2022-34401Dell

    Dell BIOS contains a stack based buffer overflow vulnerability. A local authenticated malicious user may potentially exploit this vulnerability by using an SMI to send larger than expected input to a parameter in order to gain arbitrary code execution in SMRAM

  • 7.8 High severity

    JT2Go: Out-of-bounds Write

    CVE-2022-3159Siemens

    The APDFL.dll contains a stack-based buffer overflow vulnerability that could be triggered while parsing specially crafted PDF files. This could allow an attacker to execute code in the context of the current process.

  • 7.8 High severity

    MicroStation Connect: Stack-based Buffer Overflow

    CVE-2022-40201Bentley Systems

    Bentley Systems MicroStation Connect versions 10.17.0.209 and prior are vulnerable to a Stack-Based Buffer Overflow when a malformed design (DGN) file is parsed. This may allow an attacker to execute arbitrary code.

  • 7.8 High severity

    NVIDIA Jetson AGX Xavier Series, Jetson Xavier…: Out-of-bounds Write

    CVE-2022-42270NVIDIA

    NVIDIA distributions of Linux contain a vulnerability in nvdla_emu_task_submit, where unvalidated input may allow a local attacker to cause stack-based buffer overflow in kernel code, which may lead to escalation of privileges, compromised integrity and confid

  • 7.5 High severity

    xstream: Uncontrolled Recursion

    CVE-2022-41966X-streamEPSS 9.35%

    XStream serializes Java objects to XML and back again. Versions prior to 1.4.20 may allow a remote attacker to terminate the application with a stack overflow error, resulting in a denial of service only via manipulation the processed input stream. The attack

  • 8.1 High severity

    OpenImageIO: Out-of-bounds Read

    CVE-2022-41981OpenImageIO ProjectEPSS 1.1%

    A stack-based buffer overflow vulnerability exists in the TGA file format parser of OpenImageIO v2.3.19.0. A specially-crafted targa file can lead to out of bounds read and write on the process stack, which can lead to arbitrary code execution. An attacker can

  • 8.2 High severity

    Kernel: Out-of-bounds Write

    CVE-2022-36337Insyde

    An issue was discovered in Insyde InsydeH2O with kernel 5.0 through 5.5. A stack buffer overflow vulnerability in the MebxConfiguration driver leads to arbitrary code execution. Control of a UEFI variable under the OS can cause this overflow when read by BIOS

  • 7.5 High severity

    W15e Firmware: Out-of-bounds Write

    CVE-2022-42060TendaEPSS 1.39%

    Tenda AC1200 Router Model W15Ev2 V15.11.0.10(1576) was discovered to contain a stack overflow via the setWanPpoe function. This vulnerability allows attackers to cause a Denial of Service (DoS) via crafted overflow data.

  • 7.8 High severity

    JT2Go: Out-of-bounds Write

    CVE-2022-41664Siemens

    A vulnerability has been identified in JT2Go (All versions < V14.1.0.4), Teamcenter Visualization V13.2 (All versions < V13.2.0.12), Teamcenter Visualization V13.3 (All versions < V13.3.0.7), Teamcenter Visualization V14.0 (All versions < V14.0.0.3), Teamcente

  • 9.8 Critical severity

    R-SeeNet: Out-of-bounds Write

    CVE-2022-3386AdvantechEPSS 1.65%

    Advantech R-SeeNet Versions 2.4.17 and prior are vulnerable to a stack-based buffer overflow. An unauthorized attacker can use an outsized filename to overflow the stack buffer and enable remote code execution.

  • 9.8 Critical severity

    R-SeeNet: Out-of-bounds Write

    CVE-2022-3385AdvantechEPSS 1.65%

    Advantech R-SeeNet Versions 2.4.17 and prior are vulnerable to a stack-based buffer overflow. An unauthorized attacker can remotely overflow the stack buffer and enable remote code execution.

  • 7.5 High severity

    OpenBMC: Out-of-bounds Write

    CVE-2022-3409OpenBMC Project

    A vulnerability in bmcweb of OpenBMC Project allows user to cause denial of service. This vulnerability was identified during mitigation for CVE-2022-2809. When fuzzing the multipart_parser code using AFL++ with address sanitizer enabled to find smallest memor

  • 9.8 Critical severity

    iota All-In-One Security Kit: Stack-based Buffer Overflow

    CVE-2022-32454Abode SystemsEPSS 2.08%

    A stack-based buffer overflow vulnerability exists in the XCMD setIPCam functionality of Abode Systems, Inc. iota All-In-One Security Kit 6.9X and 6.9Z. A specially-crafted XCMD can lead to remote code execution. An attacker can send a malicious XML payload to

  • 7.5 High severity

    iowow: Out-of-bounds Write

    CVE-2022-23462Softmotions

    IOWOW is a C utility library and persistent key/value storage engine. Versions 1.4.15 and prior contain a stack buffer overflow vulnerability that allows for Denial of Service (DOS) when it parses scientific notation numbers present in JSON. A patch for this i

  • 7.8 High severity

    Acrobat Reader: Out-of-bounds Write

    CVE-2022-42339AdobeEPSS 2.87%

    Adobe Acrobat Reader versions 22.002.20212 (and earlier) and 20.005.30381 (and earlier) are affected by a Stack-based Buffer Overflow vulnerability that could result in arbitrary code execution in the context of the current user. Exploitation of this issue req

  • 7.8 High severity

    Acrobat Reader: Out-of-bounds Write

    CVE-2022-38450AdobeEPSS 2.66%

    Adobe Acrobat Reader versions 22.002.20212 (and earlier) and 20.005.30381 (and earlier) are affected by a Stack-based Buffer Overflow vulnerability that could result in arbitrary code execution in the context of the current user. Exploitation of this issue req

  • 9.8 Critical severity

    ColdFusion: Out-of-bounds Write

    CVE-2022-35710AdobeEPSS 43.5%

    Adobe ColdFusion versions Update 14 (and earlier) and Update 4 (and earlier) are affected by a Stack-based Buffer Overflow vulnerability that could result in arbitrary code execution in the context of the current user. Exploitation of this issue does not requi

  • 9.8 Critical severity

    ColdFusion: Out-of-bounds Write

    CVE-2022-35690AdobeEPSS 72.7%

    Adobe ColdFusion versions Update 14 (and earlier) and Update 4 (and earlier) are affected by a Stack-based Buffer Overflow vulnerability that could result in arbitrary code execution in the context of the current user. Exploitation of this issue does not requi

  • 7.8 High severity

    CPG BIOS: Out-of-bounds Write

    CVE-2022-32493Dell

    Dell BIOS contains an Stack-Based Buffer Overflow vulnerability. A local authenticated malicious user may potentially exploit this vulnerability by using an SMI to gain arbitrary code execution in SMRAM.

  • 9.8 Critical severity

    SAP SQL Anywhere: Stack-based Buffer Overflow

    CVE-2022-35299SAPEPSS 1.23%

    SAP SQL Anywhere - version 17.0, and SAP IQ - version 16.1, allows an attacker to leverage logical errors in memory management to cause a memory corruption, such as Stack-based buffer overflow.

  • 9.8 Critical severity

    usbx: Improper Validation of Specified Quantity in Input

    CVE-2022-36063Azure-rtosEPSS 2.17%

    Azure RTOS USBx is a USB host, device, and on-the-go (OTG) embedded stack, fully integrated with Azure RTOS ThreadX and available for all Azure RTOS ThreadX–supported processors. Azure RTOS USBX implementation of host support for USB CDC ECM includes an intege

  • 9.8 Critical severity

    libIEC61850: Out-of-bounds Write

    CVE-2022-2972MZ AutomationEPSS 1.56%

    MZ Automation's libIEC61850 (versions 1.4 and prior; version 1.5 prior to commit a3b04b7bc4872a5a39e5de3fdc5fbde52c09e10e) is vulnerable to a stack-based buffer overflow, which could allow an attacker to crash the device or remotely execute arbitrary code.

  • 9.8 Critical severity

    libIEC61850: Out-of-bounds Write

    CVE-2022-2970MZ AutomationEPSS 1.47%

    MZ Automation's libIEC61850 (versions 1.4 and prior; version 1.5 prior to commit a3b04b7bc4872a5a39e5de3fdc5fbde52c09e10e) does not sanitize input before memcpy is used, which could allow an attacker to crash the device or remotely execute arbitrary code.

  • 9.8 Critical severity

    Grandstream GSD3710: Out-of-bounds Write

    CVE-2022-2070GrandstreamEPSS 5.84%

    In Grandstream GSD3710 in its 1.0.11.13 version, it's possible to overflow the stack since it doesn't check the param length before using the sscanf instruction. Because of that, an attacker could create a socket and connect with a remote IP:port by opening a

  • 9.8 Critical severity

    Grandstream GSD3710: Out-of-bounds Write

    CVE-2022-2025GrandstreamEPSS 5.45%

    an attacker with knowledge of user/pass of Grandstream GSD3710 in its 1.0.11.13 version, could overflow the stack since it doesn't check the param length before use the strcopy instruction. The explotation of this vulnerability may lead an attacker to execute

  • 8.8 High severity

    Aptio: Out-of-bounds Write

    CVE-2022-40250AMI

    An attacker can exploit this vulnerability to elevate privileges from ring 0 to ring -2, execute arbitrary code in System Management Mode - an environment more privileged than operating system (OS) and completely isolated from it. Running arbitrary code in SMM

  • 8.2 High severity

    Aptio: Out-of-bounds Write

    CVE-2022-26873AMI

    A potential attacker can execute an arbitrary code at the time of the PEI phase and influence the subsequent boot stages. This can lead to the mitigations bypassing, physical memory contents disclosure, discovery of any secrets from any Virtual Machines (VMs)

  • 7.5 High severity

    Woodstox: Out-of-bounds Write

    CVE-2022-40152XstreamEPSS 18.2%

    Those using Woodstox to parse XML data may be vulnerable to Denial of Service attacks (DOS) if DTD support is enabled. If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow. This effect

  • 7.5 High severity

    xstream: Out-of-bounds Write

    CVE-2022-40151XstreamEPSS 2.37%

    Those using Xstream to seralize XML data may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow. This effect may support a denial of

  • 7.5 High severity

    Jettison: Out-of-bounds Write

    CVE-2022-40149JettisonEPSS 1.79%

    Those using Jettison to parse untrusted XML or JSON data may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow. This effect may sup

  • 9.8 Critical severity

    CS-CV248: Stack-based Buffer Overflow

    CVE-2022-2471EzvizEPSS 1.64%

    Stack-based Buffer Overflow vulnerability in the EZVIZ Motion Detection component as used in camera models CS-CV248, CS-C6N-A0-1C2WFR, CS-DB1C-A0-1E2W2FR, CS-C6N-B0-1G2WF, CS-C3W-A0-3H4WFRL allows a remote attacker to execute remote code on the device. This is

  • 7.8 High severity

    CPG BIOS: Out-of-bounds Write

    CVE-2022-31226Dell

    Dell BIOS versions contain a Stack-based Buffer Overflow vulnerability. A local authenticated malicious user could potentially exploit this vulnerability by sending excess data to a function in order to gain arbitrary code execution on the system.