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

    CX-Position: Out-of-bounds Write

    CVE-2022-26419OmronEPSS 2.12%

    Omron CX-Position (versions 2.5.3 and prior) is vulnerable to multiple stack-based buffer overflow conditions while parsing a specific project file, which may allow an attacker to locally execute arbitrary code.

  • 7.8 High severity

    CX-Position: Out-of-bounds Write

    CVE-2022-26022OmronEPSS 1.5%

    Omron CX-Position (versions 2.5.3 and prior) is vulnerable to an out-of-bounds write while processing a specific project file, which may allow an attacker to execute arbitrary code.

  • 7.8 High severity

    CX-Position: Out-of-bounds Write

    CVE-2022-25959OmronEPSS 1.47%

    Omron CX-Position (versions 2.5.3 and prior) is vulnerable to memory corruption while processing a specific project file, which may allow an attacker to execute arbitrary code.

  • 7.5 High severity

    Modbus Slave: Out-of-bounds Write

    CVE-2022-1068Modbus Tools

    Modbus Tools Modbus Slave (versions 7.4.2 and prior) is vulnerable to a stack-based buffer overflow in the registration field. This may cause the program to crash when a long character string is used.

  • 9.8 Critical severity

    SonicOS: Out-of-bounds Write

    CVE-2022-22274SonicWallEPSS 75.5%

    A Stack-based buffer overflow vulnerability in the SonicOS via HTTP request allows a remote unauthenticated attacker to cause Denial of Service (DoS) or potentially results in code execution in the firewall.

  • 7.8 High severity

    Linux Kernel Out-of-Bounds Write Exploited

    CVE-2022-0995KernelEPSS 8.86%

    An out-of-bounds (OOB) memory write flaw was found in the Linux kernel’s watch_queue event notification subsystem. This flaw can overwrite parts of the kernel state, potentially allowing a local user to gain privileged access or cause a denial of service on th

  • 7.8 High severity

    kernel: Out-of-bounds Write

    CVE-2022-0500Kernel

    A flaw was found in unrestricted eBPF usage by the BPF_BTF_LOAD, leading to a possible out-of-bounds memory write in the Linux kernel’s BPF subsystem due to the way a user loads BTF. This flaw allows a local user to crash or escalate their privileges on the sy

  • 8.8 High severity

    kernel: Out-of-bounds Write

    CVE-2022-0435KernelEPSS 67.8%

    A stack overflow flaw was found in the Linux kernel's TIPC protocol functionality in the way a user sends a packet with malicious content where the number of domain member nodes is higher than the 64 allowed. This flaw allows a remote user to crash the system

  • 7.8 High severity

    Linux Kernel: Out-of-bounds Write

    CVE-2022-27666LinuxEPSS 5.52%

    A heap buffer overflow flaw was found in IPsec ESP transformation code in net/ipv4/esp4.c and net/ipv6/esp6.c. This flaw allows a local attacker with a normal user privilege to overwrite kernel heap objects and may cause a local privilege escalation threat.

  • 7.5 High severity

    pjproject: Out-of-bounds Write

    CVE-2022-24764PjsipEPSS 2.38%

    PJSIP is a free and open source multimedia communication library written in C. Versions 2.12 and prior contain a stack buffer overflow vulnerability that affects PJSUA2 users or users that call the API `pjmedia_sdp_print(), pjmedia_sdp_media_print()`. Applicat

  • 9.8 Critical severity

    Dark Souls Iii: Out-of-bounds Write

    CVE-2022-24126FromsoftwareEPSS 4.69%

    A buffer overflow in the NRSessionSearchResult parser in Bandai Namco FromSoftware Dark Souls III through 2022-03-19 allows remote attackers to execute arbitrary code via matchmaking servers, a different vulnerability than CVE-2021-34170.

  • 9.3 High severity

    Acrobat Reader: Out-of-bounds Write

    CVE-2022-24092AdobeEPSS 4.5%

    Acrobat Reader DC version 21.007.20099 (and earlier), 20.004.30017 (and earlier) and 17.011.30204 (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

  • 7.8 High severity

    Acrobat Reader: Out-of-bounds Write

    CVE-2022-24091AdobeEPSS 4.1%

    Acrobat Reader DC version 21.007.20099 (and earlier), 20.004.30017 (and earlier) and 17.011.30204 (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

  • 7.8 High severity

    iOS and iPadOS: Out-of-bounds Write

    CVE-2022-22666AppleEPSS 1.29%

    A memory corruption issue was addressed with improved validation. This issue is fixed in tvOS 15.4, iOS 15.4 and iPadOS 15.4, watchOS 8.5. Processing a maliciously crafted image may lead to heap corruption.

  • 7.5 High severity

    macOS: Out-of-bounds Write

    CVE-2022-22651AppleEPSS 1.88%

    An out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in macOS Monterey 12.3. A remote attacker may be able to cause unexpected system termination or corrupt kernel memory.

  • 7.8 High severity

    iOS and iPadOS: Out-of-bounds Write

    CVE-2022-22640AppleEPSS 1.17%

    A memory corruption issue was addressed with improved validation. This issue is fixed in tvOS 15.4, iOS 15.4 and iPadOS 15.4, macOS Monterey 12.3, watchOS 8.5. An application may be able to execute arbitrary code with kernel privileges.

  • 7.8 High severity

    iOS and iPadOS: Out-of-bounds Write

    CVE-2022-22636AppleEPSS 1.04%

    An out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in tvOS 15.4, iOS 15.4 and iPadOS 15.4. An application may be able to execute arbitrary code with kernel privileges.

  • 9.8 Critical severity

    iOS and iPadOS: Out-of-bounds Write

    CVE-2022-22635AppleEPSS 1.22%

    An out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in tvOS 15.4, iOS 15.4 and iPadOS 15.4. An application may be able to gain elevated privileges.

  • 7.8 High severity

    iOS and iPadOS: Out-of-bounds Write

    CVE-2022-22633AppleEPSS 1.19%

    A memory corruption issue was addressed with improved state management. This issue is fixed in watchOS 8.5, iOS 15.4 and iPadOS 15.4, macOS Big Sur 11.6.5, macOS Monterey 12.3. Opening a maliciously crafted PDF file may lead to an unexpected application termin

  • 7.8 High severity

    macOS: Out-of-bounds Write

    CVE-2022-22631Apple

    An out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in macOS Big Sur 11.6.5, macOS Monterey 12.3, Security Update 2022-003 Catalina. An application may be able to gain elevated privileges.

  • 7.8 High severity

    iOS and iPadOS: Out-of-bounds Write

    CVE-2022-22613AppleEPSS 1.22%

    An out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in tvOS 15.4, iOS 15.4 and iPadOS 15.4, macOS Big Sur 11.6.5, Security Update 2022-003 Catalina, watchOS 8.5, macOS Monterey 12.3. An application may be able to execu

  • 7.8 High severity

    iOS and iPadOS: Out-of-bounds Write

    CVE-2022-22612Apple

    A memory consumption issue was addressed with improved memory handling. This issue is fixed in tvOS 15.4, iOS 15.4 and iPadOS 15.4, iTunes 12.12.3 for Windows, watchOS 8.5, macOS Monterey 12.3. Processing a maliciously crafted image may lead to heap corruption

  • 7.8 High severity

    macOS: Out-of-bounds Write

    CVE-2022-22597AppleEPSS 1.32%

    A memory corruption issue was addressed with improved validation. This issue is fixed in macOS Big Sur 11.6.5, macOS Monterey 12.3, Security Update 2022-003 Catalina. Processing a maliciously crafted file may lead to arbitrary code execution.

  • 7.8 High severity

    iOS and iPadOS: Out-of-bounds Write

    CVE-2022-22596Apple

    A memory corruption issue was addressed with improved validation. This issue is fixed in watchOS 8.5, iOS 15.4 and iPadOS 15.4. An application may be able to execute arbitrary code with kernel privileges.

  • 7.8 High severity

    macOS: Out-of-bounds Write

    CVE-2022-22591AppleEPSS 1.13%

    A memory corruption issue was addressed with improved memory handling. This issue is fixed in macOS Monterey 12.2. A malicious application may be able to execute arbitrary code with kernel privileges.

  • 9.8 Critical severity

    Apple Memory Corruption Exploited

    CVE-2022-22587AppleEPSS 11.6%

    A memory corruption issue was addressed with improved input validation. This issue is fixed in iOS 15.3 and iPadOS 15.3, macOS Big Sur 11.6.3, macOS Monterey 12.2. A malicious application may be able to execute arbitrary code with kernel privileges. Apple is a

  • 9.8 Critical severity

    macOS: Out-of-bounds Write

    CVE-2022-22586AppleEPSS 2%

    An out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in macOS Monterey 12.2. A malicious application may be able to execute arbitrary code with kernel privileges.

  • 7.8 High severity

    iOS and iPadOS: Out-of-bounds Write

    CVE-2022-22584AppleEPSS 1.61%

    A memory corruption issue was addressed with improved validation. This issue is fixed in tvOS 15.3, iOS 15.3 and iPadOS 15.3, watchOS 8.4, macOS Monterey 12.2. Processing a maliciously crafted file may lead to arbitrary code execution.

  • 7.8 High severity

    Ex6100 Firmware: Out-of-bounds Write

    CVE-2022-24655NETGEAREPSS 1.12%

    A stack overflow vulnerability exists in the upnpd service in Netgear EX6100v1 201.0.2.28, CAX80 2.1.2.6, and DC112A 1.0.0.62, which may lead to the execution of arbitrary code without authentication.

  • 7.8 High severity

    KINGSOFT Internet Security 9 Plus: Out-of-bounds Write

    CVE-2022-25949KINGSOFT JAPAN

    The kernel mode driver kwatch3 of KINGSOFT Internet Security 9 Plus Version 2010.06.23.247 fails to properly handle crafted inputs, leading to stack-based buffer overflow.

  • 7.5 High severity

    Stb Truetype.h: Out-of-bounds Write

    CVE-2022-25514NothingsEPSS 1.04%

    stb_truetype.h v1.26 was discovered to contain a heap-buffer-overflow via the function ttUSHORT() at stb_truetype.h. NOTE: Third party has disputed stating that the source code has also a disclaimer that it should only be used with trusted input.

  • 9.8 Critical severity

    Accel-PPP: Out-of-bounds Write

    CVE-2022-0982Https://accel-ppp.org/EPSS 1.23%

    The telnet_input_char function in opt/src/accel-pppd/cli/telnet.c suffers from a memory corruption vulnerability, whereby user input cmdline_len is copied into a fixed buffer b->buf without any bound checks. If the server connects with a malicious client, craf

  • 7.8 High severity

    Google Pixel Out-of-Bounds Write Exploited

    CVE-2021-39793Android

    In kbase_jd_user_buf_pin_pages of mali_kbase_mem.c, there is a possible out of bounds write due to a logic error in the code. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for ex

  • 9.8 Critical severity

    Apache HTTP Server: Out-of-bounds Write

    CVE-2022-23943ApacheEPSS 50.4%

    Out-of-bounds Write vulnerability in mod_sed of Apache HTTP Server allows an attacker to overwrite heap memory with possibly attacker provided data. This issue affects Apache HTTP Server 2.4 version 2.4.52 and prior versions.

  • 9.3 High severity

    After Effects: Out-of-bounds Write

    CVE-2022-24097AdobeEPSS 2.42%

    Adobe After Effects versions 22.2 (and earlier) and 18.4.4 (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

  • 9.3 High severity

    After Effects: Out-of-bounds Write

    CVE-2022-24096AdobeEPSS 3.95%

    Adobe After Effects versions 22.2 (and earlier) and 18.4.4 (and earlier) are affected by an 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 inte

  • 9.3 High severity

    After Effects: Out-of-bounds Write

    CVE-2022-24095AdobeEPSS 3.95%

    Adobe After Effects versions 22.2 (and earlier) and 18.4.4 (and earlier) are affected by a Stack-based Buffer Overflow vulnerability that could result in arbitrary code execution in the context of the current user. Exploitation of this issue requires user inte

  • 7.8 High severity

    After Effects: Out-of-bounds Write

    CVE-2022-24094AdobeEPSS 3.95%

    Adobe After Effects versions 22.2 (and earlier) and 18.4.4 (and earlier) are affected by a Stack-based Buffer Overflow vulnerability that could result in arbitrary code execution in the context of the current user. Exploitation of this issue requires user inte

  • 7.5 High severity

    Ax1806 Firmware: Out-of-bounds Write

    CVE-2022-25566TendaEPSS 1.24%

    Tenda AX1806 v1.0.0.1 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

    Ax12 Firmware: Out-of-bounds Write

    CVE-2022-25561TendaEPSS 1.24%

    Tenda AX12 v22.03.01.21 was discovered to contain a stack overflow in the function sub_42DE00. This vulnerability allows attackers to cause a Denial of Service (DoS) via the list parameter.