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: Heap-based Buffer Overflow

    CVE-2025-30317Adobe

    InDesign Desktop versions ID20.2, ID19.5.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 in that a v

  • 8.8 High severity

    Level 2 EV Charger: Heap-based Buffer Overflow

    CVE-2025-5750Wolfbox

    WOLFBOX Level 2 EV Charger tuya_svc_devos_activate_result_parse Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of WOLFBOX Level 2 EV Charg

  • 8.8 High severity

    Era 300: Out-of-bounds Write

    CVE-2025-1051Sonos

    Sonos Era 300 Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected Sonos Era 300 speakers. Authentication is not required to exploit this vulnerability. The s

  • 8.6 High severity

    nekernel: Heap-based Buffer Overflow

    CVE-2025-48990Nekernel-org

    NeKernal is a free and open-source operating system stack. Version 0.0.2 has a 1-byte heap overflow in `rt_copy_memory`, which unconditionally wrote a null terminator at `dst[len]`. When `len` equals the size of the destination buffer (256 bytes), that extra `

  • 9.8 Critical severity

    MT7902, MT7921, MT7922, MT7925, MT7927: Heap-based Buffer Overflow

    CVE-2025-20672MediaTek

    In Bluetooth driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local escalation of privilege with User execution privileges needed. User interaction is not needed for exploitation. Patch ID: WCNCR00412257; Iss

  • 7.3 High severity

    Red Hat Enterprise Linux 7 Extended Lifecycle…: Heap-based Buffer Overflow

    CVE-2025-48797Red Hat

    A flaw was found in GIMP when processing certain TGA image files. If a user opens one of these image files that has been specially crafted by an attacker, GIMP can be tricked into making serious memory errors, potentially leading to crashes and causing a heap

  • 10.0 Critical severity

    UniFi Protect Cameras: Heap-based Buffer Overflow

    CVE-2025-23123UbiquitiEPSS 1.16%

    A malicious actor with access to the management network could execute a remote code execution (RCE) by exploiting a heap buffer overflow vulnerability in the UniFi Protect Cameras (Version 4.75.43 and earlier) firmware.

  • 9.8 Critical severity

    BSON::XS: Heap-based Buffer Overflow

    CVE-2025-40906MongoDB

    BSON::XS versions 0.8.4 and earlier for Perl includes a bundled libbson 1.1.7, which has several vulnerabilities. Those include CVE-2017-14227, CVE-2018-16790, CVE-2023-0437, CVE-2024-6381, CVE-2024-6383, and CVE-2025-0755. BSON-XS was the official Perl XS imp

  • 7.5 High severity

    Semeru Runtime: Out-of-bounds Write

    CVE-2025-2900IBM

    IBM Semeru Runtime 8.0.302.0 through 8.0.442.0, 11.0.12.0 through 11.0.26.0, 17.0.0.0 through 17.0.14.0, and 21.0.0.0 through 12.0.6.0 is vulnerable to a denial of service caused by a buffer overflow and subsequent crash, due to a defect in its native AES/CBC

  • 9.8 Critical severity

    Apache ORC: Heap-based Buffer Overflow

    CVE-2025-47436Apache

    Heap-based Buffer Overflow vulnerability in Apache ORC. A vulnerability has been identified in the ORC C++ LZO decompression logic, where specially crafted malformed ORC files can cause the decompressor to allocate a 250-byte buffer but then attempts to copy 2

  • 7.8 High severity

    Illustrator: Out-of-bounds Write

    CVE-2025-30330Adobe

    Illustrator versions 29.3, 28.7.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 mus

  • 9.8 Critical severity

    PSPP: Out-of-bounds Write

    CVE-2025-47815GNU

    libpspp-core.a in GNU PSPP through 2.0.1 allows attackers to cause a heap-based buffer overflow in inflate_read (called indirectly from zip_member_read_all) in zip-reader.c.

  • 9.8 Critical severity

    PSPP: Out-of-bounds Write

    CVE-2025-47814GNU

    libpspp-core.a in GNU PSPP through 2.0.1 allows attackers to cause a heap-based buffer overflow in inflate_read (called indirectly from spv_read_xml_member) in zip-reader.c.

  • 7.5 High severity

    CL5708IM: Heap-based Buffer Overflow

    CVE-2025-3713AtenEPSS 1.05%

    The LCD KVM over IP Switch CL5708IM has a Heap-based Buffer Overflow vulnerability in firmware versions prior to v2.2.215, allowing unauthenticated remote attackers to exploit this vulnerability to perform a denial-of-service attack.

  • 7.5 High severity

    CL5708IM: Heap-based Buffer Overflow

    CVE-2025-3712AtenEPSS 1.05%

    The LCD KVM over IP Switch CL5708IM has a Heap-based Buffer Overflow vulnerability in firmware versions prior to v2.2.215, allowing unauthenticated remote attackers to exploit this vulnerability to perform a denial-of-service attack.

  • 7.1 High severity

    Connext Professional: Out-of-bounds Write

    CVE-2025-1252RTI

    Heap-based Buffer Overflow vulnerability in RTI Connext Professional (Core Libraries) allows Overflow Variables and Tags. This issue affects Connext Professional: from 7.4.0 before 7.5.0, from 7.0.0 before 7.3.0.7, from 6.1.0 before 6.1.2.23, from 6.0.0 before

  • 9.8 Critical severity

    P-Net: Out-of-bounds Write

    CVE-2025-32401RT-Labs

    An Heap-based Buffer Overflow in RT-Labs P-Net version 1.0.1 or earlier allows an attacker to corrupt the memory of IO devices that use the library by sending a malicious RPC packet.

  • 7.5 High severity

    P-Net: Out-of-bounds Write

    CVE-2025-32400RT-Labs

    An Heap-based Buffer Overflow in RT-Labs P-Net version 1.0.1 or earlier allows an attacker to induce a crash in IO devices that use the library by sending a malicious RPC packet.

  • 7.5 High severity

    P-Net: Out-of-bounds Write

    CVE-2025-32397RT-Labs

    An Heap-based Buffer Overflow in RT-Labs P-Net version 1.0.1 or earlier allows an attacker to induce a crash in IO devices that use the library by sending a malicious RPC packet.

  • 7.5 High severity

    P-Net: Out-of-bounds Write

    CVE-2025-32396RT-Labs

    An Heap-based Buffer Overflow in RT-Labs P-Net version 1.0.1 or earlier allows an attacker to induce a crash in IO devices that use the library by sending a malicious RPC packet.

  • 9.8 Critical severity

    DAP-1520: Out-of-bounds Write

    CVE-2025-4355TendaEPSS 1.25%

    A vulnerability was found in Tenda DAP-1520 1.10B04_BETA02. It has been classified as critical. This affects the function set_ws_action of the file /dws/api/. The manipulation leads to heap-based buffer overflow. It is possible to initiate the attack remotely.

  • 8.8 High severity

    Chrome: Heap-based Buffer Overflow

    CVE-2025-4096Google

    Heap buffer overflow in HTML in Google Chrome prior to 136.0.7103.59 allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page. (Chromium security severity: High)

  • 7.8 High severity

    Model S: Heap-based Buffer Overflow

    CVE-2024-6031Tesla

    Tesla Model S oFono AT Command Heap-based Buffer Overflow Code Execution Vulnerability. This vulnerability allows local attackers to execute arbitrary code on affected Tesla Model S vehicles. An attacker must first obtain the ability to execute code on the tar

  • 7.3 High severity

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

    CVE-2025-46333Vancluever

    z2d is a pure Zig 2D graphics library. Versions of z2d after `0.5.1` and up to and including `0.6.0`, when writing from one surface to another using `z2d.compositor.StrideCompositor.run`, and higher-level operations when the anti-aliasing mode is set to `.defa

  • 8.8 High severity

    Era 300: Heap-based Buffer Overflow

    CVE-2025-1049Sonos

    Sonos Era 300 Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected Sonos Era 300 speakers. Authentication is not required to exploit this vulnerability. The s

  • 7.8 High severity

    KeyShot Viewer: Heap-based Buffer Overflow

    CVE-2025-1045Luxion

    Luxion KeyShot Viewer KSP File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Luxion KeyShot Viewer. User interaction is required to expl

  • 8.8 High severity

    Chrome: Heap-based Buffer Overflow

    CVE-2025-3619Google

    Heap buffer overflow in Codecs in Google Chrome on Windows prior to 135.0.7049.95 allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page. (Chromium security severity: Critical)

  • 7.8 High severity

    Revit: Out-of-bounds Write

    CVE-2025-2497Autodesk

    A maliciously crafted DWG file, when parsed through Autodesk Revit, can cause a Stack-Based Buffer Overflow vulnerability. A malicious actor can leverage this vulnerability to execute arbitrary code in the context of the current process.

  • 7.8 High severity

    Revit: Out-of-bounds Write

    CVE-2025-1656Autodesk

    A maliciously crafted PDF file, when linked or imported into Autodesk applications, 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 context

  • 7.8 High severity

    Revit: Out-of-bounds Write

    CVE-2025-1275Autodesk

    A maliciously crafted JPG file, when linked or imported into certain Autodesk applications, 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

  • 7.8 High severity

    Revit: Out-of-bounds Write

    CVE-2025-1273Autodesk

    A maliciously crafted PDF file, when linked or imported into Autodesk applications, 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 context

  • 9.8 Critical severity

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

    CVE-2025-24797Meshtastic

    Meshtastic is an open source mesh networking solution. A fault in the handling of mesh packets containing invalid protobuf data can result in an attacker-controlled buffer overflow, allowing an attacker to hijack execution flow, potentially resulting in remote

  • 9.8 Critical severity

    sqlite: Integer Overflow or Wraparound

    CVE-2025-3277SQLiteEPSS 1.25%

    An integer overflow can be triggered in SQLite’s `concat_ws()` function. The resulting, truncated integer is then used to allocate a buffer. When SQLite then writes the resulting string to the buffer, it uses the original, untruncated size and thus a wild Heap

  • 7.3 High severity

    giflib: Heap-based Buffer Overflow

    CVE-2025-31344openEuler

    Heap-based Buffer Overflow vulnerability in openEuler giflib on Linux. This vulnerability is associated with program files gif2rgb.C. This issue affects giflib: through 5.2.2.

  • 8.4 High severity

    perl: Out-of-bounds Write

    CVE-2024-56406Perl

    A heap buffer overflow vulnerability was discovered in Perl. Release branches 5.34, 5.36, 5.38 and 5.40 are affected, including development versions from 5.33.1 through 5.41.10. When there are non-ASCII bytes in the left-hand-side of the `tr` operator, `S_do_t

  • 7.5 High severity

    Junos OS: Heap-based Buffer Overflow

    CVE-2025-30644Juniper Networks

    A Heap-based Buffer Overflow vulnerability in the flexible PIC concentrator (FPC) of Juniper Networks Junos OS on EX2300, EX3400, EX4100, EX4300, EX4300MP, EX4400, EX4600, EX4650-48Y, and QFX5k Series allows an attacker to send a specific DHCP packet to the de

  • 7.8 High severity

    Adobe Framemaker: Out-of-bounds Write

    CVE-2025-30299Adobe

    Adobe Framemaker versions 2020.8, 2022.6 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 vic

  • 7.8 High severity

    Adobe Framemaker: Out-of-bounds Write

    CVE-2025-30295Adobe

    Adobe Framemaker versions 2020.8, 2022.6 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 vic

  • 7.8 High severity

    Animate: Heap-based Buffer Overflow

    CVE-2025-27199Adobe

    Animate versions 24.0.7, 23.0.10 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

  • 7.8 High severity

    Photoshop Desktop: Out-of-bounds Write

    CVE-2025-27198Adobe

    Photoshop Desktop versions 25.12.1, 26.4.1 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 v