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

  • 8.1 High severity

    Trellix Agent: Out-of-bounds Write

    CVE-2023-1388Trellix

    A heap-based overflow vulnerability in TA prior to version 5.7.9 allows a remote user to alter the page heap in the macmnsvc process memory block, resulting in the service becoming unavailable.

  • 7.8 High severity

    Cscape: Out-of-bounds Write

    CVE-2023-32203Horner Automation

    Horner Automation Cscape lacks proper validation of user-supplied data when parsing project files (e.g., HMI). This could lead to an out-of-bounds write at CScape_EnvisionRV+0x2e374b. An attacker could leverage this vulnerability to execute arbitrary code in t

  • 7.8 High severity

    Cscape: Out-of-bounds Write

    CVE-2023-32539Horner Automation

    Horner Automation Cscape lacks proper validation of user-supplied data when parsing project files (e.g., HMI). This could lead to an out-of-bounds write at CScape_EnvisionRV+0x2e3c04. An attacker could leverage this vulnerability to potentially execute arbitra

  • 7.5 High severity

    Nanomq: Out-of-bounds Write

    CVE-2023-33659EmqxEPSS 1.07%

    A heap buffer overflow vulnerability exists in NanoMQ 0.17.2. The vulnerability can be triggered by calling the function nmq_subinfo_decode() in the file mqtt_parser.c. An attacker could exploit this vulnerability to cause a denial of service attack.

  • 7.8 High severity

    ThinkStation BIOS: Out-of-bounds Write

    CVE-2022-48188Lenovo

    A buffer overflow vulnerability in the SecureBootDXE BIOS driver of some Lenovo Desktop and ThinkStation models could allow an attacker with local access to elevate their privileges to execute arbitrary code.

  • 7.8 High severity

    ThinkStation BIOS: Out-of-bounds Write

    CVE-2022-48181Lenovo

    An ErrorMessage driver stack-based buffer overflow vulnerability in BIOS of some ThinkPad models could allow an attacker with local access to elevate their privileges and execute arbitrary code.

  • 8.8 High severity

    Firefox: Out-of-bounds Write

    CVE-2023-32215Mozilla

    Mozilla developers and community members Gabriele Svelto, Andrew Osmond, Emily McDonough, Sebastian Hengst, Andrew McCreight and the Mozilla Fuzzing Team reported memory safety bugs present in Firefox 112 and Firefox ESR 102.10. Some of these bugs showed evide

  • 8.8 High severity

    Firefox for Android: Out-of-bounds Write

    CVE-2023-29551Mozilla

    Memory safety bugs present in Firefox 111. 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 for Android < 112, Firef

  • 8.8 High severity

    Firefox: Out-of-bounds Write

    CVE-2023-28177Mozilla

    Memory safety bugs present in Firefox 110. 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 < 111.

  • 8.8 High severity

    Firefox: Out-of-bounds Write

    CVE-2023-28176Mozilla

    Memory safety bugs present in Firefox 110 and Firefox ESR 102.8. 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 <

  • 8.8 High severity

    Thunderbird: Out-of-bounds Write

    CVE-2023-25746Mozilla

    Memory safety bugs present in Firefox ESR 102.7. 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 Thunderbird < 102.8 and Fi

  • 8.8 High severity

    Firefox: Out-of-bounds Write

    CVE-2023-25745Mozilla

    Memory safety bugs present in Firefox 109. 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 < 110.

  • 8.8 High severity

    Firefox: Out-of-bounds Write

    CVE-2023-25744Mozilla

    Mmemory safety bugs present in Firefox 109 and Firefox ESR 102.7. 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 <

  • 8.8 High severity

    Firefox: Out-of-bounds Write

    CVE-2023-25732Mozilla

    When encoding data from an <code>inputStream</code> in <code>xpcom</code> the size of the input being encoded was not correctly calculated potentially leading to an out of bounds memory write. This vulnerability affects Firefox < 110, Thunderbird < 102.8, and

  • 8.8 High severity

    Firefox: Out-of-bounds Write

    CVE-2023-23606Mozilla

    Mozilla developers and the Mozilla Fuzzing Team reported memory safety bugs present in Firefox 108. 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. Th

  • 8.8 High severity

    Firefox: Out-of-bounds Write

    CVE-2023-23605Mozilla

    Mozilla developers and the Mozilla Fuzzing Team reported memory safety bugs present in Firefox 108 and Firefox ESR 102.6. Some of these bugs showed evidence of memory corruption and we presume that with enough effort some of these could have been exploited to

  • 9.8 Critical severity

    Readymedia: Out-of-bounds Write

    CVE-2023-33476Readymedia ProjectEPSS 2.06%

    ReadyMedia (MiniDLNA) versions from 1.1.15 up to 1.3.2 is vulnerable to Buffer Overflow. The vulnerability is caused by incorrect validation logic when handling HTTP requests using chunked transport encoding. This results in other code later using attacker-con

  • 7.8 High severity

    Erofs-utils: Out-of-bounds Write

    CVE-2023-33552Erofs-utils Project

    Heap Buffer Overflow in the erofs_read_one_data function at data.c in erofs-utils v1.6 allows remote attackers to execute arbitrary code via a crafted erofs filesystem image.

  • 7.8 High severity

    Erofs-utils: Out-of-bounds Write

    CVE-2023-33551Erofs-utils Project

    Heap Buffer Overflow in the erofsfsck_dirent_iter function in fsck/main.c in erofs-utils v1.6 allows remote attackers to execute arbitrary code via a crafted erofs filesystem image.

  • 7.8 High severity

    Kernel: Out-of-bounds Write

    CVE-2023-2598KernelEPSS 1.37%

    A flaw was found in the fixed buffer registration code for io_uring (io_sqe_buffer_register in io_uring/rsrc.c) in the Linux kernel that allows out-of-bounds access to physical memory beyond the end of the buffer. This flaw enables full local privilege escalat

  • 8.8 High severity

    X5000r Firmware: Out-of-bounds Write

    CVE-2023-33485TOTOLINKEPSS 1.06%

    TOTOLINK X5000R V9.1.0u.6118_B20201102 and V9.1.0u.6369_B20230113 contains a post-authentication buffer overflow via parameter sPort/ePort in the addEffect function.

  • 8.8 High severity

    Chrome: Out-of-bounds Write

    CVE-2023-2934GoogleEPSS 1.46%

    Out of bounds memory access in Mojo in Google Chrome prior to 114.0.5735.90 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-2929GoogleEPSS 1.11%

    Out of bounds write in Swiftshader in Google Chrome prior to 114.0.5735.90 allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page. (Chromium security severity: High)

  • 9.8 Critical severity

    RIOT: Out-of-bounds Write

    CVE-2023-33975Riot-osEPSS 1.48%

    RIOT-OS, an operating system for Internet of Things (IoT) devices, contains a network stack with the ability to process 6LoWPAN frames. In version 2023.01 and prior, an attacker can send a crafted frame to the device resulting in an out of bounds write in the

  • 7.5 High severity

    RIOT: Integer Underflow (Wrap or Wraparound)

    CVE-2023-24817Riot-os

    RIOT-OS, an operating system for Internet of Things (IoT) devices, contains a network stack with the ability to process 6LoWPAN frames. Prior to version 2023.04, an attacker can send a crafted frame to the device resulting in an integer underflow and out of bo

  • 9.8 Critical severity

    AC6: Out-of-bounds Write

    CVE-2023-2923Tenda

    A vulnerability classified as critical was found in Tenda AC6 US_AC6V1.0BR_V15.03.05.19. Affected by this vulnerability is the function fromDhcpListClient. The manipulation leads to stack-based buffer overflow. The attack can be launched remotely. The exploit

  • 7.5 High severity

    sofia-sip: Integer Overflow or Wraparound

    CVE-2023-32307FreeswitchEPSS 1.06%

    Sofia-SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification. Referring to [GHSA-8599-x7rq-fr54](https://github.com/freeswitch/sofia-sip/security/advisories/GHSA-8599-x7rq-fr54), several other potential heap-over-flow and i

  • 7.5 High severity

    Htmlunit: Out-of-bounds Write

    CVE-2023-2798HtmlUnit

    Those using HtmlUnit to browse untrusted webpages may be vulnerable to Denial of service attacks (DoS). If HtmlUnit is running on user supplied web pages, an attacker may supply content that causes HtmlUnit to crash by a stack overflow. This effect may support

  • 7.8 High severity

    Antivirus: Out-of-bounds Write

    CVE-2023-2873Twister

    A vulnerability classified as critical was found in Twister Antivirus 8. This vulnerability affects the function 0x804f2143/0x804f217f/0x804f214b/0x80800043 in the library filppd.sys of the component IoControlCode Handler. The manipulation leads to memory corr

  • 7.3 High severity

    Half-life: Out-of-bounds Write

    CVE-2023-30382Valvesoftware

    A buffer overflow in the component hl.exe of Valve Half-Life up to 5433873 allows attackers to execute arbitrary code and escalate privileges by supplying crafted parameters.

  • 9.8 Critical severity

    Connect-iq: Out-of-bounds Write

    CVE-2023-23306GarminEPSS 1.23%

    The `Toybox.Ant.BurstPayload.add` API method in CIQ API version 2.2.0 through 4.1.7 suffers from a type confusion vulnreability, which can result in an out-of-bounds write operation. A malicious application could create a specially crafted `Toybox.Ant.BurstPay

  • 7.8 High severity

    PowerEdge Platform: Out-of-bounds Write

    CVE-2023-25537Dell

    Dell PowerEdge 14G server BIOS versions prior to 2.18.1 and Dell Precision BIOS versions prior to 2.18.2, contain an Out of Bounds write vulnerability. A local attacker with low privileges could potentially exploit this vulnerability leading to exposure of som

  • 7.5 High severity

    Fastgate Vdsl2 Dga4131fwb Firmware: Out-of-bounds Write

    CVE-2022-30114FastwebEPSS 2.4%

    A heap-based buffer overflow in a network service in Fastweb FASTGate MediaAccess FGA2130FWB, firmware version 18.3.n.0482_FW_230_FGA2130, and DGA4131FWB, firmware version up to 18.3.n.0462_FW_261_DGA4131, allows a remote attacker to reboot the device through

  • 9.8 Critical severity

    netconsd: Out-of-bounds Write

    CVE-2023-28753FacebookEPSS 1.85%

    netconsd prior to v0.2 was vulnerable to an integer overflow in its parse_packet function. A malicious individual could leverage this overflow to create heap memory corruption with attacker controlled data.

  • 9.8 Critical severity

    Hermes: Out-of-bounds Write

    CVE-2023-23556Facebook

    An error in BigInt conversion to Number in Hermes prior to commit a6dcafe6ded8e61658b40f5699878cd19a481f80 could have been used by a malicious attacker to execute arbitrary code due to an out-of-bound write. Note that this bug is only exploitable in cases wher

  • 9.8 Critical severity

    F7c063 Firmware: Out-of-bounds Write

    CVE-2023-27217Belkin

    A stack-based buffer overflow in the ChangeFriendlyName() function of Belkin Smart Outlet V2 F7c063 firmware_2.00.11420.OWRT.PVT_SNSV2 allows attackers to cause a Denial of Service (DoS) via a crafted UPNP request.

  • 8.8 High severity

    Jenkins Pipeline Utility Steps Plugin: Out-of-bounds Write

    CVE-2023-32981JenkinsEPSS 1.02%

    An arbitrary file write vulnerability in Jenkins Pipeline Utility Steps Plugin 2.15.2 and earlier allows attackers able to provide crafted archives as parameters to create or replace arbitrary files on the agent file system with attacker-specified content.

  • 7.8 High severity

    Kernel: Out-of-bounds Write

    CVE-2023-2124Kernel

    An out-of-bounds memory access flaw was found in the Linux kernel’s XFS file system in how a user restores an XFS image after failure (with a dirty log journal). This flaw allows a local user to crash or potentially escalate their privileges on the system.

  • 8.8 High severity

    CODESYS Control RTE (SL): Out-of-bounds Write

    CVE-2022-47390CodesysEPSS 1.32%

    An authenticated, remote attacker may use a stack based out-of-bounds write vulnerability in the CmpTraceMgr Component of multiple CODESYS products in multiple versions to write data into the stack which can lead to a denial-of-service condition, memory overwr

  • 8.8 High severity

    CODESYS Control RTE (SL): Out-of-bounds Write

    CVE-2022-47389CodesysEPSS 1.32%

    An authenticated, remote attacker may use a stack based out-of-bounds write vulnerability in the CmpTraceMgr Component of multiple CODESYS products in multiple versions to write data into the stack which can lead to a denial-of-service condition, memory overwr