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.1 High severity

    C-Kermit: Heap-based Buffer Overflow

    CVE-2026-129126OpenKermit

    C-Kermit before 11.1.515 contains a heap buffer overflow vulnerability in putsrv() in ckcfns.c that allows malicious peers to write past the srvcmd buffer by sending crafted packets. Attackers can use Kermit repeat-count compression in server command, GET, or

  • 7.8 High severity

    xwayland: Heap-based Buffer Overflow

    CVE-2026-109091X.Org

    A buffer overflow in handling EDID Display-Range descriptors in X.Org xwayland before 24.1.15 and X Server before 21.1.26 could be used by malicious monitors to crash the x server or execute cote.

  • 8.8 High severity

    PostgreSQL: Heap-based Buffer Overflow

    CVE-2026-120149PostgreSQL

    Heap-based buffer overflow in PostgreSQL foreign batch inserts allows a foreign server to execute arbitrary code, via reporting that it inserted more rows than the server supplied. postgres_fdw can legitimately encounter this when a rule on the remote table ex

  • 8.8 High severity

    PostgreSQL: Heap-based Buffer Overflow

    CVE-2026-116317PostgreSQL

    Heap-based buffer overflow in PostgreSQL ts_rank_cd() may allow a database user to execute arbitrary code as the operating system user running the database, via an invalid tsvector containing duplicate positions. Versions before PostgreSQL 18.7, 17.12, 16.16,

  • 8.8 High severity

    PostgreSQL: Heap-based Buffer Overflow

    CVE-2026-116315PostgreSQL

    Heap-based buffer overflow in PostgreSQL tsvector_delete() allows a database user to execute arbitrary code as the operating system user running the database, via a tsvector whose lexeme data uses a nonstandard but valid ordering that requires additional align

  • 7.8 High severity

    Cobalt: Heap-based Buffer Overflow

    CVE-2026-121752Ashlar-Vellum

    Ashlar-Vellum Cobalt LI 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-2026-121743Ashlar-Vellum

    Ashlar-Vellum Cobalt AR 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

    Origin Viewer: Heap-based Buffer Overflow

    CVE-2026-114569OriginLab

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

  • 7.8 High severity

    Origin Viewer: Heap-based Buffer Overflow

    CVE-2026-114568OriginLab

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

  • 7.8 High severity

    libilbm: Heap-based Buffer Overflow

    CVE-2025-10935Libilbm

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

  • 9.6 Critical severity

    Chrome: Heap-based Buffer Overflow

    CVE-2026-126912Google

    Buffer overflow in Skia in Google Chrome prior to 157.0.8103.78 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-126888Google

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

  • 7.2 High severity

    FortiManager: Heap-based Buffer Overflow

    CVE-2026-126212Fortinet

    A heap-based buffer overflow vulnerability in Fortinet FortiAnalyzer 8.0.0 through 8.0.1, FortiAnalyzer 7.6.0 through 7.6.7, FortiAnalyzer 7.4.0 through 7.4.11, FortiAnalyzer Cloud 8.0.0 through 8.0.1, FortiAnalyzer Cloud 7.6.0 through 7.6.7, FortiAnalyzer Clo

  • 7.2 High severity

    FortiManager: Heap-based Buffer Overflow

    CVE-2026-126178Fortinet

    A heap-based buffer overflow vulnerability in Fortinet FortiAnalyzer 8.0.0 through 8.0.1, FortiAnalyzer 7.6.0 through 7.6.7, FortiAnalyzer 7.4.0 through 7.4.11, FortiAnalyzer 7.2.0 through 7.2.12, FortiAnalyzer Cloud 8.0.0 through 8.0.1, FortiAnalyzer Cloud 7.

  • 7.8 High severity

    After Effects: Heap-based Buffer Overflow

    CVE-2026-123263Adobe

    After Effects is 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 open a malicious file.

  • 7.8 High severity

    Photoshop: Heap-based Buffer Overflow

    CVE-2026-116480Adobe

    Photoshop Desktop is 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 open a malicious file.

  • 7.8 High severity

    Photoshop: Heap-based Buffer Overflow

    CVE-2026-113575Adobe

    Photoshop Desktop is 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 open a malicious file.

  • 7.8 High severity

    Android: Heap-based Buffer Overflow

    CVE-2026-59594Google

    In spm_alloc of encoder, there is a possible Heap Buffer Overflow due to a heap buffer overflow. This could lead to local escalation of privilege with execution privileges needed. User interaction is for exploitation.

  • 7.8 High severity

    Android: Heap-based Buffer Overflow

    CVE-2026-59593Google

    In tile_info of av1_decoder, there is a possible Heap Buffer Overflow due to a heap buffer overflow. This could lead to local escalation of privilege with execution privileges needed. User interaction is for exploitation.

  • 8.8 High severity

    Android: Heap-based Buffer Overflow

    CVE-2026-58787Google

    In chppWifiRangingEventNotification of clients/wifi.c, there is a possible Heap Buffer Overflow due to a logic error in the code. This could lead to remote (proximal/adjacent) escalation of privilege with execution privileges needed. User interaction is for ex

  • 9.8 Critical severity

    Android: Heap-based Buffer Overflow

    CVE-2026-58722Google

    In chppProcessDiscoverAllResponse of system/chre/chpp/clients/discovery.c, there is a possible Heap Buffer Overflow due to a logic error in the code. This could lead to remote escalation of privilege with no additional execution privileges needed. User interac

  • 7.4 High severity

    QNX Software Development Platform: Heap-based Buffer Overflow

    CVE-2026-54436BlackBerry

    Heap-based Buffer Overflow in the io-char library's DCMD_CHR_WAITINFO devctl() handler could allow an attacker with local access to cause data tampering, arbitrary code execution, or a crash in the Character I/O device driver.

  • 8.4 High severity

    QNX Software Development Platform: Heap-based Buffer Overflow

    CVE-2026-40275BlackBerry

    Heap-based Buffer Overflow in the DCMD_PROC_EVENT handler of the procnto could allow an attacker with local access to cause an information disclosure, data tampering or a crash of the QNX Neutrino kernel.

  • 8.8 High severity

    Windows 10 Version 1607: Heap-based Buffer Overflow

    CVE-2026-125136Microsoft

    Heap-based buffer overflow in Windows Network Connected Devices Auto-Setup Service allows an unauthorized attacker to execute code over an adjacent network.

  • 7.0 High severity

    Windows 10 Version 1809: Heap-based Buffer Overflow

    CVE-2026-113751Microsoft

    Concurrent execution using shared resource with improper synchronization ('race condition') in Windows Fast FAT Driver allows an authorized attacker to elevate privileges locally.

  • 7.8 High severity

    Windows 10 Version 1607: Heap-based Buffer Overflow

    CVE-2026-105507Microsoft

    An elevation of privilege vulnerability exists in the Windows Installer when the Windows Installer fails to properly sanitize input leading to an insecure library loading behavior. A locally authenticated attacker could run arbitrary code with elevated system

  • 7.5 High severity

    Git: Heap-based Buffer Overflow

    CVE-2026-105437Git

    Affected versions of Git have a heap buffer overflow in the three-way merge code (xdiff), which an attacker can trigger through a repository they control. When Git merges a file, it first adds up the size of the merged output, allocates a buffer of that size,

  • 8.5 High severity

    Intel(R) PROSet Wireless Wi-Fi Software for…: Heap-based Buffer Overflow

    Heap-based buffer overflow for some Intel(R) PROSet Wireless Wi-Fi Software for Windows within Ring 0: Kernel may allow a denial of service. Network adversary with an unauthenticated user combined with a low complexity attack may enable denial of service. This

  • 8.3 High severity

    Chrome: Heap-based Buffer Overflow

    CVE-2026-125343Google

    Buffer overflow in Compositing in Google Chrome prior to 157.0.8103.50 allowed a remote attacker who had compromised the renderer process to execute arbitrary code outside the sandbox via a crafted HTML page. (Chromium security severity: High)

  • 7.8 High severity

    apitrace: Heap-based Buffer Overflow

    CVE-2026-126050Apitrace

    apitrace 2.0 through 14.0 contains a heap-based buffer overflow in SnappyFile::flushReadCache() that allows attackers to write past m_compressedCache via an oversized compressed chunk length. Attackers can supply a crafted .trace file whose 4-byte chunk length

  • 7.0 High severity

    Hitachi Dynamic Link Manager for Linux: Heap-based Buffer Overflow

    CVE-2026-91760Hitachi

    Heap-based Buffer Overflow Vulnerability in Hitachi Dynamic Link Manager for Linux. This issue affects Hitachi Dynamic Link Manager for Linux: from 7.5.0-00 before 9.0.5-00.

  • 10.0 Critical severity

    SAP Web Dispatcher: Heap-based Buffer Overflow

    CVE-2026-89126SAP

    SAP Web Dispatcher does not sufficiently validate certain network input processed by an internal component. An unauthenticated attacker could send specially crafted network traffic to trigger a memory corruption condition in the affected functionality. Success

  • 8.1 High severity

    ettercap: Heap-based Buffer Overflow

    CVE-2026-125401Ettercap

    Ettercap through 0.8.4.1 contains a heap buffer overflow vulnerability in gg_get_version() in src/dissectors/ec_gg.c that writes up to 44 bytes into a 30-byte allocation. Remote attackers can send Gadu-Gadu traffic on TCP port 8074 with a crafted version field

  • 7.0 High severity

    FFmpeg: Heap-based Buffer Overflow

    CVE-2026-125260FFmpeg

    FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in libavcodec/exrenc.c that allows attackers to corrupt heap memory when encode_scanline_rle() processes frames taller than the encoder height. Attackers can supply crafted input whose resoluti

  • 7.8 High severity

    FFmpeg: Heap-based Buffer Overflow

    CVE-2026-125250FFmpeg

    FFmpeg through 9.0.2 contains a heap buffer overflow in the GIF encoder's gif_image_write_image() in libavcodec/gif.c because shrunk_buf is sized from the first frame's linesize. Attackers can supply PAL8 video whose frame linesize grows mid-stream, causing re

  • 7.0 High severity

    FFmpeg: Heap-based Buffer Overflow

    CVE-2026-125235FFmpeg

    FFmpeg through 9.0.2 contains a heap overflow vulnerability in libavcodec/qsvenc.c that allows attackers to corrupt memory by reusing an undersized pooled QSVFrame buffer when input dimensions increase. Attackers can supply crafted input whose resolution grows

  • 7.0 High severity

    FFmpeg: Heap-based Buffer Overflow

    CVE-2026-125218FFmpeg

    FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in the APNG encoder's encode_apng() function in libavcodec/pngenc.c when frame size changes mid-stream. Attackers can supply crafted media whose resolution grows mid-stream, causing APNG_DISPOS

  • 7.0 High severity

    FFmpeg: Heap-based Buffer Overflow

    CVE-2026-125214FFmpeg

    FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in pcm_bluray_decode_frame() in libavcodec/pcm-bluray.c on big-endian hosts. Attackers can supply a crafted Blu-ray (M2TS) LPCM stream whose payload length is not a multiple of the sample size,

  • 7.0 High severity

    FFmpeg: Heap-based Buffer Overflow

    CVE-2026-125212FFmpeg

    FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in libavcodec/videotoolboxenc.c that copies frames larger than encoder dimensions into undersized CVPixelBuffers. Attackers can supply crafted input whose resolution grows mid-stream, transcode

  • 7.0 High severity

    FFmpeg: Heap-based Buffer Overflow

    CVE-2026-125204FFmpeg

    FFmpeg through 9.0.2 contains a heap buffer overflow in ff_libwebp_get_frame() in libwebpenc_common.c that lets attackers corrupt memory when cr_threshold is set. Attackers can supply crafted media that increases resolution mid-stream, causing memcpy() to writ