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

  • 7.8 High severity

    macOS: Out-of-bounds Write

    CVE-2023-27965Apple

    A memory corruption issue was addressed with improved state management. This issue is fixed in macOS Ventura 13.3, Studio Display Firmware Update 16.4. An app may be able to execute arbitrary code with kernel privileges.

  • 7.8 High severity

    iOS and iPadOS: Out-of-bounds Write

    CVE-2023-27959Apple

    The issue was addressed with improved memory handling. This issue is fixed in iOS 16.4 and iPadOS 16.4. An app may be able to execute arbitrary code with kernel privileges.

  • 9.8 Critical severity

    macOS: Out-of-bounds Write

    CVE-2023-27953AppleEPSS 1.6%

    The issue was addressed with improved memory handling. This issue is fixed in macOS Ventura 13.3, macOS Monterey 12.6.4, macOS Big Sur 11.7.5. A remote user may be able to cause unexpected system termination or corrupt kernel memory.

  • 7.8 High severity

    macOS: Out-of-bounds Write

    CVE-2023-27936Apple

    An out-of-bounds write issue was addressed with improved input validation. This issue is fixed in macOS Ventura 13.3, iOS 15.7.4 and iPadOS 15.7.4, macOS Monterey 12.6.4, macOS Big Sur 11.7.5. An app may be able to cause unexpected system termination or write

  • 8.8 High severity

    macOS: Out-of-bounds Write

    CVE-2022-32885Apple

    A memory corruption issue was addressed with improved validation. This issue is fixed in iOS 15.6 and iPadOS 15.6, macOS Monterey 12.5, Safari 15.6. Processing maliciously crafted web content may lead to arbitrary code execution

  • 8.8 High severity

    EKI-1524: Out-of-bounds Write

    CVE-2023-2575AdvantechEPSS 15.5%

    Advantech EKI-1524, EKI-1522, EKI-1521 devices through 1.21 are affected by a Stack-based Buffer Overflow vulnerability, which can be triggered by authenticated users via a crafted POST request.

  • 7.8 High severity

    Samsung Blockchain Keystore: Out-of-bounds Write

    CVE-2023-21509Samsung

    Out-of-bounds Write vulnerability while processing BC_TUI_CMD_UPDATE_SCREEN in bc_tui trustlet from Samsung Blockchain Keystore prior to version 1.3.12.1 allows local attacker to execute arbitrary code.

  • 7.8 High severity

    Samsung Blockchain Keystore: Out-of-bounds Write

    CVE-2023-21508Samsung

    Out-of-bounds Write vulnerability while processing BC_TUI_CMD_SEND_RESOURCE_DATA command in bc_tui trustlet from Samsung Blockchain Keystore prior to version 1.3.12.1 allows local attacker to execute arbitrary code.

  • 7.8 High severity

    Samsung Blockchain Keystore: Out-of-bounds Write

    CVE-2023-21506Samsung

    Out-of-bounds Write vulnerability while processing BC_TUI_CMD_SEND_RESOURCE_DATA_ARRAY command in bc_tui trustlet from Samsung Blockchain Keystore prior to version 1.3.12.1 allows local attacker to execute arbitrary code.

  • 7.8 High severity

    Samsung Mobile Devices: Out-of-bounds Write

    CVE-2023-21499Samsung

    Out-of-bounds write vulnerability in TA_Communication_mpos_encrypt_pin in mPOS TUI trustlet prior to SMR May-2023 Release 1 allows local attackers to execute arbitrary code.

  • 7.8 High severity

    Illumos-gate: Out-of-bounds Write

    CVE-2023-31284Illumos

    illumos illumos-gate before 676abcb has a stack buffer overflow in /dev/net, leading to privilege escalation via a stat on a long file name in /dev/net.

  • 8.8 High severity

    Virtualization Engine TS7700: Improper Neutralization of Special Elements used in an OS Command

    CVE-2023-24958IBMEPSS 1.09%

    A vulnerability in the IBM TS7700 Management Interface 8.51.2.12, 8.52.200.111, 8.52.102.13, and 8.53.0.63 could allow an authenticated user to submit a specially crafted URL leading to privilege escalation and remote code execution. IBM X-Force ID: 246320.

  • 8.8 High severity

    FortiOS: Out-of-bounds Write

    CVE-2023-22640Fortinet

    A out-of-bounds write vulnerability in Fortinet FortiOS 7.2.0 through 7.2.3, FortiOS 7.0.0 through 7.0.10, FortiOS 6.4.0 through 6.4.11, FortiOS 6.2.0 through 6.2.13, FortiOS 6.0.0 through 6.0.16, FortiProxy 7.2.0 through 7.2.1, FortiProxy 7.0.0 through 7.0.7,

  • 9.8 Critical severity

    Smartdns: Out-of-bounds Write

    CVE-2023-31470PymumuEPSS 1.12%

    SmartDNS through 41 before 56d0332 allows an out-of-bounds write because of a stack-based buffer overflow in the _dns_encode_domain function in the dns.c file, via a crafted DNS request.

  • 8.2 High severity

    VMware Workstation Pro / Player (Workstation)…: Out-of-bounds Write

    VMware Workstation (17.x) and VMware Fusion (13.x) contain a stack-based buffer-overflow vulnerability that exists in the functionality for sharing host Bluetooth devices with the virtual machine.

  • 9.8 Critical severity

    RIOT: Out-of-bounds Write

    CVE-2023-24823Riot-os

    RIOT-OS, an operating system that supports Internet of Things devices, contains a network stack with the ability to process 6LoWPAN frames. Prior to version 2022.10, an attacker can send a crafted frame to the device resulting in a type confusion between IPv6

  • 7.5 High severity

    RIOT: Integer Underflow (Wrap or Wraparound)

    CVE-2023-24821Riot-os

    RIOT-OS, an operating system that supports Internet of Things devices, contains a network stack with the ability to process 6LoWPAN frames. Prior to version 2022.10, an attacker can send a crafted frame to the device resulting in a large out of bounds write be

  • 7.5 High severity

    RIOT: Integer Underflow (Wrap or Wraparound)

    CVE-2023-24820Riot-os

    RIOT-OS, an operating system that supports Internet of Things devices, contains a network stack with the ability to process 6LoWPAN frames. An attacker can send a crafted frame to the device resulting in a large out of bounds write beyond the packet buffer. Th

  • 9.8 Critical severity

    RIOT: Out-of-bounds Write

    CVE-2023-24819Riot-os

    RIOT-OS, an operating system that supports Internet of Things devices, contains a network stack with the ability to process 6LoWPAN frames. Prior to version 2022.10, an attacker can send a crafted frame to the device resulting in an out of bounds write in the

  • 8.8 High severity

    Mp4v2: Out-of-bounds Write

    CVE-2023-29578Mp4v2 Project

    mp4v2 v2.0.0 was discovered to contain a heap buffer overflow via the mp4v2::impl::MP4StringProperty::~MP4StringProperty() function at src/mp4property.cpp.

  • 7.8 High severity

    PoDoFo: Out-of-bounds Write

    CVE-2023-2241PoDoFo

    A vulnerability, which was classified as critical, was found in PoDoFo 0.10.0. Affected is the function readXRefStreamEntry of the file PdfXRefStreamParserObject.cpp. The manipulation leads to heap-based buffer overflow. An attack has to be approached locally.

  • 8.2 High severity

    NVIDIA DGX servers: Out-of-bounds Write

    CVE-2023-25506NVIDIA

    NVIDIA DGX-1 contains a vulnerability in Ofbd in AMI SBIOS, where a preconditioned heap can allow a user with elevated privileges to cause an access beyond the end of a buffer, which may lead to code execution, escalation of privileges, denial of service and i

  • 7.8 High severity

    CrossCAD/Ware_x64 library 0: Out-of-bounds Write

    CVE-2023-23579Datakit

    Datakit CrossCadWare_x64.dll contains an out-of-bounds write past the end of an allocated buffer while parsing a specially crafted SLDPRT file. This could allow an attacker to execute code in the context of the current process.

  • 7.8 High severity

    libslic3r: Out-of-bounds Write

    CVE-2022-36788Slic3r

    A heap-based buffer overflow vulnerability exists in the TriangleMesh clone functionality of Slic3r libslic3r 1.3.0 and Master Commit b1a5500. A specially-crafted STL file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger

  • 7.8 High severity

    Android: Out-of-bounds Write

    CVE-2023-21100Android

    In inflate of inflate.c, there is a possible out of bounds write due to a heap buffer overflow. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVer

  • 8.8 High severity

    Android: Out-of-bounds Write

    CVE-2023-21085Android

    In nci_snd_set_routing_cmd of nci_hmsgs.cc, there is a possible out of bounds write due to a missing bounds check. This could lead to remote (proximal/adjacent) code execution with no additional execution privileges needed. User interaction is not needed for e

  • 7.8 High severity

    Android: Out-of-bounds Write

    CVE-2023-20967Android

    In avdt_scb_hdl_pkt_no_frag of avdt_scb_act.cc, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploi

  • 8.8 High severity

    Chrome: Out-of-bounds Write

    CVE-2023-2137GoogleEPSS 1.12%

    Heap buffer overflow in sqlite in Google Chrome prior to 112.0.5615.137 allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page. (Chromium security severity: Medium)

  • 8.8 High severity

    Chrome: Out-of-bounds Write

    CVE-2023-2134GoogleEPSS 1.06%

    Out of bounds memory access in Service Worker API in Google Chrome prior to 112.0.5615.137 allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page. (Chromium security severity: High)

  • 8.8 High severity

    Chrome: Out-of-bounds Write

    CVE-2023-2133GoogleEPSS 1.06%

    Out of bounds memory access in Service Worker API in Google Chrome prior to 112.0.5615.137 allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page. (Chromium security severity: High)

  • 7.8 High severity

    Autodesk FBX SDK: Out-of-bounds Write

    CVE-2023-27911Autodesk FBX SDK

    A user may be tricked into opening a malicious FBX file that may exploit a heap buffer overflow vulnerability in Autodesk® FBX® SDK 2020 or prior which may lead to code execution.

  • 7.8 High severity

    Autodesk FBX SDK: Out-of-bounds Write

    CVE-2023-27910Autodesk FBX SDK

    A user may be tricked into opening a malicious FBX file that may exploit a stack buffer overflow vulnerability in Autodesk® FBX® SDK 2020 or prior which may lead to code execution.

  • 7.8 High severity

    Autodesk FBX SDK: Out-of-bounds Write

    CVE-2023-27909Autodesk FBX SDK

    An Out-Of-Bounds Write Vulnerability in Autodesk® FBX® SDK version 2020 or prior may lead to code execution through maliciously crafted FBX files or information disclosure.

  • 7.8 High severity

    Autodesk Maya USD Plugin: Out-of-bounds Write

    CVE-2023-27907Autodesk Maya USD Plugin

    A malicious actor may convince a victim to open a malicious USD file that may trigger an out-of-bounds write vulnerability which may result in code execution.

  • 9.8 Critical severity

    ADM: Out-of-bounds Write

    CVE-2023-30770Asustor

    A stack-based buffer overflow vulnerability was found in the ASUSTOR Data Master (ADM) due to the lack of data size validation. An attacker can exploit this vulnerability to execute arbitrary code. Affected ADM versions include: 4.0.6.REG2, 4.1.0 and below as

  • 9.1 Critical severity

    HarmonyOS: Out-of-bounds Read

    CVE-2022-48312Huawei

    The HwPCAssistant module has the out-of-bounds read/write vulnerability. Successful exploitation of this vulnerability may affect confidentiality and integrity.

  • 7.8 High severity

    Drawings SDK: Out-of-bounds Write

    CVE-2023-22670Opendesign

    A heap-based buffer overflow exists in the DXF file reading procedure in Open Design Alliance Drawings SDK before 2023.6. The specific flaw exists within the parsing of DXF files. The issue results from the lack of proper validation of the length of user-suppl

  • 7.8 High severity

    Drawings SDK: Out-of-bounds Write

    CVE-2023-22669Opendesign

    Parsing of DWG files in Open Design Alliance Drawings SDK before 2023.6 lacks proper validation of the length of user-supplied XRecord data prior to copying it to a fixed-length heap-based buffer. An attacker can leverage this vulnerability to execute code in

  • 7.5 High severity

    Exynos 5300 Firmware: Out-of-bounds Write

    CVE-2023-29091Samsung

    An issue was discovered in Samsung Exynos Mobile Processor, Automotive Processor and Modem for Exynos Modem 5123, Exynos Modem 5300, Exynos 980, Exynos 1080, Exynos 9110, and Exynos Auto T5123. Memory corruption can occur due to insufficient parameter validati

  • 7.5 High severity

    Exynos 5300 Firmware: Out-of-bounds Write

    CVE-2023-29090Samsung

    An issue was discovered in Samsung Exynos Mobile Processor, Automotive Processor and Modem for Exynos Modem 5123, Exynos Modem 5300, Exynos 980, Exynos 1080, Exynos 9110, and Exynos Auto T5123. Memory corruption can occur due to insufficient parameter validati