CyberSecBulletin

Out-of-bounds Write

CWE-787

The product writes data past the end, or before the beginning, of the intended buffer.

We track 5,886 vulnerabilities of this type. 100% are rated high or critical, and the average CVSS score is 8.3. 167 have been exploited in real attacks.

How this weakness is prevented

  • Requirements: Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, many languages that perform their own memory management, such as Java and Perl, are not subject to buffer overflows. Other languages, such as Ada and C#, typically provide overflow protection, but the protection can be disabled by the programmer. Be wary that a language's interface to native code may still be subject to overflows, even if the language itself is theoretically safe.
  • Architecture and Design: Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. Examples include the Safe C String Library (SafeStr) by Messier and Viega, and the Strsafe.h library from Microsoft. These libraries provide safer versions of overflow-prone string-handling functions.
  • 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.
  • Operation: Use a CPU and operating system that offers Data Execution Protection (using hardware NX or XD bits) or the equivalent techniques that simulate this feature in software, such as PaX. These techniques ensure that any instruction executed is exclusively at a memory address that is part of the code segment. For more information on these techniques see D3-PSEP (Process Segment Execution Prevention) from D3FEND.
  • Implementation: Replace unbounded copy functions with analogous functions that support length arguments, such as strcpy with strncpy. Create these if they are not available.

