CyberSecBulletin

Heap-based Buffer Overflow

CWE-122

The product writes past the end of a buffer that was allocated on the heap.

We track 1,418 vulnerabilities of this type. 100% are rated high or critical, and the average CVSS score is 8.3. 21 have been exploited in real attacks.

How this weakness is prevented

  • Pre-design: Use a language or compiler that performs automatic bounds checking.
  • Architecture and Design: Use an abstraction library to abstract away risky APIs. Not a complete solution.
  • 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.
  • Implementation: Implement and perform bounds checking on input.
  • Implementation: Do not use dangerous functions such as gets. Look for their safe equivalent, which checks for the boundary.

Latest Heap-based Buffer Overflow vulnerabilities

  • 9.8 Critical severity

    pjproject: Out-of-bounds Read

    CVE-2022-23547PjsipEPSS 1.03%

    PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. This issue is similar to GHSA-9pfh-r8x4-w26w. Possible buffer overread when parsing a certa

  • 8.1 High severity

    OpenImageIO: Heap-based Buffer Overflow

    CVE-2022-43602OpenImageIO ProjectEPSS 2.06%

    Multiple code execution vulnerabilities exist in the IFFOutput::close() functionality of OpenImageIO Project OpenImageIO v2.4.4.2. A specially crafted ImageOutput Object can lead to a heap buffer overflow. An attacker can provide malicious input to trigger the

  • 8.1 High severity

    OpenImageIO: Heap-based Buffer Overflow

    CVE-2022-43601OpenImageIO ProjectEPSS 1.8%

    Multiple code execution vulnerabilities exist in the IFFOutput::close() functionality of OpenImageIO Project OpenImageIO v2.4.4.2. A specially crafted ImageOutput Object can lead to a heap buffer overflow. An attacker can provide malicious input to trigger the

  • 8.1 High severity

    OpenImageIO: Heap-based Buffer Overflow

    CVE-2022-43600OpenImageIO ProjectEPSS 1.8%

    Multiple code execution vulnerabilities exist in the IFFOutput::close() functionality of OpenImageIO Project OpenImageIO v2.4.4.2. A specially crafted ImageOutput Object can lead to a heap buffer overflow. An attacker can provide malicious input to trigger the

  • 8.1 High severity

    OpenImageIO: Heap-based Buffer Overflow

    CVE-2022-43599OpenImageIO ProjectEPSS 2.1%

    Multiple code execution vulnerabilities exist in the IFFOutput::close() functionality of OpenImageIO Project OpenImageIO v2.4.4.2. A specially crafted ImageOutput Object can lead to a heap buffer overflow. An attacker can provide malicious input to trigger the

  • 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

  • 8.1 High severity

    OpenImageIO: Heap-based Buffer Overflow

    CVE-2022-43597OpenImageIO ProjectEPSS 1.98%

    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

  • 9.8 Critical severity

    OpenImageIO: Out-of-bounds Write

    CVE-2022-41838OpenImageIO ProjectEPSS 1.94%

    A code execution vulnerability exists in the DDS scanline parsing functionality of OpenImageIO Project OpenImageIO v2.4.4.2. A specially-crafted .dds can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.

  • 9.8 Critical severity

    OpenImageIO: Out-of-bounds Write

    CVE-2022-41794OpenImageIO ProjectEPSS 1.99%

    A heap based buffer overflow vulnerability exists in the PSD thumbnail resource parsing code of OpenImageIO 2.3.19.0. A specially-crafted PSD file can lead to arbitrary code execution. An attacker can provide a malicious file to trigger this vulnerability.

  • 9.8 Critical severity

    OpenImageIO: Out-of-bounds Write

    CVE-2022-41639OpenImageIO ProjectEPSS 1.94%

    A heap based buffer overflow vulnerability exists in tile decoding code of TIFF image parser in OpenImageIO master-branch-9aeece7a and v2.3.19.0. A specially-crafted TIFF file can lead to an out of bounds memory corruption, which can result in arbitrary code e

  • 9.8 Critical severity

    pjproject: Out-of-bounds Read

    CVE-2022-23537PjsipEPSS 1.11%

    PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. Buffer overread is possible when parsing a specially crafted STUN message with unknown attr

  • 8.8 High severity

    Bento4: Heap-based Buffer Overflow

    CVE-2022-4584AxiomaticEPSS 1.09%

    A vulnerability was found in Axiomatic Bento4 up to 1.6.0-639. It has been rated as critical. Affected by this issue is some unknown functionality of the component mp42aac. The manipulation leads to heap-based buffer overflow. The attack may be launched remote

  • 8.6 High severity

    grub2: Heap-based Buffer Overflow

    CVE-2022-2601Grub2

    A buffer overflow was found in grub_font_construct_glyph(). A malicious crafted pf2 font can lead to an overflow when calculating the max_glyph_size value, allocating a smaller than needed buffer for the glyph, this further leads to a buffer overflow and a hea

  • 7.5 High severity

    Trend Micro Apex One: Heap-based Buffer Overflow

    CVE-2022-44654Trend Micro

    Affected builds of Trend Micro Apex One and Apex One as a Service contain a monitor engine component that is complied without the /SAFESEH memory protection mechanism which helps to monitor for malicious payloads. The affected component's memory protection mec

  • 7.8 High severity

    vim/vim: Out-of-bounds Write

    CVE-2022-4141Vim

    Heap based buffer overflow in vim/vim 9.0.0946 and below by allowing an attacker to CTRL-W gf in the expression used in the RHS of the substitute command.

  • 7.5 High severity

    Cisco Firepower Threat Defense Software: Out-of-bounds Write

    CVE-2022-20946CiscoEPSS 1.03%

    A vulnerability in the generic routing encapsulation (GRE) tunnel decapsulation feature of Cisco Firepower Threat Defense (FTD) Software could allow an unauthenticated, remote attacker to cause a denial of service (DoS) condition on an affected device. This vu

  • 7.8 High severity

    Netatalk: Out-of-bounds Write

    CVE-2022-45188Netatalk

    Netatalk through 3.1.13 has an afp_getappl heap-based buffer overflow resulting in code execution via a crafted .appl file. This provides remote root access on some platforms such as FreeBSD (used for TrueNAS).

  • 7.8 High severity

    JT2Go: Out-of-bounds Write

    CVE-2022-39136Siemens

    A vulnerability has been identified in JT2Go (All versions < V14.1.0.4), Teamcenter Visualization V13.2 (All versions < V13.2.0.12), Teamcenter Visualization V13.3 (All versions < V13.3.0.7), Teamcenter Visualization V13.3 (All versions >= V13.3.0.7 < V13.3.0.

  • 7.5 High severity

    OpenBMC: Out-of-bounds Write

    CVE-2022-2809OpenBMC Project

    A vulnerability in bmcweb of OpenBMC Project allows user to cause denial of service. When fuzzing the multipart_parser code using AFL++ with address sanitizer enabled to find smallest memory corruptions possible. It detected problem in how multipart_parser han

  • 7.8 High severity

    JT2Go: Out-of-bounds Write

    CVE-2022-2069Siemens

    The APDFL.dll in Siemens JT2Go prior to V13.3.0.5 and Siemens Teamcenter Visualization prior to V14.0.0.2 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

  • 8.8 High severity

    git: Out-of-bounds Write

    CVE-2022-39260GitEPSS 3.99%

    Git is an open source, scalable, distributed revision control system. `git shell` is a restricted login shell that can be used to implement Git's push/pull functionality via SSH. In versions prior to 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and

  • 9.8 Critical severity

    ColdFusion: Out-of-bounds Write

    CVE-2022-35712AdobeEPSS 37.6%

    Adobe ColdFusion versions Update 14 (and earlier) and Update 4 (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 does not requir

  • 9.8 Critical severity

    ColdFusion: Out-of-bounds Write

    CVE-2022-35711AdobeEPSS 74.1%

    Adobe ColdFusion versions Update 14 (and earlier) and Update 4 (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 does not requir

  • 7.8 High severity

    Solid Edge: Out-of-bounds Write

    CVE-2022-37864Siemens

    A vulnerability has been identified in Solid Edge (All Versions < SE2022MP9). The affected application contains an out of bounds write past the fixed-length heap-based buffer while parsing specially crafted DWG files. This could allow an attacker to execute co

  • 7.8 High severity

    Samsung Mobile Devices: Out-of-bounds Write

    CVE-2022-39852Samsung

    A heap-based overflow vulnerability in makeContactAGIF in libagifencoder.quram.so library prior to SMR Oct-2022 Release 1 allows attacker to perform code execution.

  • 9.8 Critical severity

    ThinManager ThinServer: Out-of-bounds Write

    CVE-2022-38742Rockwell AutomationEPSS 22.7%

    Rockwell Automation ThinManager ThinServer versions 11.0.0 - 13.0.0 is vulnerable to a heap-based buffer overflow. An attacker could send a specifically crafted TFTP or HTTPS request, causing a heap-based buffer overflow that crashes the ThinServer process. If

  • 7.1 High severity

    Uboot: Out-of-bounds Write

    CVE-2022-2347Uboot

    There exists an unchecked length field in UBoot. The U-Boot DFU implementation does not bound the length field in USB DFU download setup packets, and it does not verify that the transfer direction corresponds to the specified command. Consequently, if a physic

  • 7.8 High severity

    FFMPEG: Integer Overflow or Wraparound

    CVE-2022-2566FFmpeg

    A heap out-of-bounds memory write exists in FFMPEG since version 5.1. The size calculation in `build_open_gop_key_points()` goes through all entries in the loop and adds `sc->ctts_data[i].count` to `sc->sample_offsets_count`. This can lead to an integer overfl

  • 7.8 High severity

    Bridge: Heap-based Buffer Overflow

    CVE-2022-35708Adobe

    Adobe Bridge version 12.0.2 (and earlier) and 11.1.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 interaction

  • 7.8 High severity

    Bridge: Heap-based Buffer Overflow

    CVE-2022-35706Adobe

    Adobe Bridge version 12.0.2 (and earlier) and 11.1.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 interaction

  • 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

    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.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