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

    Unify Gateway: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2023-3110Silicon Labs

    Description: A vulnerability in SiLabs Unify Gateway 1.3.1 and earlier allows an unauthenticated attacker within Z-Wave range to overflow a stack buffer, leading to arbitrary code execution.

  • 8.8 High severity

    Z/IP Gateway: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2023-0972Silicon Labs

    Description: A vulnerability in SiLabs Z/IP Gateway 7.18.01 and earlier allows an unauthenticated attacker within Z-Wave range to overflow a stack buffer, leading to arbitrary code execution.

  • 7.5 High severity

    BIND 9: Out-of-bounds Write

    CVE-2023-2911ISCEPSS 2.43%

    If the `recursive-clients` quota is reached on a BIND 9 resolver configured with both `stale-answer-enable yes;` and `stale-answer-client-timeout 0;`, a sequence of serve-stale-related lookups could cause `named` to loop and terminate unexpectedly due to a sta

  • 9.8 Critical severity

    Firefox: Out-of-bounds Write

    CVE-2023-34417Mozilla

    Memory safety bugs present in Firefox 113. 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 < 114.

  • 9.8 Critical severity

    Firefox ESR: Out-of-bounds Write

    CVE-2023-34416Mozilla

    Memory safety bugs present in Firefox 113, Firefox ESR 102.11, and Thunderbird 102.12. 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 vulnerabil

  • 9.8 Critical severity

    Firefox: Out-of-bounds Write

    CVE-2023-32216Mozilla

    Mozilla developers and community members Ronald Crane, Andrew McCreight, Randell Jesup and the Mozilla Fuzzing Team reported memory safety bugs present in Firefox 112. Some of these bugs showed evidence of memory corruption and we presume that with enough effo

  • 9.8 Critical severity

    Firefox: Out-of-bounds Write

    CVE-2023-29531Mozilla

    An attacker could have caused an out of bounds memory access using WebGL APIs, leading to memory corruption and a potentially exploitable crash. *This bug only affects Firefox and Thunderbird for macOS. Other operating systems are unaffected.* This vulnerabili

  • 7.8 High severity

    TELLUS and TELLUS Lite: Out-of-bounds Write

    Stack-based buffer overflow vulnerability exists in TELLUS v4.0.15.0 and TELLUS Lite v4.0.15.0. Opening a specially crafted SIM2 file may lead to information disclosure and/or arbitrary code execution. This vulnerability is different from CVE-2023-32273 and CV

  • 7.8 High severity

    TELLUS and TELLUS Lite: Out-of-bounds Write

    Stack-based buffer overflow vulnerability exists in TELLUS v4.0.15.0 and TELLUS Lite v4.0.15.0. Opening a specially crafted V8 file may lead to information disclosure and/or arbitrary code execution.

  • 7.8 High severity

    TELLUS and TELLUS Lite: Out-of-bounds Write

    Stack-based buffer overflow vulnerability exists in TELLUS v4.0.15.0 and TELLUS Lite v4.0.15.0. Opening a specially crafted SIM2 file may lead to information disclosure and/or arbitrary code execution. This vulnerability is different from CVE-2023-32538 and CV

  • 7.8 High severity

    TELLUS and TELLUS Lite: Out-of-bounds Write

    Stack-based buffer overflow vulnerability exists in TELLUS v4.0.15.0 and TELLUS Lite v4.0.15.0. Opening a specially crafted SIM2 file may lead to information disclosure and/or arbitrary code execution. This vulnerability is different from CVE-2023-32538 and CV

  • 7.8 High severity

    Linux Kernel: Out-of-bounds Write

    CVE-2023-35788Linux

    An issue was discovered in fl_set_geneve_opt in net/sched/cls_flower.c in the Linux kernel before 6.3.7. It allows an out-of-bounds write in the flower classifier code via TCA_FLOWER_KEY_ENC_OPTS_GENEVE packets. This may result in denial of service or privileg

  • 8.0 High severity

    FLMG-10: Out-of-bounds Write

    CVE-2022-48330Huawei

    A Huawei sound box product has an out-of-bounds write vulnerability. Attackers can exploit this vulnerability to cause buffer overflow. Affected product versions include:FLMG-10 versions FLMG-10 10.0.1.0(H100SP22C00).

  • 9.8 Critical severity

    cpdb-libs: Out-of-bounds Write

    CVE-2023-34095OpenPrintingEPSS 1.54%

    cpdb-libs provides frontend and backend libraries for the Common Printing Dialog Backends (CPDB) project. In versions 1.0 through 2.0b4, cpdb-libs is vulnerable to buffer overflows via improper use of `scanf(3)`. cpdb-libs uses the `fscanf()` and `scanf()` fun

  • 7.5 High severity

    Jjson: Out-of-bounds Write

    CVE-2023-35110Jjson Project

    An issue was discovered jjson thru 0.1.7 allows attackers to cause a denial of service or other unspecified impacts via crafted object that uses cyclic dependencies.

  • 7.5 High severity

    Htmlcleaner: Out-of-bounds Write

    CVE-2023-34624Htmlcleaner ProjectEPSS 1.05%

    An issue was discovered htmlcleaner thru = 2.28 allows attackers to cause a denial of service or other unspecified impacts via crafted object that uses cyclic dependencies.

  • 7.5 High severity

    Jtidy: Out-of-bounds Write

    CVE-2023-34623Jtidy Project

    An issue was discovered jtidy thru r938 allows attackers to cause a denial of service or other unspecified impacts via crafted object that uses cyclic dependencies.

  • 7.5 High severity

    Hjson: Out-of-bounds Write

    CVE-2023-34620Hjson Project

    An issue was discovered hjson thru 3.0.0 allows attackers to cause a denial of service or other unspecified impacts via crafted object that uses cyclic dependencies.

  • 7.5 High severity

    Genson: Out-of-bounds Write

    CVE-2023-34617Genson Project

    An issue was discovered genson thru 1.6 allows attackers to cause a denial of service or other unspecified impacts via crafted object that uses cyclic dependencies.

  • 7.5 High severity

    Pbjson: Out-of-bounds Write

    CVE-2023-34616Pbjson Project

    An issue was discovered pbjson thru 0.4.0 allows attackers to cause a denial of service or other unspecified impacts via crafted object that uses cyclic dependencies.

  • 7.5 High severity

    Jsonutil: Out-of-bounds Write

    CVE-2023-34615Pwall

    An issue was discovered JSONUtil thru 5.0 allows attackers to cause a denial of service or other unspecified impacts via crafted object that uses cyclic dependencies.

  • 7.5 High severity

    Jsonij: Out-of-bounds Write

    CVE-2023-34614Jsonij Project

    An issue was discovered jmarsden/jsonij thru 0.5.2 allows attackers to cause a denial of service or other unspecified impacts via crafted object that uses cyclic dependencies.

  • 7.5 High severity

    Sojo: Out-of-bounds Write

    CVE-2023-34613Sojo Project

    An issue was discovered sojo thru 1.1.1 allows attackers to cause a denial of service or other unspecified impacts via crafted object that uses cyclic dependencies.

  • 7.5 High severity

    Ph-json: Out-of-bounds Write

    CVE-2023-34612Ph-json Project

    An issue was discovered ph-json thru 9.5.5 allows attackers to cause a denial of service or other unspecified impacts via crafted object that uses cyclic dependencies.

  • 7.5 High severity

    Mjson: Out-of-bounds Write

    CVE-2023-34611Mjson Project

    An issue was discovered mjson thru 1.4.1 allows attackers to cause a denial of service or other unspecified impacts via crafted object that uses cyclic dependencies.

  • 7.5 High severity

    Json-io: Out-of-bounds Write

    CVE-2023-34610Json-io Project

    An issue was discovered json-io thru 4.14.0 allows attackers to cause a denial of service or other unspecified impacts via crafted object that uses cyclic dependencies.

  • 7.5 High severity

    Flexjson: Out-of-bounds Write

    CVE-2023-34609Flexjson ProjectEPSS 1.18%

    An issue was discovered flexjson thru 3.3 allows attackers to cause a denial of service or other unspecified impacts via crafted object that uses cyclic dependencies.

  • 7.8 High severity

    EcoStruxure Foxboro DCS Control Core Services: Out-of-bounds Write

    CVE-2023-2569Schneider Electric

    A CWE-787: Out-of-Bounds Write vulnerability exists that could cause local denial-of-service, elevation of privilege, and potentially kernel execution when a malicious actor with local user access crafts a script/program using an IOCTL call in the Foxboro.sys

  • 9.8 Critical severity

    Jhead: Out-of-bounds Write

    CVE-2022-28550Jhead ProjectEPSS 1.05%

    Matthias-Wandel/jhead jhead 3.06 is vulnerable to Buffer Overflow via shellescape(), jhead.c, jhead. jhead copies strings to a stack buffer when it detects a &i or &o. However, jhead does not check the boundary of the stack buffer. As a result, there will be a

  • 7.8 High severity

    FRENIC RHC Loader: Out-of-bounds Write

    CVE-2023-29160Fuji Electric

    Stack-based buffer overflow vulnerability exists in FRENIC RHC Loader v1.1.0.3. If a user opens a specially crafted FNE file, sensitive information on the system where the affected product is installed may be disclosed or arbitrary code may be executed.

  • 7.8 High severity

    JT2Go: Out-of-bounds Write

    CVE-2023-33124Siemens

    A vulnerability has been identified in JT2Go (All versions < V14.2.0.3), Teamcenter Visualization V13.2 (All versions < V13.2.0.13), Teamcenter Visualization V13.3 (All versions < V13.3.0.10), Teamcenter Visualization V14.0 (All versions < V14.0.0.6), Teamcent

  • 9.8 Critical severity

    Fortinet FortiOS and FortiProxy SSL-VPN Heap-Based Buffer Overflow Exploited

    CVE-2023-27997FortinetEPSS 86.8%

    A heap-based buffer overflow vulnerability [CWE-122] in FortiOS version 7.2.4 and below, version 7.0.11 and below, version 6.4.12 and below, version 6.0.16 and below and FortiProxy version 7.2.3 and below, version 7.0.9 and below, version 2.0.12 and below, ver

  • 7.8 High severity

    FortiOS: Out-of-bounds Write

    CVE-2023-22639Fortinet

    A out-of-bounds write in Fortinet FortiOS version 7.2.0 through 7.2.3, FortiOS version 7.0.0 through 7.0.10, FortiOS version 6.4.0 through 6.4.12, FortiOS all versions 6.2, FortiOS all versions 6.0, FortiProxy version 7.2.0 through 7.2.2, FortiProxy version 7.

  • 7.5 High severity

    Rt-n10lx Firmware: Out-of-bounds Write

    CVE-2023-34942ASUS

    Asus RT-N10LX Router v2.0.0.39 was discovered to contain a stack overflow via the mac parameter at /start-apply.html. NOTE: This vulnerability only affects products that are no longer supported by the maintainer.

  • 7.5 High severity

    Rt-n10lx Firmware: Out-of-bounds Write

    CVE-2023-34940ASUS

    Asus RT-N10LX Router v2.0.0.39 was discovered to contain a stack overflow via the url parameter at /start-apply.html. NOTE: This vulnerability only affects products that are no longer supported by the maintainer.

  • 9.8 Critical severity

    Datadirect Odbc Oracle Wire Protocol Driver: Out-of-bounds Write

    CVE-2023-34364Progress SoftwareEPSS 1.59%

    A buffer overflow was discovered in Progress DataDirect Connect for ODBC before 08.02.2770 for Oracle. An overly large value for certain options of a connection string may overrun the buffer allocated to process the string value. This allows an attacker to exe

  • 7.5 High severity

    Nanomq: Out-of-bounds Write

    CVE-2023-33660EmqxEPSS 1.2%

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

  • 7.5 High severity

    Nanomq: Out-of-bounds Write

    CVE-2023-33658EmqxEPSS 1.2%

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

  • 7.8 High severity

    CNCSoft-B DOPSoft: Out-of-bounds Write

    CVE-2023-24014Delta Electronics

    Delta Electronics' CNCSoft-B DOPSoft versions 1.0.0.4 and prior are vulnerable to heap-based buffer overflow, which could allow an attacker to execute arbitrary code.

  • 7.8 High severity

    JT2Go: Out-of-bounds Write

    CVE-2023-1709Siemens

    Datalogics Library APDFLThe v18.0.4PlusP1e and prior contains a stack-based buffer overflow due to documents containing corrupted fonts, which could allow an attack that causes an unhandled crash during the rendering process.