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

  • 8.8 High severity

    Chrome: Heap-based Buffer Overflow

    CVE-2026-118345Google

    Buffer overflow in PDFium in Google Chrome prior to 156.0.8078.73 allowed a remote attacker to execute arbitrary code inside the sandbox via a crafted PDF file. (Chromium security severity: High)

  • 9.3 Critical severity

    Chrome: Heap-based Buffer Overflow

    CVE-2026-118333Google

    Buffer overflow in Video in Google Chrome prior to 156.0.8078.73 allowed a remote attacker to execute arbitrary code inside the sandbox via a crafted HTML page. (Chromium security severity: High)

  • 7.7 High severity

    asterisk: Heap-based Buffer Overflow

    CVE-2026-57197Asterisk

    Asterisk is an open source private branch exchange and telephony toolkit. Prior to Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 20.7-cert11, 22.8-cert3, an unbounded `memcpy` of `OGG/Speex` packet data in `format_ogg_speex` can cause a hea

  • 9.2 Critical severity

    Fireware OS: Heap-based Buffer Overflow

    CVE-2026-112710WatchGuard

    A heap-based buffer overflow vulnerability exists in the Fireware OS authentication service allows an attacker who controls or intercepts traffic to the configured Active Directory server to create a denial of service condition and potentially execute arbitrar

  • 9.2 Critical severity

    Fireware OS: Heap-based Buffer Overflow

    CVE-2026-112709WatchGuard

    A heap-based buffer overflow vulnerability in the Fireware OS authentication service allows an attacker who controls or intercepts traffic to the configured Active Directory server to create a denial of service condition and potentially execute arbitrary code

  • 9.4 Critical severity

    JP1/Integrated Management 3 - Manager: Heap-based Buffer Overflow

    CVE-2026-86576Hitachi

    Heap-based Buffer Overflow Vulnerability in JP1 Products. This issue affects JP1/Integrated Management 3 - Manager: from 13-00 before 13-50-31; JP1/Automatic Job Management System 3 - Manager: from 13-00 before 13-50-31; JP1/Automatic Job Management System 3 -

  • 9.8 Critical severity

    HiRDB Server Version 10: Heap-based Buffer Overflow

    CVE-2026-82120Hitachi

    Heap-based Buffer Overflow Vulnerability in HiRDB. This issue affects HiRDB Server Version 10: from 10-00 before 10-12-01; HiRDB Server Version 9: from 09-00 through 09-66-22; HiRDB Server with Additional Function Version 9: from 09-00 through 09-66/V; HiRDB S

  • 9.8 Critical severity

    JP1/Automatic Job Management System 3 - Manager: Heap-based Buffer Overflow

    CVE-2026-76939Hitachi

    Heap-based Buffer Overflow Vulnerability in JP1/Automatic Job Management System 3. This issue affects JP1/Automatic Job Management System 3 - Manager: from 11-00 before 13-50-31; JP1/Automatic Job Management System 3 - Agent: from 11-00 before 13-50-31.

  • 9.4 Critical severity

    JP1/Automatic Job Management System 3 - Manager: Heap-based Buffer Overflow

    CVE-2026-76937Hitachi

    Heap-based Buffer Overflow Vulnerability in JP1/Automatic Job Management System 3. This issue affects JP1/Automatic Job Management System 3 - Manager: from 10-00 before 13-50-31.

  • 9.4 Critical severity

    JP1/Automatic Job Management System 3 - Manager: Heap-based Buffer Overflow

    CVE-2026-76933Hitachi

    Heap-based Buffer Overflow Vulnerability in JP1/Automatic Job Management System 3. This issue affects JP1/Automatic Job Management System 3 - Manager: from 11-00 before 13-50-31; JP1/Automatic Job Management System 3 - Agent: from 11-00 before 13-50-31.

  • 8.8 High severity

    airMAX M: Heap-based Buffer Overflow

    CVE-2026-116837Ubiquiti

    A malicious actor with access to the adjacent network could exploit a Heap-based Buffer Overflow vulnerability found in airMAX M, LTU, SolarPoint, and SolarSwitch devices to execute arbitrary code on the device.

  • 7.5 High severity

    iOS and iPadOS: Heap-based Buffer Overflow

    CVE-2026-112638Apple

    A heap buffer overflow was addressed with improved bounds checking. This issue is fixed in iOS 26.7.2 and iPadOS 26.7.2, iOS 27.2 and iPadOS 27.2, macOS Golden Gate 27.2, macOS Sequoia 15.8.2, macOS Tahoe 26.7.2, tvOS 27.2, visionOS 27.2, watchOS 27.2. An atta

  • 8.8 High severity

    NoMachine: Heap-based Buffer Overflow

    CVE-2026-92208NoMachine

    NoMachine mDNS Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of NoMachine. Authentication is not required to exploit this vulnerability.

  • 9.8 Critical severity

    GStreamer: Heap-based Buffer Overflow

    CVE-2026-111183GStreamer

    GStreamer rtpL16depay 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 vulnera

  • 8.9 High severity

    sharp: Heap-based Buffer Overflow

    CVE-2026-114112Lovell

    Sharp before 0.35.4 bundles a vulnerable libheif dependency that allows attackers to achieve possible remote code execution on glibc-based Linux by supplying crafted images. Attackers can submit malicious AVIF/HEIF input to applications processing untrusted im

  • 8.8 High severity

    FreeRDP: Heap-based Buffer Overflow

    CVE-2026-114045FreeRDP

    FreeRDP before 3.32.1 contains a heap-based buffer overflow in the server-side rdpsnd channel because an integer wraparound in rdpsnd_server_select_format() DVI_ADPCM block-alignment arithmetic bypasses validation. A malicious RDP client can send two SNDC_FORM

  • 8.8 High severity

    Chrome: Heap-based Buffer Overflow

    CVE-2026-113334Google

    Buffer overflow in ANGLE in Google Chrome on on Windows prior to 156.0.8078.47 allowed a remote attacker to execute arbitrary code outside the sandbox via a crafted HTML page. (Chromium security severity: High)

  • 8.8 High severity

    Chrome: Heap-based Buffer Overflow

    CVE-2026-113273Google

    Buffer overflow in ANGLE in Google Chrome prior to 156.0.8078.47 allowed a remote attacker to potentially execute arbitrary code outside the sandbox via a crafted HTML page. (Chromium security severity: High)

  • 8.8 High severity

    Chrome: Heap-based Buffer Overflow

    CVE-2026-113163Google

    Buffer overflow in WebGL in Google Chrome on on Android prior to 156.0.8078.47 allowed a remote attacker to potentially execute arbitrary code outside the sandbox via a crafted HTML page. (Chromium security severity: High)

  • 9.1 Critical severity

    Totolink: Heap-based Buffer Overflow

    CVE-2026-10136TOTOLINK

    A heap-based buffer overflow vulnerability exists in the boa formUpload() functionality of X2000R (version(s): TOTOLINK-X2000R-Gh-V1.0.0-B20250421.1327). A specially crafted HTTP request can lead to arbitrary code execution. An attacker can make an authenticat

  • 7.1 High severity

    Raptor RDF Syntax Library: Heap-based Buffer Overflow

    CVE-2025-71436Librdf

    Raptor RDF Syntax Library from 2.0.15 through 2.0.16 contains a heap-based buffer overflow vulnerability in raptor_new_term_from_counted_literal() caused by truncating language tag length to an unsigned char. Attackers can supply Turtle, TriG, N-Triples or N-Q

  • 9.8 Critical severity

    Pillow: Heap-based Buffer Overflow

    CVE-2026-112403Python-pillow

    Pillow is a Python imaging library. Prior to 13.0.0, Pillow's JPEG decoder can write a full-width scanline into a buffer sized for a requested draft scale. ImagingJpegDecode does not verify libjpeg's actual output width and component count after scaling is req

  • 9.8 Critical severity

    Pillow: Heap-based Buffer Overflow

    CVE-2026-112398Python-pillow

    Pillow is a Python imaging library. Prior to 13.0.0, Pillow's FlashPix JPEG-tile decoder can write decoded scanlines beyond the allocated tile buffer. FlashPix (FPX) JPEG decoding selects raw mode LA with two bytes per pixel, while an unrecognized JPEG mode ca

  • 8.2 High severity

    Pillow: Heap-based Buffer Overflow

    CVE-2026-112395Python-pillow

    Pillow is a Python imaging library. From 8.2.0 until 13.0.0, Pillow's tiled-TIFF decoder can read past the tile buffer while copying four-byte pixels. In _decodeTile, libtiff can return a tile allocation smaller than the required row stride multiplied by the t

  • 9.8 Critical severity

    Pillow: Heap-based Buffer Overflow

    CVE-2026-112393Python-pillowEPSS 1.02%

    Pillow is a Python imaging library. From 2.0.0 until 13.0.0, Pillow has a heap buffer overflow and stale-heap disclosure in _tiffWriteProc when saving compressed TIFF data through libtiff to a target without a usable fileno(), such as BytesIO. The callback siz

  • 8.8 High severity

    MQ Operator: Heap-based Buffer Overflow

    CVE-2026-10574IBM

    IBM MQ could allow an authenticated attacker to cause a denial of service or potentially execute arbitrary code due to a heap buffer overflow when processing MQPUT or MQPUT1 operations with malformed message handle properties.

  • 8.8 High severity

    MQ Operator: Heap-based Buffer Overflow

    CVE-2026-10572IBM

    IBM MQ could allow an authenticated attacker to cause a denial of service or potentially execute arbitrary code due to a heap buffer overflow when processing MQPUT operations with malformed message options.

  • 8.1 High severity

    openGauss-server: Heap-based Buffer Overflow

    CVE-2026-111441openGauss-server

    在 openGauss-server 的 src/gausskernel/cbb/utils/hll/hll.cpp 中,内置函数 HllObjectUnpack() 存在长度校验缺陷。该函数从用户提供的 packed HLL 解析 lenUsed 与 lenTotal 后,仅检查输入长度足以覆盖 HLL_HEAD_SIZE + lenUsed,随后按 lenTotal 分配缓冲区、按 lenUsed 调用 memcpy_s() 拷贝输入,既未校验 lenTotal >= lenUsed,也将 memcpy_s()

  • 7.5 High severity

    snac2: Heap-based Buffer Overflow

    CVE-2026-112021Grunfink

    snac2 before 2.93 contains a heap-based buffer overflow vulnerability in _xs_json_load_lexer() that allows unauthenticated remote attackers to corrupt heap memory by sending JSON strings containing a \u0000 escape. Attackers can send a single crafted applicati

  • 7.3 High severity

    FreeRDP: Heap-based Buffer Overflow

    CVE-2026-111381FreeRDP

    FreeRDP before 3.32.0 contains a heap buffer overflow vulnerability in persistent_cache_read_entry_v2 that allows local attackers to corrupt heap memory via integer wraparound in bitmap size calculation. Attackers can craft a persistent cache v2 file with over

  • 7.3 High severity

    FreeRDP: Heap-based Buffer Overflow

    CVE-2026-111379FreeRDP

    FreeRDP before 3.32.0 contains a heap buffer overflow vulnerability in persistent_cache_read_entry_v3 that allows local attackers to corrupt memory by supplying a crafted v3 persistent cache file. Attackers can set large width and height values that wrap the s

  • 7.8 High severity

    bincookie: Heap-based Buffer Overflow

    CVE-2026-55246Tatsh

    bincookie is a header-only binarycookies parser. Prior to 0.1.9, bincookie_init_file() in bincookie.h allocates a buffer using the actual .binarycookies file length but trusts the file-controlled num_pages field as the loop bound for byte-swapping page_sizes e

  • 10.0 Critical severity

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

    CVE-2026-110958WAVLINKEPSS 1.02%

    A vulnerability was found in Wavlink WN530HG4B M30HG4B_V260724. The impacted element is an unknown function of the file api.cgi. The manipulation results in heap-based buffer overflow. It is possible to launch the attack remotely. The exploit has been made pub

  • 9.1 Critical severity

    FreeBSD: Heap-based Buffer Overflow

    CVE-2026-101307FreeBSD

    When the PCM sample array needs to grow, the RACK stack doubles a 16-bit allocation counter. Repeated doublings caused the counter to wrap to zero, resulting in a near-zero-length allocation followed by a copy of the existing samples into the undersized buffer

  • 7.1 High severity

    FreeRDP: Heap-based Buffer Overflow

    CVE-2026-110837FreeRDP

    FreeRDP 2.0.0 before 3.32.0, when built with WITH_LAME=ON and WITH_DSP_FFMPEG=OFF, has a heap-based buffer overflow in freerdp_dsp_decode_mp3 because the right-channel PCM pointer is offset by a byte count treated as short elements. A malicious RDP server can

  • 8.8 High severity

    mongoose: Heap-based Buffer Overflow

    CVE-2026-63626Cesanta

    Mongoose is an embedded web server and network library. Prior to 7.23, ppp_handle_ipv6cp() in src/l2_ppp.c trusts the 16-bit IPv6CP len field without checking it against the received payload size. On a PPP or PPPoE link using MG_ENABLE_TCPIP and MG_ENABLE_IPV6

  • 8.8 High severity

    Junos OS: Heap-based Buffer Overflow

    CVE-2026-103994Juniper Networks

    A Heap-based Buffer Overflow vulnerability in the VXLAN Gateway Daemon (vgd) of Juniper Networks Junos OS allows a malicious or compromised SDN-controller to cause a complete outage of the OVSDB control plane and possibly remote code execution.

  • 9.8 Critical severity

    Junos OS: Heap-based Buffer Overflow

    CVE-2026-102175Juniper Networks

    A Heap-based Buffer Overflow vulnerability in the sdxd service-deployment daemon of Juniper Networks Junos OS and Junos OS Evolved allows a remote unauthenticated attacker who can control or intercept the configured SDX/SRC server connection to execute code as

  • 8.8 High severity

    Junos OS: Heap-based Buffer Overflow

    CVE-2026-102015Juniper Networks

    A Heap-based Buffer Overflow vulnerability in the secure-dot1xd process of Juniper Networks on Junos OS and Junos OS Evolved allows an unauthenticated adjacent network attacker to execute code as root or cause a denial of service via an EAPOL frame sent to an

  • 9.8 Critical severity

    Junos OS: Heap-based Buffer Overflow

    CVE-2026-101950Juniper Networks

    A Heap-based Buffer Overflow vulnerability in the SVR component of Juniper Networks Junos OS on SRX Series allows an unauthenticated network attacker to cause a denial of service and potentially compromise confidentiality and integrity via malformed IPv4 packe