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

  • 7.8 High severity

    View: Heap-based Buffer Overflow

    CVE-2022-43655Bentley

    Bentley View FBX File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley View. User interaction is required to exploit this vulnerabi

  • 7.3 High severity

    suricata: Buffer Copy without Checking Size of Input

    CVE-2024-32664OISF

    Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine. Prior to 7.0.5 and 6.0.19, specially crafted traffic or datasets can cause a limited buffer overflow. This vulnerability is fixed in 7.0.5 and

  • 9.8 Critical severity

    wasm3: Heap-based Buffer Overflow

    CVE-2024-34249Wasm3 Project

    wasm3 v0.5.0 was discovered to contain a heap buffer overflow which leads to segmentation fault via the function "DeallocateSlot" in wasm3/source/m3_compile.c.

  • 7.1 High severity

    BlueZ: Heap-based Buffer Overflow

    CVE-2023-51596BlueZEPSS 1.51%

    BlueZ Phone Book Access Profile Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of BlueZ. User interaction is required to exploit this vuln

  • 8.0 High severity

    BlueZ: Heap-based Buffer Overflow

    CVE-2023-50230BlueZEPSS 1.49%

    BlueZ Phone Book Access Profile Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of BlueZ. User interaction is required to exploit this vuln

  • 8.0 High severity

    BlueZ: Heap-based Buffer Overflow

    CVE-2023-50229BlueZEPSS 2.29%

    BlueZ Phone Book Access Profile Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of BlueZ. User interaction is required to exploit this vuln

  • 7.8 High severity

    GIMP: Heap-based Buffer Overflow

    CVE-2023-44442GIMPEPSS 61.2%

    GIMP PSD File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GIMP. User interaction is required to exploit this vulnerability in that the

  • 7.8 High severity

    GIMP: Heap-based Buffer Overflow

    CVE-2023-44441GIMPEPSS 27.3%

    GIMP DDS File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GIMP. User interaction is required to exploit this vulnerability in that the

  • 8.8 High severity

    GStreamer: Out-of-bounds Write

    CVE-2023-44429GStreamerEPSS 1.81%

    GStreamer AV1 Codec Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GStreamer. Interaction with this library is required to exploit this v

  • 7.8 High severity

    MuseScore: Out-of-bounds Write

    CVE-2023-44428MuseScore

    MuseScore CAP File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of MuseScore. User interaction is required to exploit this vulnerability i

  • 8.8 High severity

    DIR-X3260: Out-of-bounds Write

    CVE-2023-44418D-Link

    D-Link DIR-X3260 Prog.cgi Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-X3260 routers. Authentication is not required to ex

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2023-42085PDF-XChange

    PDF-XChange Editor EMF File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit th

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2023-42083PDF-XChange

    PDF-XChange Editor JPG File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit th

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2023-42077PDF-XChange

    PDF-XChange Editor EMF File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit th

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2023-42076PDF-XChange

    PDF-XChange Editor PDF File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit th

  • 7.8 High severity

    Power PDF: Heap-based Buffer Overflow

    CVE-2023-42039Kofax

    Kofax Power PDF PDF File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Kofax Power PDF. User interaction is required to exploit this vul

  • 7.8 High severity

    Power PDF: Heap-based Buffer Overflow

    CVE-2023-42038Kofax

    Kofax Power PDF PDF File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Kofax Power PDF. User interaction is required to exploit this vul

  • 8.8 High severity

    DIR-3040: Out-of-bounds Write

    CVE-2023-41229D-LinkEPSS 1.04%

    D-Link DIR-3040 HTTP Request Processing Referer Heap-Based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-3040 routers. Authentication

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2023-39494PDF-XChange

    PDF-XChange Editor OXPS File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit t

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2023-39492PDF-XChange

    PDF-XChange Editor PDF File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit th

  • 7.8 High severity

    Power PDF: Heap-based Buffer Overflow

    CVE-2023-38090Kofax

    Kofax Power PDF popUpMenu Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Kofax Power PDF. User interaction is required to exploit this vulnerabil

  • 7.8 High severity

    Power PDF: Heap-based Buffer Overflow

    CVE-2023-38080Kofax

    Kofax Power PDF PDF File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Kofax Power PDF. User interaction is required to exploit this vul

  • 7.8 High severity

    Power PDF: Heap-based Buffer Overflow

    CVE-2023-37344Kofax

    Kofax Power PDF BMP File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Kofax Power PDF. User interaction is required to exploit this vul

  • 7.8 High severity

    Power PDF: Heap-based Buffer Overflow

    CVE-2023-37342Kofax

    Kofax Power PDF PNG File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Kofax Power PDF. User interaction is required to exploit this vul

  • 7.8 High severity

    Power PDF: Heap-based Buffer Overflow

    CVE-2023-37335Kofax

    Kofax Power PDF BMP File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Kofax Power PDF. User interaction is required to exploit this vul

  • 8.8 High severity

    GStreamer: Out-of-bounds Write

    CVE-2023-37329GStreamerEPSS 1.64%

    GStreamer SRT File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GStreamer. Interaction with this library is required to exploit this vu

  • 8.8 High severity

    GStreamer: Heap-based Buffer Overflow

    CVE-2023-37328GStreamerEPSS 2.05%

    GStreamer PGS File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GStreamer. Interaction with this library is required to exploit this vu

  • 7.8 High severity

    Cobalt: Heap-based Buffer Overflow

    CVE-2023-35709Ashlar-Vellum

    Ashlar-Vellum Cobalt Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Ashlar-Vellum Cobalt. User interaction is required to exploit this vulnerabil

  • 7.8 High severity

    Cobalt: Heap-based Buffer Overflow

    CVE-2023-34299Ashlar-Vellum

    Ashlar-Vellum Cobalt CO File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Ashlar-Vellum Cobalt. User interaction is required to exploit

  • 7.8 High severity

    Cobalt: Heap-based Buffer Overflow

    CVE-2023-34289Ashlar-Vellum

    Ashlar-Vellum Cobalt Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Ashlar-Vellum Cobalt. User interaction is required to exploit this vulnerabil

  • 7.5 High severity

    Model 3: Out-of-bounds Write

    CVE-2023-32157Tesla

    Tesla Model 3 bsa_server BIP Heap-based Buffer Overflow Arbitrary Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected Tesla Model 3 vehicles. An attacker must first obtain the ability to pair

  • 7.5 High severity

    DAP-1360: Heap-based Buffer Overflow

    CVE-2023-32140D-Link

    D-Link DAP-1360 webproc var:sys_Token Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-1360 routers. Authentication is not req

  • 8.8 High severity

    DAP-1360: Out-of-bounds Write

    CVE-2023-32138D-Link

    D-Link DAP-1360 webproc Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-1360 routers. Authentication is not required to explo

  • 7.5 High severity

    MQ Appliance: Heap-based Buffer Overflow

    CVE-2024-25048IBM

    IBM MQ Appliance 9.3 CD and LTS are vulnerable to a heap-based buffer overflow, caused by improper bounds checking. A remote authenticated attacker could overflow a buffer and execute arbitrary code on the system or cause the server to crash. IBM X-Force ID: 2

  • 7.8 High severity

    ffmpeg: Heap-based Buffer Overflow

    CVE-2023-51794FFmpeg

    Buffer Overflow vulnerability in Ffmpeg v.N113007-g8d24a28d06 allows a local attacker to execute arbitrary code via the libavfilter/af_stereowiden.c:120:69.

  • 8.8 High severity

    QTS: Buffer Copy without Checking Size of Input

    CVE-2023-50364QNAP

    A buffer copy without checking size of input vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow authenticated users to execute code via a network. We have already fixed the vulnerabilit

  • 8.0 High severity

    ffmpeg: Heap-based Buffer Overflow

    CVE-2023-51795FFmpeg

    Buffer Overflow vulnerability in Ffmpeg v.N113007-g8d24a28d06 allows a local attacker to execute arbitrary code via the libavfilter/avf_showspectrum.c:1789:52 component in showspectrumpic_request_frame

  • 8.0 High severity

    ffmpeg: Heap-based Buffer Overflow

    CVE-2023-49501FFmpeg

    Buffer Overflow vulnerability in Ffmpeg v.n6.1-3-g466799d4f5 allows a local attacker to execute arbitrary code via the config_eq_output function in the libavfilter/asrc_afirsrc.c:495:30 component.

  • 9.8 Critical severity

    wazuh: Out-of-bounds Write

    CVE-2024-32038WazuhEPSS 1.05%

    Wazuh is a free and open source platform used for threat prevention, detection, and response. There is a buffer overflow hazard in wazuh-analysisd when handling Unicode characters from Windows Eventchannel messages. It impacts Wazuh Manager 3.8.0 and above. Th

  • 9.8 Critical severity

    Avalanche: Heap-based Buffer Overflow

    CVE-2024-29204IvantiEPSS 4.31%

    A Heap Overflow vulnerability in WLAvalancheService component of Ivanti Avalanche before 6.4.3 allows a remote unauthenticated attacker to execute arbitrary commands