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

    JT2Go: Out-of-bounds Write

    CVE-2022-3161Siemens

    The APDFL.dll contains a memory corruption vulnerability while parsing specially crafted PDF files. This could allow an attacker to execute code in the context of the current process.

  • 7.8 High severity

    JT2Go: Out-of-bounds Write

    CVE-2022-3160Siemens

    The APDFL.dll contains an out-of-bounds write past the fixed-length heap-based buffer while parsing specially crafted PDF files. This could allow an attacker to execute code in the context of the current process.

  • 7.8 High severity

    JT2Go: Out-of-bounds Write

    CVE-2022-3159Siemens

    The APDFL.dll contains a stack-based buffer overflow vulnerability that could be triggered while parsing specially crafted PDF files. This could allow an attacker to execute code in the context of the current process.

  • 7.5 High severity

    Junos OS: Out-of-bounds Write

    CVE-2023-22415Juniper Networks

    An Out-of-Bounds Write vulnerability in the H.323 ALG of Juniper Networks Junos OS allows an unauthenticated, network-based attacker to cause Denial of Service (DoS). On all MX Series and SRX Series platform, when H.323 ALG is enabled and specific H.323 packet

  • 7.5 High severity

    Junos OS: Out-of-bounds Write

    CVE-2023-22411Juniper Networks

    An Out-of-Bounds Write vulnerability in Flow Processing Daemon (flowd) of Juniper Networks Junos OS allows an unauthenticated, network-based attacker to cause Denial of Service (DoS). On SRX Series devices using Unified Policies with IPv6, when a specific IPv6

  • 9.8 Critical severity

    NF20: Out-of-bounds Write

    CVE-2022-4873NetcommEPSS 7.17%

    On Netcomm router models NF20MESH, NF20, and NL1902 a stack based buffer overflow affects the sessionKey parameter. By providing a specific number of bytes, the instruction pointer is able to be overwritten on the stack and crashes the application at a known l

  • 9.8 Critical severity

    WR710N: Out-of-bounds Write

    CVE-2022-4498TP-LinkEPSS 1.96%

    In TP-Link routers, Archer C5 and WR710N-V1, running the latest available code, when receiving HTTP Basic Authentication the httpd service can be sent a crafted packet that causes a heap overflow. This can result in either a DoS (by crashing the httpd process)

  • 8.8 High severity

    Chrome: Out-of-bounds Write

    CVE-2023-0138Google

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

  • 8.8 High severity

    Chrome: Out-of-bounds Write

    CVE-2023-0137Google

    Heap buffer overflow in Platform Apps in Google Chrome on Chrome OS prior to 109.0.5414.74 allowed an attacker who convinced a user to install a malicious extension to potentially exploit heap corruption via a crafted HTML page. (Chromium security severity: Me

  • 8.8 High severity

    Chrome: Out-of-bounds Write

    CVE-2023-0129Google

    Heap buffer overflow in Network Service in Google Chrome prior to 109.0.5414.74 allowed an attacker who convinced a user to install a malicious extension to potentially exploit heap corruption via a crafted HTML page and specific interactions. (Chromium securi

  • 7.8 High severity

    Solid Edge: Out-of-bounds Write

    CVE-2022-47967Siemens

    A vulnerability has been identified in Solid Edge (All versions < V2023 MP1). The DOCMGMT.DLL contains a memory corruption vulnerability that could be triggered while parsing files in different file formats such as PAR, ASM, DFT. This could allow an attacker t

  • 7.8 High severity

    JT Open: Out-of-bounds Write

    CVE-2022-47935Siemens

    A vulnerability has been identified in JT Open (All versions < V11.1.1.0), JT Utilities (All versions < V13.1.1.0), Solid Edge (All versions < V2023). The Jt1001.dll contains a memory corruption vulnerability while parsing specially crafted JT files. An attack

  • 7.2 High severity

    WRT54GL Wireless-G Broadband Router: Out-of-bounds Write

    CVE-2022-43970LinksysEPSS 19.5%

    A buffer overflow vulnerability exists in Linksys WRT54GL Wireless-G Broadband Router with firmware <= 4.30.18.006. A stack-based buffer overflow in the Start_EPI function within the httpd binary allows an authenticated attacker with administrator privileges t

  • 7.8 High severity

    OpenHarmony: Out-of-bounds Write

    CVE-2022-45126OpenHarmony

    Kernel subsystem within OpenHarmony-v3.1.4 and prior versions in kernel_liteos_a has a kernel stack overflow vulnerability when call SysClockGettime. 4 bytes padding data from kernel stack are copied to user space incorrectly and leaked.

  • 7.8 High severity

    OpenHarmony: Out-of-bounds Write

    CVE-2022-43662OpenHarmony

    Kernel subsystem within OpenHarmony-v3.1.4 and prior versions in kernel_liteos_a has a kernel stack overflow vulnerability when call SysTimerGettime. 4 bytes padding data from kernel stack are copied to user space incorrectly and leaked.

  • 7.8 High severity

    kernel: Out-of-bounds Write

    CVE-2022-4378Kernel

    A stack overflow flaw was found in the Linux kernel's SYSCTL subsystem in how a user changes certain kernel parameters and variables. This flaw allows a local user to crash or potentially escalate their privileges on the system.

  • 7.8 High severity

    MT6580, MT6735, MT6739, MT6753, MT6757…: Out-of-bounds Write

    CVE-2022-32635MediaTek

    In gps, 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: ALPS07573237; Issue ID: A

  • 7.8 High severity

    V-Server: Out-of-bounds Write

    Stack-based buffer overflow vulnerability in V-Server v4.0.12.0 and earlier allows a local attacker to obtain the information and/or execute arbitrary code by having a user to open a specially crafted project file.

  • 7.8 High severity

    V-Server: Out-of-bounds Write

    Out-of-bounds write vulnerability in V-Server v4.0.12.0 and earlier allows a local attacker to obtain the information and/or execute arbitrary code by having a user to open a specially crafted project file.

  • 7.8 High severity

    V-SFT and TELLUS: Out-of-bounds Write

    Out-of-bounds write vulnerability in V-SFT v6.1.7.0 and earlier and TELLUS v4.0.12.0 and earlier allows a local attacker to obtain the information and/or execute arbitrary code by having a user to open a specially crafted image file.

  • 9.8 Critical severity

    Fortinet FortiOS Heap-Based Buffer Overflow Exploited

    CVE-2022-42475FortinetEPSS 99.5%

    A heap-based buffer overflow vulnerability [CWE-122] in FortiOS SSL-VPN 7.2.0 through 7.2.2, 7.0.0 through 7.0.8, 6.4.0 through 6.4.10, 6.2.0 through 6.2.11, 6.0.15 and earlier and FortiProxy SSL-VPN 7.2.0 through 7.2.1, 7.0.7 and earlier may allow a remote un

  • 7.8 High severity

    NVIDIA Jetson AGX Xavier Series, Jetson Xavier…: Out-of-bounds Write

    CVE-2022-42270NVIDIA

    NVIDIA distributions of Linux contain a vulnerability in nvdla_emu_task_submit, where unvalidated input may allow a local attacker to cause stack-based buffer overflow in kernel code, which may lead to escalation of privileges, compromised integrity and confid

  • 7.8 High severity

    vGPU software (Virtual GPU Manager), NVIDIA…: Buffer Copy without Checking Size of Input

    CVE-2022-42262NVIDIA

    NVIDIA vGPU software contains a vulnerability in the Virtual GPU Manager (vGPU plugin), where an input index is not validated, which may lead to buffer overrun, which in turn may cause data tampering, information disclosure, or denial of service.

  • 7.8 High severity

    vGPU software (guest driver) - Linux, vGPU…: Improper Validation of Array Index

    CVE-2022-42255NVIDIA

    NVIDIA GPU Display Driver for Linux contains a vulnerability in the kernel mode layer (nvidia.ko), where an out-of-bounds array access may lead to denial of service, information disclosure, or data tampering.

  • 8.8 High severity

    NVIDIA GPU Display Driver for Windows: Out-of-bounds Write

    CVE-2022-34671NVIDIAEPSS 1.47%

    NVIDIA GPU Display Driver for Windows contains a vulnerability in the user-mode layer, where an unprivileged user can cause an out-of-bounds write, which may lead to code execution, information disclosure, and denial of service.

  • 9.8 Critical severity

    Tew-755ap Firmware: Out-of-bounds Write

    CVE-2022-46600TRENDnet

    TRENDnet TEW755AP 1.13B01 was discovered to contain a stack overflow via the wps_sta_enrollee_pin parameter in the action set_sta_enrollee_pin_24g function.

  • 9.8 Critical severity

    Tew-755ap Firmware: Out-of-bounds Write

    CVE-2022-46590TRENDnetEPSS 1.01%

    TRENDnet TEW755AP 1.13B01 was discovered to contain a stack overflow via the cameo.cameo.netstat_rsname parameter in the tools_netstat (sub_41E730) function.

  • 9.8 Critical severity

    Tew-755ap Firmware: Out-of-bounds Write

    CVE-2022-46589TRENDnetEPSS 1.01%

    TRENDnet TEW755AP 1.13B01 was discovered to contain a stack overflow via the cameo.cameo.netstat_option parameter in the tools_netstat (sub_41E730) function.

  • 9.8 Critical severity

    Tew-755ap Firmware: Out-of-bounds Write

    CVE-2022-46586TRENDnetEPSS 1.01%

    TRENDnet TEW755AP 1.13B01 was discovered to contain a stack overflow via the qcawifi.wifi%d_vap%d.maclist parameter in the kick_ban_wifi_mac_allow (sub_415B00) function.

  • 9.8 Critical severity

    Tew-755ap Firmware: Out-of-bounds Write

    CVE-2022-46584TRENDnetEPSS 1.01%

    TRENDnet TEW755AP 1.13B01 was discovered to contain a stack overflow via the qcawifi.wifi%d_vap%d.maclist parameter in the kick_ban_wifi_mac_deny (sub_415D7C) function.

  • 7.2 High severity

    Dir-882 A1 Firmware: Out-of-bounds Write

    CVE-2022-46570D-LinkEPSS 1.52%

    D-Link DIR-882 DIR882A1_FW130B06, DIR-878 DIR_878_FW1.30B08 was discovered to contain a stack overflow via the Password parameter in the SetWan3Settings module.

  • 7.2 High severity

    Dir-882 A1 Firmware: Out-of-bounds Write

    CVE-2022-46569D-LinkEPSS 1.86%

    D-Link DIR-882 DIR882A1_FW130B06, DIR-878 DIR_878_FW1.30B08 was discovered to contain a stack overflow via the Key parameter in the SetWLanRadioSecurity module.

  • 7.2 High severity

    Dir-882 A1 Firmware: Out-of-bounds Write

    CVE-2022-46568D-LinkEPSS 1.48%

    D-Link DIR-882 DIR882A1_FW130B06, DIR-878 DIR_878_FW1.30B08 was discovered to contain a stack overflow via the AccountPassword parameter in the SetSysEmailSettings module.

  • 7.2 High severity

    Dir-882 A1 Firmware: Out-of-bounds Write

    CVE-2022-46566D-LinkEPSS 1.48%

    D-Link DIR-882 DIR882A1_FW130B06, DIR-878 DIR_878_FW1.30B08 was discovered to contain a stack overflow via the Password parameter in the SetQuickVPNSettings module.

  • 7.2 High severity

    Dir-882 A1 Firmware: Out-of-bounds Write

    CVE-2022-46563D-LinkEPSS 1.48%

    D-Link DIR-882 DIR882A1_FW130B06, DIR-878 DIR_878_FW1.30B08 was discovered to contain a stack overflow via the Password parameter in the SetDynamicDNSSettings module.

  • 7.2 High severity

    Dir-882 A1 Firmware: Out-of-bounds Write

    CVE-2022-46562D-LinkEPSS 1.48%

    D-Link DIR-882 DIR882A1_FW130B06, DIR-878 DIR_878_FW1.30B08 was discovered to contain a stack overflow via the PSK parameter in the SetQuickVPNSettings module.

  • 7.2 High severity

    Dir-882 A1 Firmware: Out-of-bounds Write

    CVE-2022-46561D-LinkEPSS 1.52%

    D-Link DIR-882 DIR882A1_FW130B06, DIR-878 DIR_878_FW1.30B08 was discovered to contain a stack overflow via the Password parameter in the SetWanSettings module.

  • 7.2 High severity

    Dir-882 A1 Firmware: Out-of-bounds Write

    CVE-2022-46560D-LinkEPSS 1.52%

    D-Link DIR-882 DIR882A1_FW130B06, DIR-878 DIR_878_FW1.30B08 was discovered to contain a stack overflow via the Password parameter in the SetWan2Settings module.

  • 8.8 High severity

    Linux Kernel: Out-of-bounds Write

    CVE-2022-47942LinuxEPSS 3.9%

    An issue was discovered in ksmbd in the Linux kernel 5.15 through 5.19 before 5.19.2. There is a heap-based buffer overflow in set_ntacl_dacl, related to use of SMB2_QUERY_INFO_HE after a malformed SMB2_SET_INFO_HE command.

  • 8.1 High severity

    OpenImageIO: Out-of-bounds Write

    CVE-2022-43598OpenImageIO ProjectEPSS 1.94%

    Multiple memory corruption vulnerabilities exist in the IFFOutput alignment padding functionality of OpenImageIO Project OpenImageIO v2.4.4.2. A specially crafted ImageOutput Object can lead to arbitrary code execution. An attacker can provide malicious input