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

    InDesign Desktop: Out-of-bounds Write

    CVE-2026-21304Adobe

    InDesign Desktop versions 21.0, 19.5.5 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 in that a victi

  • 7.8 High severity

    Bridge: Out-of-bounds Write

    CVE-2026-21283Adobe

    Bridge versions 15.1.2, 16.0 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 in that a victim must ope

  • 7.8 High severity

    InCopy: Out-of-bounds Write

    CVE-2026-21281Adobe

    InCopy versions 21.0, 19.5.5 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 in that a victim must ope

  • 7.8 High severity

    InDesign Desktop: Out-of-bounds Write

    CVE-2026-21277Adobe

    InDesign Desktop versions 21.0, 19.5.5 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 in that a victi

  • 9.8 Critical severity

    Fortinet Multiple Products Heap-based Buffer Overflow Exploited

    CVE-2025-25249FortinetEPSS 3.74%

    A heap-based buffer overflow vulnerability in Fortinet FortiOS 7.6.0 through 7.6.3, FortiOS 7.4.0 through 7.4.8, FortiOS 7.2.0 through 7.2.11, FortiOS 7.0.0 through 7.0.17, FortiOS 6.4 all versions, FortiSwitchManager 7.2.0 through 7.2.6, FortiSwitchManager 7.

  • 7.8 High severity

    Linux: Heap-based Buffer Overflow

    CVE-2025-68795Linux

    In the Linux kernel, the following vulnerability has been resolved: ethtool: Avoid overflowing userspace buffer on stats query The ethtool -S command operates across three ioctl calls: ETHTOOL_GSSET_INFO for the size, ETHTOOL_GSTRINGS for the names, and ETHTOO

  • 8.8 High severity

    quickjs: Out-of-bounds Write

    CVE-2026-0822Quickjs-ng

    A vulnerability was identified in quickjs-ng quickjs up to 0.11.0. This issue affects the function js_typed_array_sort of the file quickjs.c. The manipulation leads to heap-based buffer overflow. Remote exploitation of the attack is possible. The exploit is pu

  • 9.8 Critical severity

    quickjs: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2026-0821Quickjs-ng

    A vulnerability was determined in quickjs-ng quickjs up to 0.11.0. This vulnerability affects the function js_typed_array_constructor of the file quickjs.c. Executing a manipulation can lead to heap-based buffer overflow. The attack may be launched remotely. T

  • 7.5 High severity

    CryptoLib: Heap-based Buffer Overflow

    CVE-2026-22697Nasa

    CryptoLib provides a software-only solution using the CCSDS Space Data Link Security Protocol - Extended Procedures (SDLS-EP) to secure communications between a spacecraft running the core Flight System (cFS) and a ground station. Prior to version 1.4.3, Crypt

  • 8.8 High severity

    iccDEV provides a set of libraries and tools that allow for the interaction, manipulation, and…

    CVE-2026-21682InternationalColorConsortium

    iccDEV provides a set of libraries and tools that allow for the interaction, manipulation, and application of International Color Consortium (ICC) color management profiles. Versions prior to 2.3.1.2 have a heap-buffer-overflow in `CIccXmlArrayType::ParseText(

  • 7.8 High severity

    iccDEV: Out-of-bounds Write

    CVE-2026-21678InternationalColorConsortium

    iccDEV provides a set of libraries and tools that allow for the interaction, manipulation, and application of ICC color management profiles. Prior to version 2.3.1.2, iccDEV is vulnerable to heap-buffer-overflow vulnerability in IccTagXml(). This issue has bee

  • 7.8 High severity

    iccDEV: Out-of-bounds Write

    CVE-2026-21504InternationalColorConsortium

    iccDEV provides a set of libraries and tools that allow for the interaction, manipulation, and application of ICC color management profiles. Prior to version 2.3.1.2, iccDEV is vulnerable to heap buffer overflow in the ToneMap parser. This issue has been patch

  • 7.1 High severity

    iccDEV: Heap-based Buffer Overflow

    CVE-2026-21494InternationalColorConsortium

    iccDEV provides a set of libraries and tools that allow for the interaction, manipulation, and application of International Color Consortium (ICC) color management profiles. A vulnerability present in versions prior to 2.3.1.2 affects users of the iccDEV libra

  • 7.1 High severity

    iccDEV: Heap-based Buffer Overflow

    CVE-2026-21491InternationalColorConsortium

    iccDEV provides a set of libraries and tools that allow for the interaction, manipulation, and application of International Color Consortium (ICC) color management profiles. A vulnerability present in versions prior to 2.3.1.2 affects users of the iccDEV libra

  • 7.1 High severity

    iccDEV: Heap-based Buffer Overflow

    CVE-2026-21490InternationalColorConsortium

    iccDEV provides a set of libraries and tools that allow for the interaction, manipulation, and application of International Color Consortium (ICC) color management profiles. A vulnerability present in versions prior to 2.3.1.2 affects users of the iccDEV libra

  • 7.1 High severity

    iccDEV: Heap-based Buffer Overflow

    CVE-2026-21488InternationalColorConsortium

    iccDEV provides a set of libraries and tools for working with ICC color management profiles. Versions 2.3.1.1 and below are vulnerable to Out-of-bounds Read, Heap-based Buffer Overflow and Improper Null Termination through its CIccTagText::Read function. This

  • 8.8 High severity

    iccDEV: Heap-based Buffer Overflow

    CVE-2026-21676InternationalColorConsortium

    iccDEV provides a set of libraries and tools for working with ICC color management profiles. Versions 2.3.1 and below have a Heap-based Buffer Overflow in its CIccMBB::Validate function which checks tag data validity. This issue is fixed in version 2.3.1.1.

  • 7.8 High severity

    iccDEV: Heap-based Buffer Overflow

    CVE-2026-21486InternationalColorConsortium

    iccDEV provides a set of libraries and tools for working with ICC color management profiles. Versions 2.3.1.1 and below contain Use After Free, Heap-based Buffer Overflow and Integer Overflow or Wraparound and Out-of-bounds Write vulnerabilities in its CIccSpa

  • 7.5 High severity

    Red Hat Enterprise Linux 10: Heap-based Buffer Overflow

    CVE-2025-67268Red Hat

    gpsd before commit dc966aa contains a heap-based out-of-bounds write vulnerability in the drivers/driver_nmea2000.c file. The hnd_129540 function, which handles NMEA2000 PGN 129540 (GNSS Satellites in View) packets, fails to validate the user-supplied satellit

  • 7.8 High severity

    FontForge: Heap-based Buffer Overflow

    CVE-2025-15279FontForge

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

  • 7.8 High severity

    FontForge: Heap-based Buffer Overflow

    CVE-2025-15277FontForge

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

  • 8.8 High severity

    FontForge: Heap-based Buffer Overflow

    CVE-2025-15275FontForge

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

  • 8.8 High severity

    FontForge: Heap-based Buffer Overflow

    CVE-2025-15274FontForge

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

  • 8.8 High severity

    FontForge: Heap-based Buffer Overflow

    CVE-2025-15272FontForge

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

  • 9.8 Critical severity

    snap7-rs: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-15247Gmg137

    A vulnerability was identified in gmg137 snap7-rs up to 153d3e8c16decd7271e2a5b2e3da4d6f68589424. Affected by this issue is the function snap7_rs::client::S7Client::download of the file client.rs. Such manipulation leads to heap-based buffer overflow. The atta

  • 8.8 High severity

    M3: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-15234TendaEPSS 2.88%

    A weakness has been identified in Tenda M3 1.0.0.13(4903). Impacted is the function formSetRemoteInternetLanInfo of the file /goform/setInternetLanInfo. This manipulation of the argument portIp/portMask/portGateWay/portDns/portSecDns causes heap-based buffer o

  • 8.8 High severity

    M3: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-15233Tenda

    A security flaw has been discovered in Tenda M3 1.0.0.13(4903). This issue affects the function formSetAdInfoDetails of the file /goform/setAdInfoDetail. The manipulation of the argument adName/smsPassword/smsAccount/weixinAccount/weixinName/smsSignature/adRed

  • 8.8 High severity

    M3: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-15230Tenda

    A vulnerability was found in Tenda M3 1.0.0.13(4903). Affected by this issue is the function formSetVlanPolicy of the file /goform/setVlanPolicyData. Performing a manipulation of the argument qvlan_truck_port results in heap-based buffer overflow. Remote explo

  • 7.5 High severity

    Binutils: Heap-based Buffer Overflow

    CVE-2025-66862GNU

    A buffer overflow vulnerability in function gnu_special in file cplus-dem.c in BinUtils 2.26 allows attackers to cause a denial of service via crafted PE file.

  • 7.8 High severity

    GIMP: Heap-based Buffer Overflow

    CVE-2025-14425GIMP

    GIMP JP2 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

    OpenEXR: Heap-based Buffer Overflow

    CVE-2025-12840Academy Software Foundation

    Academy Software Foundation OpenEXR EXR File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Academy Software Foundation OpenEXR. User int

  • 7.8 High severity

    OpenEXR: Heap-based Buffer Overflow

    CVE-2025-12839Academy Software Foundation

    Academy Software Foundation OpenEXR EXR File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Academy Software Foundation OpenEXR. User int

  • 7.8 High severity

    OpenEXR: Heap-based Buffer Overflow

    CVE-2025-12495Academy Software Foundation

    Academy Software Foundation OpenEXR EXR File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Academy Software Foundation OpenEXR. User int

  • 7.8 High severity

    NetCDF-C: Out-of-bounds Write

    CVE-2025-14935NSF Unidata

    NSF Unidata NetCDF-C Dimension Name Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of NSF Unidata NetCDF-C. User interaction is required to exploit

  • 7.8 High severity

    sokol: Out-of-bounds Write

    CVE-2025-14958Floooh

    A security flaw has been discovered in floooh sokol up to 33e2271c431bf21de001e972f72da17a984da932. This vulnerability affects the function _sg_pipeline_common_init in the library sokol_gfx.h. Performing manipulation results in heap-based buffer overflow. The

  • 7.1 High severity

    Binaryen: Out-of-bounds Read

    CVE-2025-14956WebAssembly

    A vulnerability was determined in WebAssembly Binaryen up to 125. Affected by this issue is the function WasmBinaryReader::readExport of the file src/wasm/wasm-binary.cpp. This manipulation causes heap-based buffer overflow. It is possible to launch the attack

  • 7.8 High severity

    capstone: Heap-based Buffer Overflow

    CVE-2025-67873Capstone-engine

    Capstone is a disassembly framework. In versions 6.0.0-Alpha5 and prior, Skipdata length is not bounds-checked, so a user-provided skipdata callback can make cs_disasm/cs_disasm_iter memcpy more than 24 bytes into cs_insn.bytes, causing a heap buffer overflow

  • 7.8 High severity

    Shared Components: Out-of-bounds Write

    CVE-2025-9457Autodesk

    A maliciously crafted PRT file, when parsed through certain Autodesk products, can force a Memory corruption vulnerability. A malicious actor can leverage this vulnerability to execute arbitrary code in the context of the current process.

  • 7.8 High severity

    Shared Components: Heap-based Buffer Overflow

    CVE-2025-10881Autodesk

    A maliciously crafted CATPRODUCT file, when parsed through certain Autodesk products, can force a Heap-Based Overflow vulnerability. A malicious actor can leverage this vulnerability to cause a crash, read sensitive data, or execute arbitrary code in the conte

  • 9.8 Critical severity

    snap7-rs: Improper Restriction of Operations within the Bounds of a Memory Buffer

    CVE-2025-14673Gmg137

    A vulnerability has been found in gmg137 snap7-rs up to 1.142.1. Affected is the function snap7_rs::client::S7Client::as_ct_write of the file /tests/snap7-rs/src/client.rs. The manipulation leads to heap-based buffer overflow. The attack can be initiated remot