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.0 High severity

    Junos OS: Out-of-bounds Write

    CVE-2024-39556Juniper Networks

    A Stack-Based Buffer Overflow vulnerability in Juniper Networks Junos OS and Juniper Networks Junos OS Evolved may allow a local, low-privileged attacker with access to the CLI the ability to load a malicious certificate file, leading to a limited Denial of Se

  • 7.5 High severity

    Junos OS: Out-of-bounds Write

    CVE-2024-39518Juniper Networks

    A Heap-based Buffer Overflow vulnerability in the telemetry sensor process (sensord) of Juniper Networks Junos OS on MX240, MX480, MX960 platforms using MPC10E causes a steady increase in memory utilization, ultimately leading to a Denial of Service (DoS). Whe

  • 8.2 High severity

    IM C3510/C3010: Out-of-bounds Write

    CVE-2024-39927Ricoh Company

    Out-of-bounds write vulnerability exists in Ricoh MFPs and printers. If a remote attacker sends a specially crafted request to the affected products, the products may be able to cause a denial-of-service (DoS) condition and/or user's data may be destroyed.

  • 8.2 High severity

    PowerSwitch Z9664F-ON BIOS: Out-of-bounds Write

    CVE-2023-32472Dell

    Dell Edge Gateway BIOS, versions 3200 and 5200, contains an out-of-bounds write vulnerability. A local authenticated malicious user with high privileges could potentially exploit this vulnerability leading to exposure of some code in System Management Mode, le

  • 8.8 High severity

    CNCSoft-G2: Out-of-bounds Write

    CVE-2024-39883Delta Electronics

    Delta Electronics CNCSoft-G2 lacks proper validation of the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. If a target visits a malicious page or opens a malicious file an attacker can leverage this vulnerability to execu

  • 8.8 High severity

    CNCSoft-G2: Out-of-bounds Write

    CVE-2024-39881Delta Electronics

    Delta Electronics CNCSoft-G2 lacks proper validation of user-supplied data, which can result in a memory corruption condition. If a target visits a malicious page or opens a malicious file an attacker can leverage this vulnerability to execute code in the cont

  • 8.8 High severity

    CNCSoft-G2: Out-of-bounds Write

    CVE-2024-39880Delta 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. If a target visits a malicious page or opens a malicious file an attacker can leverage this vulnerability to exec

  • 7.8 High severity

    Android: Out-of-bounds Write

    CVE-2024-31313Google

    In availableToWriteBytes of MessageQueueBase.h, 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

  • 7.8 High severity

    Android: Out-of-bounds Write

    CVE-2024-31311Google

    In increment_annotation_count of stats_event.c, 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 exploitat

  • 7.8 High severity

    Android: Out-of-bounds Write

    CVE-2024-23698Google

    In RGXFWChangeOSidPriority of rgxfwutils.c, there is a possible arbitrary code execution due to a missing bounds check. This could lead to local escalation of privilege in the kernel with no additional execution privileges needed. User interaction is not neede

  • 7.8 High severity

    InDesign Desktop: Out-of-bounds Write

    CVE-2024-20785Adobe

    InDesign Desktop versions ID19.3, ID18.5.2 and earlier are affected by a Heap-based Buffer Overflow vulnerability that could result in arbitrary code execution in the context of the current user. Exploitation of this issue requires user interaction in that a v

  • 7.8 High severity

    InDesign Desktop: Out-of-bounds Write

    CVE-2024-20783Adobe

    InDesign Desktop versions ID19.3, ID18.5.2 and earlier are affected by a Heap-based Buffer Overflow vulnerability that could result in arbitrary code execution in the context of the current user. Exploitation of this issue requires user interaction in that a v

  • 7.8 High severity

    InDesign Desktop: Out-of-bounds Write

    CVE-2024-20782Adobe

    InDesign Desktop versions ID19.3, ID18.5.2 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. Exploitation of this issue requires user interaction in that a victim

  • 7.8 High severity

    InDesign Desktop: Out-of-bounds Write

    CVE-2024-20781Adobe

    InDesign Desktop versions ID19.3, ID18.5.2 and earlier are affected by a Heap-based Buffer Overflow vulnerability that could result in arbitrary code execution in the context of the current user. Exploitation of this issue requires user interaction in that a v

  • 8.1 High severity

    exynos_9110_firmware: Out-of-bounds Write

    CVE-2023-50807Samsung

    A vulnerability was discovered in Samsung Wearable Processor and Modems with versions Exynos 9110, Exynos Modem 5123, Exynos Modem 5300 that allows an out-of-bounds write in the heap in 2G (no auth).

  • 8.1 High severity

    Exynos 1080 Firmware: Out-of-bounds Write

    CVE-2023-50805Samsung

    A vulnerability was discovered in Samsung Mobile Processor, Wearable Processor, and Modems with versions Exynos 9820, Exynos 9825, Exynos 980, Exynos 990, Exynos 850, Exynos 1080, Exynos 2100, Exynos 2200, Exynos 1280, Exynos 1380, Exynos 1330, Exynos 9110, Ex

  • 9.8 Critical severity

    ac8_firmware: Out-of-bounds Write

    CVE-2023-48194Tenda

    Vulnerability in Tenda AC8v4 .V16.03.34.09 due to sscanf and the last digit of s8 being overwritten with \x0. After executing set_client_qos, control over the gp register can be obtained.

  • 8.8 High severity

    Firefox: Out-of-bounds Write

    CVE-2024-6615Mozilla

    Memory safety bugs present in Firefox 127 and Thunderbird 127. Some of these bugs showed evidence of memory corruption and we presume that with enough effort some of these could have been exploited to run arbitrary code. This vulnerability affects Firefox < 12

  • 7.8 High severity

    Simcenter Femap: Out-of-bounds Write

    CVE-2024-32056Siemens

    A vulnerability has been identified in Simcenter Femap (All versions < V2406). The affected application contains an out of bounds write past the end of an allocated buffer while parsing a specially crafted IGS part file. This could allow an attacker to execute

  • 7.2 High severity

    WBR-6013: Out-of-bounds Write

    CVE-2024-21778LevelOne

    A heap-based buffer overflow vulnerability exists in the configuration file mib_init_value_array functionality of Realtek rtl819x Jungle SDK v3.4.11. A specially crafted .dat file can lead to arbitrary code execution. An attacker can upload a malicious file to

  • 7.2 High severity

    WBR-6013: Out-of-bounds Write

    CVE-2023-50330LevelOneEPSS 1.1%

    A stack-based buffer overflow vulnerability exists in the boa getInfo 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 a series of HTTP requests to trigger

  • 7.2 High severity

    WBR-6013: Out-of-bounds Write

    CVE-2023-50244LevelOneEPSS 1.41%

    Two stack-based buffer overflow vulnerabilities exist in the boa formIpQoS 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 a series of HTTP requests to tri

  • 7.2 High severity

    WBR-6013: Out-of-bounds Write

    CVE-2023-50243LevelOneEPSS 1.41%

    Two stack-based buffer overflow vulnerabilities exist in the boa formIpQoS 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 a series of HTTP requests to tri

  • 7.2 High severity

    WBR-6013: Out-of-bounds Write

    CVE-2023-50240LevelOneEPSS 1.41%

    Two stack-based buffer overflow vulnerabilities exist in the boa set_RadvdInterfaceParam 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 r

  • 7.2 High severity

    WBR-6013: Out-of-bounds Write

    CVE-2023-50239LevelOneEPSS 1.41%

    Two stack-based buffer overflow vulnerabilities exist in the boa set_RadvdInterfaceParam 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 r

  • 7.2 High severity

    WBR-6013: Out-of-bounds Write

    CVE-2023-49867LevelOneEPSS 1.1%

    A stack-based buffer overflow vulnerability exists in the boa formWsc 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 a series of HTTP requests to trigger

  • 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

    rtsper_pcie_card_reader_driver: Out-of-bounds Write

    CVE-2022-25480Realtek

    Vulnerability in Realtek RtsPer driver for PCIe Card Reader (RtsPer.sys) before 10.0.22000.21355 and Realtek RtsUer driver for USB Card Reader (RtsUer.sys) before 10.0.22000.31274 allows writing to kernel memory beyond the SystemBuffer of the IRP.

  • 7.8 High severity

    Advanced Virtualization for RHEL 8.2.1: Out-of-bounds Write

    CVE-2024-4467Red Hat

    A flaw was found in the QEMU disk image utility (qemu-img) 'info' command. A specially crafted image file containing a `json:{}` value describing block devices in QMP could cause the qemu-img process on the host to consume large amounts of memory or CPU time,

  • 7.8 High severity

    Samsung Mobile Devices: Out-of-bounds Write

    CVE-2024-20901Samsung

    Improper input validation in copying data to buffer cache in libsaped prior to SMR Jul-2024 Release 1 allows local attackers to write out-of-bounds memory.

  • 8.8 High severity

    factorio: Out-of-bounds Write

    CVE-2024-39840Factorio

    Factorio before 1.1.101 allows a crafted server to execute arbitrary code on clients via a custom map that leverages the ability of certain Lua base module functions to execute bytecode and generate fake objects.

  • 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

  • 8.8 High severity

    PowerProtect DD: Out-of-bounds Write

    CVE-2024-29176Dell

    Dell PowerProtect DD, version(s) 8.0, 7.13.1.0, 7.10.1.30, 7.7.5.40, contain(s) an Out-of-bounds Write vulnerability. A low privileged attacker with remote access could potentially exploit this vulnerability, leading to Code execution.