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

  • 9.8 Critical severity

    macOS: Out-of-bounds Write

    CVE-2022-32863AppleEPSS 1.16%

    A memory corruption issue was addressed with improved state management. This issue is fixed in Safari 15.6, macOS Monterey 12.5. Processing maliciously crafted web content may lead to arbitrary code execution.

  • 8.2 High severity

    Aptio: Out-of-bounds Write

    CVE-2022-40262AMI

    A potential attacker can execute an arbitrary code at the time of the PEI phase and influence the subsequent boot stages. This can lead to the mitigations bypassing, physical memory contents disclosure, discovery of any secrets from any Virtual Machines (VMs)

  • 8.8 High severity

    Aptio: Out-of-bounds Write

    CVE-2022-40250AMI

    An attacker can exploit this vulnerability to elevate privileges from ring 0 to ring -2, execute arbitrary code in System Management Mode - an environment more privileged than operating system (OS) and completely isolated from it. Running arbitrary code in SMM

  • 7.2 High severity

    Aptio: Out-of-bounds Write

    CVE-2022-40246AMI

    A potential attacker can write one byte by arbitrary address at the time of the PEI phase (only during S3 resume boot mode) and influence the subsequent boot stages. This can lead to the mitigations bypassing, physical memory contents disclosure, discovery of

  • 8.2 High severity

    Aptio: Out-of-bounds Write

    CVE-2022-26873AMI

    A potential attacker can execute an arbitrary code at the time of the PEI phase and influence the subsequent boot stages. This can lead to the mitigations bypassing, physical memory contents disclosure, discovery of any secrets from any Virtual Machines (VMs)

  • 7.8 High severity

    Bridge: Out-of-bounds Write

    CVE-2022-35701Adobe

    Adobe Bridge version 12.0.2 (and earlier) and 11.1.3 (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 in th

  • 7.8 High severity

    Bridge: Out-of-bounds Write

    CVE-2022-35700Adobe

    Adobe Bridge version 12.0.2 (and earlier) and 11.1.3 (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 in th

  • 7.8 High severity

    Bridge: Out-of-bounds Write

    CVE-2022-35699Adobe

    Adobe Bridge version 12.0.2 (and earlier) and 11.1.3 (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 in th

  • 9.8 Critical severity

    tensorflow: Out-of-bounds Write

    CVE-2022-35939TensorFlow

    TensorFlow is an open source platform for machine learning. The `ScatterNd` function takes an input argument that determines the indices of of the output tensor. An input index greater than the output tensor or less than zero will either write content at the w

  • 7.8 High severity

    Photoshop: Out-of-bounds Write

    CVE-2022-38433Adobe

    Adobe Photoshop versions 22.5.8 (and earlier) and 23.4.2 (and earlier) are affected by a 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 interac

  • 7.8 High severity

    Photoshop: Out-of-bounds Write

    CVE-2022-38432Adobe

    Adobe Photoshop versions 22.5.8 (and earlier) and 23.4.2 (and earlier) are affected by a 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 interac

  • 7.8 High severity

    InDesign: Out-of-bounds Write

    CVE-2022-38415Adobe

    Adobe InDesign versions 16.4.2 (and earlier) and 17.3 (and earlier) are affected by a 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 interactio

  • 7.8 High severity

    InDesign: Out-of-bounds Write

    CVE-2022-38414Adobe

    Adobe InDesign versions 16.4.2 (and earlier) and 17.3 (and earlier) are affected by a 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 interactio

  • 7.8 High severity

    InDesign: Out-of-bounds Write

    CVE-2022-38413Adobe

    Adobe InDesign versions 16.4.2 (and earlier) and 17.3 (and earlier) are affected by a 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 interactio

  • 7.8 High severity

    InCopy: Out-of-bounds Write

    CVE-2022-38405Adobe

    Adobe InCopy version 17.3 (and earlier) and 16.4.2 (and earlier) are affected by a 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 interaction i

  • 7.8 High severity

    InCopy: Out-of-bounds Write

    CVE-2022-38404Adobe

    Adobe InCopy version 17.3 (and earlier) and 16.4.2 (and earlier) are affected by a 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 interaction i

  • 7.8 High severity

    InCopy: Out-of-bounds Write

    CVE-2022-38401Adobe

    Adobe InCopy version 17.3 (and earlier) and 16.4.2 (and earlier) are affected by a 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 interaction i

  • 7.8 High severity

    Photoshop: Out-of-bounds Write

    CVE-2022-35713Adobe

    Adobe Photoshop versions 22.5.8 (and earlier) and 23.4.2 (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 i

  • 7.8 High severity

    InDesign: Out-of-bounds Write

    CVE-2022-28853Adobe

    Adobe InDesign versions 16.4.2 (and earlier) and 17.3 (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 in t

  • 7.8 High severity

    InDesign: Out-of-bounds Write

    CVE-2022-28852Adobe

    Adobe InDesign versions 16.4.2 (and earlier) and 17.3 (and earlier) are affected by 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 i

  • 7.8 High severity

    Animate: Out-of-bounds Write

    CVE-2022-38411Adobe

    Adobe Animate version 21.0.11 (and earlier) and 22.0.7 (and earlier) are affected by a 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 interacti

  • 7.5 High severity

    Woodstox: Out-of-bounds Write

    CVE-2022-40152XstreamEPSS 18.2%

    Those using Woodstox to parse XML data may be vulnerable to Denial of Service attacks (DOS) if DTD support is enabled. If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow. This effect

  • 7.5 High severity

    xstream: Out-of-bounds Write

    CVE-2022-40151XstreamEPSS 2.37%

    Those using Xstream to seralize XML data may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow. This effect may support a denial of

  • 7.5 High severity

    Jettison: Out-of-bounds Write

    CVE-2022-40149JettisonEPSS 1.79%

    Those using Jettison to parse untrusted XML or JSON data may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow. This effect may sup

  • 7.8 High severity

    NIS-Elements Viewer: Out-of-bounds Write

    CVE-2022-40661NIKON

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of NIKON NIS-Elements Viewer 1.2100.1483.0. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malic

  • 7.8 High severity

    NIS-Elements Viewer: Out-of-bounds Write

    CVE-2022-40660NIKONEPSS 1.21%

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of NIKON NIS-Elements Viewer 1.2100.1483.0. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malic

  • 7.8 High severity

    NIS-Elements Viewer: Out-of-bounds Write

    CVE-2022-40659NIKONEPSS 1.28%

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of NIKON NIS-Elements Viewer 1.2100.1483.0. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malic

  • 7.8 High severity

    NIS-Elements Viewer: Out-of-bounds Write

    CVE-2022-40658NIKON

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of NIKON NIS-Elements Viewer 1.2100.1483.0. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malic

  • 7.8 High severity

    NIS-Elements Viewer: Out-of-bounds Write

    CVE-2022-40657NIKONEPSS 1.28%

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of NIKON NIS-Elements Viewer 1.2100.1483.0. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malic

  • 7.8 High severity

    NIS-Elements Viewer: Out-of-bounds Write

    CVE-2022-40655NIKONEPSS 1.1%

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of NIKON NIS-Elements Viewer 1.2100.1483.0. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malic

  • 7.8 High severity

    SpaceClaim: Out-of-bounds Write

    CVE-2022-40654Ansys

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Ansys SpaceClaim 2022 R1. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The

  • 7.8 High severity

    SpaceClaim: Out-of-bounds Write

    CVE-2022-40653Ansys

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Ansys SpaceClaim 2022 R1. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The

  • 7.8 High severity

    SpaceClaim: Out-of-bounds Write

    CVE-2022-40652Ansys

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Ansys SpaceClaim 2022 R1. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The

  • 7.8 High severity

    SpaceClaim: Out-of-bounds Write

    CVE-2022-40651Ansys

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Ansys SpaceClaim 2022 R1. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The

  • 7.8 High severity

    SpaceClaim: Out-of-bounds Write

    CVE-2022-40650Ansys

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Ansys SpaceClaim 2022 R1. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The

  • 7.8 High severity

    SpaceClaim: Out-of-bounds Write

    CVE-2022-40648Ansys

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Ansys SpaceClaim 2022 R1. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The

  • 7.8 High severity

    SpaceClaim: Out-of-bounds Write

    CVE-2022-40644Ansys

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Ansys SpaceClaim 2022 R1. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The

  • 7.8 High severity

    SpaceClaim: Out-of-bounds Write

    CVE-2022-40641Ansys

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of Ansys SpaceClaim 2022 R1. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The

  • 7.8 High severity

    Mencoder: Out-of-bounds Write

    CVE-2022-38862Mplayerhq

    Certain The MPlayer Project products are vulnerable to Buffer Overflow via function play() of libaf/af.c:639. This affects mplayer SVN-r38374-13.0.1 and mencoder SVN-r38374-13.0.1.

  • 7.8 High severity

    Android: Out-of-bounds Write

    CVE-2022-20364Android

    In sysmmu_unmap of TBD, 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.Product: AndroidVers