Latest Out-of-bounds Write vulnerabilities

  • 9.8 Critical severity

    SIMATIC S7-1500 CPU 1518-4 PN/DP MFP: Out-of-bounds Write

    CVE-2023-25139SiemensEPSS 1.51%

    sprintf in the GNU C Library (glibc) 2.37 has a buffer overflow (out-of-bounds write) in some situations with a correct buffer size. This is unrelated to CWE-676. It may write beyond the bounds of the destination buffer when attempting to write a padded, thous

  • 7.8 High severity

    DOPSoft: Out-of-bounds Write

    CVE-2023-0124Delta Industrial Automation

    Delta Electronics DOPSoft versions 4.00.16.22 and prior are vulnerable to an out-of-bounds write, which could allow an attacker to remotely execute arbitrary code when a malformed file is introduced to the software.

  • 7.8 High severity

    DOPSoft: Out-of-bounds Write

    CVE-2023-0123Delta Industrial Automation

    Delta Electronics DOPSoft versions 4.00.16.22 and prior are vulnerable to a stack-based buffer overflow, which could allow an attacker to remotely execute arbitrary code when a malformed file is introduced to the software.

  • 7.8 High severity

    ScreenEditor: Out-of-bounds Write

    CVE-2022-4634Delta Industrial AutomationEPSS 4.92%

    All versions prior to Delta Electronic’s CNCSoft version 1.01.34 (running ScreenEditor versions 1.01.5 and prior) are vulnerable to a stack-based buffer overflow, which could allow an attacker to remotely execute arbitrary code.

  • 9.8 Critical severity

    W20e Firmware: Out-of-bounds Write

    CVE-2022-48130Tenda

    Tenda W20E v15.11.0.6 was discovered to contain multiple stack overflows in the function formSetStaticRoute via the parameters staticRouteNet, staticRouteMask, staticRouteGateway, staticRouteWAN.

  • 8.8 High severity

    Cypress Bluetooth Mesh Software Development Kit: Out-of-bounds Write

    CVE-2022-31364Infineon

    Cypress : https://www.infineon.com/ Cypress Bluetooth Mesh SDK BSA0107_05.01.00-BX8-AMESH-08 is affected by: Buffer Overflow. The impact is: execute arbitrary code (remote). The component is: affected function is lower_transport_layer_on_seg. ¶¶ In Cypress Blu

  • 8.8 High severity

    Cypress Bluetooth Mesh Software Development Kit: Out-of-bounds Write

    CVE-2022-31363Infineon

    Cypress : https://www.infineon.com/ Cypress Bluetooth Mesh SDK BSA0107_05.01.00-BX8-AMESH-08 is affected by: Buffer Overflow. The impact is: execute arbitrary code (remote). The component is: affected function is pb_transport_handle_frag_. ¶¶ In Cypress Blueto

  • 8.8 High severity

    Bluetooth Mesh Software Development Kit: Out-of-bounds Write

    CVE-2022-30904Bestechnic

    In Bestechnic Bluetooth Mesh SDK (BES2300) V1.0, a buffer overflow vulnerability can be triggered during provisioning, because there is no check for the SegN field of the Transaction Start PDU.

  • 7.5 High severity

    BIG-IP: Out-of-bounds Write

    CVE-2023-22842F5

    On BIG-IP versions 16.1.x before 16.1.3.3, 15.1.x before 15.1.8.1, 14.1.x before 14.1.5.3, and all versions of 13.1.x, when a SIP profile is configured on a Message Routing type virtual server, undisclosed traffic can cause the Traffic Management Microkernel (

  • 7.5 High severity

    TEW-652BRP: Out-of-bounds Write

    CVE-2023-0618TRENDnet

    A vulnerability was found in TRENDnet TEW-652BRP 3.04B01. It has been declared as critical. This vulnerability affects unknown code of the file cfg_op.ccp of the component Web Service. The manipulation leads to memory corruption. The attack can be initiated re

  • 8.8 High severity

    CPG BIOS: Out-of-bounds Write

    CVE-2022-34403Dell

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

  • 7.1 High severity

    CPG BIOS: Out-of-bounds Write

    CVE-2022-34400Dell

    Dell BIOS contains a heap buffer overflow vulnerability. A local attacker with admin privileges could potentially exploit this vulnerability to perform an arbitrary write to SMRAM during SMM.

  • 7.8 High severity

    EditorConfig C Core: Out-of-bounds Write

    CVE-2023-0341EditorConfig

    A stack buffer overflow exists in the ec_glob function of editorconfig-core-c before v0.12.6 which allowed an attacker to arbitrarily write to the stack and possibly allows remote code execution. editorconfig-core-c v0.12.6 resolved this vulnerability by bound

  • 7.8 High severity

    Json.h: Out-of-bounds Write

    CVE-2022-45494Json.h Project

    Buffer overflow vulnerability in function json_parse_object in sheredom json.h before commit 0825301a07cbf51653882bf2b153cc81fdadf41 (November 14, 2022) allows attackers to code arbitrary code and gain escalated privileges.

  • 7.8 High severity

    R7000p Firmware: Out-of-bounds Write

    CVE-2022-48176NETGEAR

    Netgear routers R7000P before v1.3.3.154, R6900P before v1.3.3.154, R7960P before v1.4.4.94, and R8000P before v1.4.4.94 were discovered to contain a pre-authentication stack overflow.

  • 9.8 Critical severity

    Wattbox WB-300-IP-3: Out-of-bounds Write

    CVE-2023-23582Snap One

    Snap One Wattbox WB-300-IP-3 versions WB10.9a17 and prior are vulnerable to a heap-based buffer overflow, which could allow an attacker to execute arbitrary code or crash the device remotely.

  • 7.5 High severity

    SoMachine HVAC: Out-of-bounds Write

    CVE-2022-2988Schneider Electric

    A CWE-787: Out-of-bounds Write vulnerability exists that could cause sensitive information leakage when accessing a malicious web page from the commissioning software. Affected Products: SoMachine HVAC (Versions prior to V2.1.0), EcoStruxure Machine Expert – H

  • 7.8 High severity

    Acrobat Reader: Out-of-bounds Write

    CVE-2023-22242Adobe

    Adobe Acrobat Reader versions 22.003.20282 (and earlier), 22.003.20281 (and earlier) and 20.005.30418 (and earlier) are affected by an out-of-bounds write vulnerability that could result in arbitrary code execution in the context of the current user. Exploitat

  • 7.8 High severity

    Acrobat Reader: Out-of-bounds Write

    CVE-2023-22241Adobe

    Adobe Acrobat Reader versions 22.003.20282 (and earlier), 22.003.20281 (and earlier) and 20.005.30418 (and earlier) are affected by an out-of-bounds write vulnerability that could result in arbitrary code execution in the context of the current user. Exploitat

  • 7.8 High severity

    Acrobat Reader: Out-of-bounds Write

    CVE-2023-22240Adobe

    Adobe Acrobat Reader versions 22.003.20282 (and earlier), 22.003.20281 (and earlier) and 20.005.30418 (and earlier) are affected by an out-of-bounds write vulnerability that could result in arbitrary code execution in the context of the current user. Exploitat

  • 9.8 Critical severity

    QUARTZ-GOLD: Out-of-bounds Write

    CVE-2022-41991SirettaEPSS 1.47%

    A heap-based buffer overflow vulnerability exists in the m2m DELETE_FILE cmd functionality of Siretta QUARTZ-GOLD G5.0.1.5-210720-141020. A specially-crafted network request can lead to a heap buffer overflow. An attacker can send a network request to trigger

  • 7.2 High severity

    QUARTZ-GOLD: Out-of-bounds Write

    CVE-2022-41029SirettaEPSS 2.3%

    Several stack-based buffer overflow vulnerabilities exist in the DetranCLI command parsing functionality of Siretta QUARTZ-GOLD G5.0.1.5-210720-141020. A specially-crafted network packet can lead to arbitrary command execution. An attacker can send a sequence

  • 7.2 High severity

    QUARTZ-GOLD: Out-of-bounds Write

    CVE-2022-41028SirettaEPSS 2.43%

    Several stack-based buffer overflow vulnerabilities exist in the DetranCLI command parsing functionality of Siretta QUARTZ-GOLD G5.0.1.5-210720-141020. A specially-crafted network packet can lead to arbitrary command execution. An attacker can send a sequence

  • 7.2 High severity

    QUARTZ-GOLD: Out-of-bounds Write

    CVE-2022-41027SirettaEPSS 2.3%

    Several stack-based buffer overflow vulnerabilities exist in the DetranCLI command parsing functionality of Siretta QUARTZ-GOLD G5.0.1.5-210720-141020. A specially-crafted network packet can lead to arbitrary command execution. An attacker can send a sequence

  • 7.2 High severity

    QUARTZ-GOLD: Out-of-bounds Write

    CVE-2022-41026SirettaEPSS 1.74%

    Several stack-based buffer overflow vulnerabilities exist in the DetranCLI command parsing functionality of Siretta QUARTZ-GOLD G5.0.1.5-210720-141020. A specially-crafted network packet can lead to arbitrary command execution. An attacker can send a sequence

  • 7.2 High severity

    QUARTZ-GOLD: Out-of-bounds Write

    CVE-2022-41025SirettaEPSS 1.74%

    Several stack-based buffer overflow vulnerabilities exist in the DetranCLI command parsing functionality of Siretta QUARTZ-GOLD G5.0.1.5-210720-141020. A specially-crafted network packet can lead to arbitrary command execution. An attacker can send a sequence

  • 7.2 High severity

    QUARTZ-GOLD: Out-of-bounds Write

    CVE-2022-41024SirettaEPSS 1.79%

    Several stack-based buffer overflow vulnerabilities exist in the DetranCLI command parsing functionality of Siretta QUARTZ-GOLD G5.0.1.5-210720-141020. A specially-crafted network packet can lead to arbitrary command execution. An attacker can send a sequence

  • 7.2 High severity

    QUARTZ-GOLD: Out-of-bounds Write

    CVE-2022-41023SirettaEPSS 1.74%

    Several stack-based buffer overflow vulnerabilities exist in the DetranCLI command parsing functionality of Siretta QUARTZ-GOLD G5.0.1.5-210720-141020. A specially-crafted network packet can lead to arbitrary command execution. An attacker can send a sequence

  • 7.2 High severity

    QUARTZ-GOLD: Out-of-bounds Write

    CVE-2022-41022SirettaEPSS 1.79%

    Several stack-based buffer overflow vulnerabilities exist in the DetranCLI command parsing functionality of Siretta QUARTZ-GOLD G5.0.1.5-210720-141020. A specially-crafted network packet can lead to arbitrary command execution. An attacker can send a sequence

  • 7.2 High severity

    QUARTZ-GOLD: Out-of-bounds Write

    CVE-2022-41021SirettaEPSS 1.74%

    Several stack-based buffer overflow vulnerabilities exist in the DetranCLI command parsing functionality of Siretta QUARTZ-GOLD G5.0.1.5-210720-141020. A specially-crafted network packet can lead to arbitrary command execution. An attacker can send a sequence

  • 7.2 High severity

    QUARTZ-GOLD: Out-of-bounds Write

    CVE-2022-41020SirettaEPSS 1.74%

    Several stack-based buffer overflow vulnerabilities exist in the DetranCLI command parsing functionality of Siretta QUARTZ-GOLD G5.0.1.5-210720-141020. A specially-crafted network packet can lead to arbitrary command execution. An attacker can send a sequence

  • 9.8 Critical severity

    QUARTZ-GOLD: Out-of-bounds Write

    CVE-2022-41019SirettaEPSS 1.74%

    Several stack-based buffer overflow vulnerabilities exist in the DetranCLI command parsing functionality of Siretta QUARTZ-GOLD G5.0.1.5-210720-141020. A specially-crafted network packet can lead to arbitrary command execution. An attacker can send a sequence

  • 7.4 High severity

    contiki-ng: Out-of-bounds Write

    CVE-2023-23609Contiki-ng

    Contiki-NG is an open-source, cross-platform operating system for Next-Generation IoT devices. Versions prior to and including 4.8 are vulnerable to an out-of-bounds write that can occur in the BLE-L2CAP module. The Bluetooth Low Energy - Logical Link Control

  • 7.8 High severity

    Android: Out-of-bounds Write

    CVE-2023-20905Android

    In Mfc_Transceive of phNxpExtns_MifareStd.cpp, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitati

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2022-42423PDF-XChange

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specif

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2022-42421PDF-XChange

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specif

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2022-42420PDF-XChange

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specif

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2022-42419PDF-XChange

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specif

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2022-42416PDF-XChange

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specif

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2022-42415PDF-XChange

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specif