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

    Pcf2bdf: Out-of-bounds Write

    CVE-2022-23318Pcf2bdf Project

    A heap-buffer-overflow in pcf2bdf, versions >= 1.05 allows an attacker to trigger unsafe memory access via a specially crafted PCF font file. This out-of-bound read may lead to an application crash, information disclosure via program memory or other context-de

  • 7.8 High severity

    KiCad: Out-of-bounds Write

    CVE-2022-23804KiCadEPSS 1.66%

    A stack-based buffer overflow vulnerability exists in the Gerber Viewer gerber and excellon ReadIJCoord coordinate parsing functionality of KiCad EDA 6.0.1 and master commit de006fc010. A specially-crafted gerber or excellon file can lead to code execution. An

  • 7.8 High severity

    KiCad: Out-of-bounds Write

    CVE-2022-23803KiCadEPSS 1.66%

    A stack-based buffer overflow vulnerability exists in the Gerber Viewer gerber and excellon ReadXYCoord coordinate parsing functionality of KiCad EDA 6.0.1 and master commit de006fc010. A specially-crafted gerber or excellon file can lead to code execution. An

  • 7.5 High severity

    Wireshark: Out-of-bounds Write

    CVE-2022-0583Wireshark FoundationEPSS 1.79%

    Crash in the PVFS protocol dissector in Wireshark 3.6.0 to 3.6.1 and 3.4.0 to 3.4.11 allows denial of service via packet injection or crafted capture file

  • 8.8 High severity

    Chrome: Out-of-bounds Write

    CVE-2022-0311Google

    Heap buffer overflow in Task Manager in Google Chrome prior to 97.0.4692.99 allowed a remote attacker who convinced a user to engage in specific user interaction to potentially exploit heap corruption via a crafted HTML page.

  • 8.8 High severity

    Chrome: Out-of-bounds Write

    CVE-2022-0310Google

    Heap buffer overflow in Task Manager in Google Chrome prior to 97.0.4692.99 allowed a remote attacker to potentially exploit heap corruption via specific user interactions.

  • 8.8 High severity

    Chrome: Out-of-bounds Write

    CVE-2022-0306GoogleEPSS 85.4%

    Heap buffer overflow in PDFium in Google Chrome prior to 97.0.4692.99 allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page.

  • 8.8 High severity

    Chrome: Out-of-bounds Write

    CVE-2022-0104GoogleEPSS 1.34%

    Heap buffer overflow in ANGLE in Google Chrome prior to 97.0.4692.71 allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page.

  • 8.8 High severity

    Chrome: Out-of-bounds Write

    CVE-2022-0101GoogleEPSS 1.41%

    Heap buffer overflow in Bookmarks in Google Chrome prior to 97.0.4692.71 allowed a remote attacker who convinced a user to perform specific user gesture to potentially exploit heap corruption via specific user gesture.

  • 8.8 High severity

    Chrome: Out-of-bounds Write

    CVE-2022-0100GoogleEPSS 1.5%

    Heap buffer overflow in Media streams API in Google Chrome prior to 97.0.4692.71 allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page.

  • 9.8 Critical severity

    PDF Reader: Out-of-bounds Write

    CVE-2022-24954FoxitEPSS 11.9%

    Foxit PDF Reader before 11.2.1 and Foxit PDF Editor before 11.2.1 have a Stack-Based Buffer Overflow related to XFA, for the 'subform colSpan="-2"' and 'draw colSpan="1"' substrings.

  • 9.8 Critical severity

    Cisco Small Business RV Series Router Firmware: Out-of-bounds Write

    CVE-2022-20749CiscoEPSS 4.01%

    Multiple vulnerabilities in Cisco Small Business RV160, RV260, RV340, and RV345 Series Routers could allow an attacker to do any of the following: Execute arbitrary code Elevate privileges Execute arbitrary commands Bypass authentication and authorization prot

  • 9.8 Critical severity

    Cisco Small Business RV Series Router Firmware: Out-of-bounds Write

    CVE-2022-20712CiscoEPSS 3.03%

    Multiple vulnerabilities in Cisco Small Business RV160, RV260, RV340, and RV345 Series Routers could allow an attacker to do any of the following: Execute arbitrary code Elevate privileges Execute arbitrary commands Bypass authentication and authorization prot

  • 9.8 Critical severity

    Cisco Small Business RV Series Router Firmware: Out-of-bounds Write

    CVE-2022-20711CiscoEPSS 4.92%

    Multiple vulnerabilities in Cisco Small Business RV160, RV260, RV340, and RV345 Series Routers could allow an attacker to do any of the following: Execute arbitrary code Elevate privileges Execute arbitrary commands Bypass authentication and authorization prot

  • 7.5 High severity

    Cisco Small Business RV Series Router Firmware: Out-of-bounds Write

    CVE-2022-20709CiscoEPSS 3.8%

    Multiple vulnerabilities in Cisco Small Business RV160, RV260, RV340, and RV345 Series Routers could allow an attacker to do any of the following: Execute arbitrary code Elevate privileges Execute arbitrary commands Bypass authentication and authorization prot

  • 7.3 High severity

    Cisco Small Business RV Series Router Firmware: Out-of-bounds Write

    CVE-2022-20707CiscoEPSS 75.3%

    Multiple vulnerabilities in Cisco Small Business RV160, RV260, RV340, and RV345 Series Routers could allow an attacker to do any of the following: Execute arbitrary code Elevate privileges Execute arbitrary commands Bypass authentication and authorization prot

  • 8.1 High severity

    Cisco Small Business RV Series Router Firmware: Out-of-bounds Write

    CVE-2022-20706CiscoEPSS 5.57%

    Multiple vulnerabilities in Cisco Small Business RV160, RV260, RV340, and RV345 Series Routers could allow an attacker to do any of the following: Execute arbitrary code Elevate privileges Execute arbitrary commands Bypass authentication and authorization prot

  • 9.8 Critical severity

    Cisco Small Business RV Series Router Firmware: Out-of-bounds Write

    CVE-2022-20705CiscoEPSS 80%

    Multiple vulnerabilities in Cisco Small Business RV160, RV260, RV340, and RV345 Series Routers could allow an attacker to do any of the following: Execute arbitrary code Elevate privileges Execute arbitrary commands Bypass authentication and authorization prot

  • 7.2 High severity

    Cisco Small Business RV Series Router Firmware: Out-of-bounds Write

    CVE-2022-20702CiscoEPSS 4.6%

    Multiple vulnerabilities in Cisco Small Business RV160, RV260, RV340, and RV345 Series Routers could allow an attacker to do any of the following: Execute arbitrary code Elevate privileges Execute arbitrary commands Bypass authentication and authorization prot

  • 7.8 High severity

    Cisco Small Business RV Series Routers Stack-based Buffer Overflow Exploited

    CVE-2022-20701CiscoEPSS 9.75%

    Multiple vulnerabilities in Cisco Small Business RV160, RV260, RV340, and RV345 Series Routers could allow an attacker to do any of the following: Execute arbitrary code Elevate privileges Execute arbitrary commands Bypass authentication and authorization prot

  • 9.8 Critical severity

    Cisco Small Business RV Series Routers Stack-based Buffer Overflow Exploited

    CVE-2022-20700CiscoEPSS 5.66%

    Multiple vulnerabilities in Cisco Small Business RV160, RV260, RV340, and RV345 Series Routers could allow an attacker to do any of the following: Execute arbitrary code Elevate privileges Execute arbitrary commands Bypass authentication and authorization prot

  • 7.8 High severity

    MT6735, MT6737, MT6739, MT6755, MT6757…: Out-of-bounds Write

    CVE-2022-20040MediaTek

    In power_hal_manager_service, there is a possible permission bypass due to a stack-based buffer overflow. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation. Patch ID

  • 7.8 High severity

    MT8167, MT8175, MT8183, MT8362A, MT8365, MT8385: Out-of-bounds Write

    CVE-2022-20028MediaTek

    In Bluetooth, 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 exploitation. Patch ID: ALPS06198663; Issue

  • 7.8 High severity

    MT8167, MT8175, MT8183, MT8362A, MT8365, MT8385: Out-of-bounds Write

    CVE-2022-20027MediaTek

    In Bluetooth, 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 exploitation. Patch ID: ALPS06126826; Issue

  • 7.8 High severity

    MT8167, MT8175, MT8183, MT8362A, MT8365, MT8385: Out-of-bounds Write

    CVE-2022-20026MediaTek

    In Bluetooth, 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 exploitation. Patch ID: ALPS06126827; Issue

  • 7.8 High severity

    MT8167, MT8175, MT8183, MT8362A, MT8365, MT8385: Out-of-bounds Write

    CVE-2022-20025MediaTek

    In Bluetooth, 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 exploitation. Patch ID: ALPS06126832; Issue

  • 7.8 High severity

    KiCad: Out-of-bounds Write

    CVE-2022-23947KiCadEPSS 1.46%

    A stack-based buffer overflow vulnerability exists in the Gerber Viewer gerber and excellon DCodeNumber parsing functionality of KiCad EDA 6.0.1 and master commit de006fc010. A specially-crafted gerber or excellon file can lead to code execution. An attacker c

  • 7.8 High severity

    KiCad: Out-of-bounds Write

    CVE-2022-23946KiCadEPSS 1.74%

    A stack-based buffer overflow vulnerability exists in the Gerber Viewer gerber and excellon GCodeNumber parsing functionality of KiCad EDA 6.0.1 and master commit de006fc010. A specially-crafted gerber or excellon file can lead to code execution. An attacker c

  • 8.8 High severity

    tensorflow: Out-of-bounds Read

    CVE-2022-23574TensorFlow

    Tensorflow is an Open Source Machine Learning Framework. There is a typo in TensorFlow's `SpecializeType` which results in heap OOB read/write. Due to a typo, `arg` is initialized to the `i`th mutable argument in a loop where the loop index is `j`. Hence it is

  • 8.8 High severity

    tensorflow: Out-of-bounds Write

    CVE-2022-23566TensorFlow

    Tensorflow is an Open Source Machine Learning Framework. TensorFlow is vulnerable to a heap OOB write in `Grappler`. The `set_output` function writes to an array at the specified index. Hence, this gives a malicious user a write primitive. The fix will be incl

  • 8.8 High severity

    tensorflow: Out-of-bounds Write

    CVE-2022-23561TensorFlow

    Tensorflow is an Open Source Machine Learning Framework. An attacker can craft a TFLite model that would cause a write outside of bounds of an array in TFLite. In fact, the attacker can override the linked list used by the memory allocator. This can be leverag

  • 8.8 High severity

    tensorflow: Out-of-bounds Read

    CVE-2022-23560TensorFlow

    Tensorflow is an Open Source Machine Learning Framework. An attacker can craft a TFLite model that would allow limited reads and writes outside of arrays in TFLite. This exploits missing validation in the conversion from sparse tensors to dense tensors. The fi

  • 7.5 High severity

    G1 Firmware: Out-of-bounds Write

    CVE-2022-24172TendacnEPSS 1.18%

    Tenda routers G1 and G3 v15.11.0.17(9502)_CN were discovered to contain a stack overflow in the function formAddDhcpBindRule. This vulnerability allows attackers to cause a Denial of Service (DoS) via the addDhcpRules parameter.

  • 7.5 High severity

    G1 Firmware: Out-of-bounds Write

    CVE-2022-24169TendacnEPSS 1.18%

    Tenda routers G1 and G3 v15.11.0.17(9502)_CN were discovered to contain a stack overflow in the function formIPMacBindAdd. This vulnerability allows attackers to cause a Denial of Service (DoS) via the IPMacBindRule parameter.

  • 7.5 High severity

    G1 Firmware: Out-of-bounds Write

    CVE-2022-24166TendacnEPSS 1.18%

    Tenda routers G1 and G3 v15.11.0.17(9502)_CN were discovered to contain a stack overflow in the function formSetSysTime. This vulnerability allows attackers to cause a Denial of Service (DoS) via the manualTime parameter.

  • 7.5 High severity

    G1 Firmware: Out-of-bounds Write

    CVE-2022-24164TendacnEPSS 1.18%

    Tenda routers G1 and G3 v15.11.0.17(9502)_CN were discovered to contain a stack overflow in the function formSetVirtualSer. This vulnerability allows attackers to cause a Denial of Service (DoS) via the DnsHijackRule parameter.

  • 7.5 High severity

    Ax3 Firmware: Out-of-bounds Write

    CVE-2022-24163TendaEPSS 1.18%

    Tenda AX3 v16.03.12.10_CN was discovered to contain a stack overflow in the function fromSetSysTime. This vulnerability allows attackers to cause a Denial of Service (DoS) via the timeZone parameter.

  • 7.5 High severity

    Ax3 Firmware: Out-of-bounds Write

    CVE-2022-24162TendaEPSS 1.18%

    Tenda AX3 v16.03.12.10_CN was discovered to contain a stack overflow in the function saveParentControlInfo. This vulnerability allows attackers to cause a Denial of Service (DoS) via the time parameter.

  • 7.5 High severity

    Ax3 Firmware: Out-of-bounds Write

    CVE-2022-24161TendaEPSS 1.18%

    Tenda AX3 v16.03.12.10_CN was discovered to contain a heap overflow in the function GetParentControlInfo. This vulnerability allows attackers to cause a Denial of Service (DoS) via the mac parameter.

  • 7.5 High severity

    Ax3 Firmware: Out-of-bounds Write

    CVE-2022-24160TendaEPSS 1.18%

    Tenda AX3 v16.03.12.10_CN was discovered to contain a stack overflow in the function formSetDeviceName. This vulnerability allows attackers to cause a Denial of Service (DoS) via the devName parameter.