CWE-122: Heap-based Buffer Overflow, published in 2026, page 31
Filter
The product writes past the end of a buffer that was allocated on the heap.
What the weakness is: CWE-122 at MITRE. All weaknesses
Related attack patterns (CAPEC): 1
- CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High
The attack patterns MITRE's CAPEC relates to CWE-122, as MITRE names them. Credits.
Ask an AI about CWE-122
Show the prompt
Explain CWE-122: Heap-based Buffer Overflow and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/122.html and https://cve.bz/cve/cwe/122?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
By year: all 2026 2025 2024 2023 2022 2021
- 8.1CVE-2026-62781microsoftEPSS 0.7%
Heap-based buffer overflow in RPC Runtime allows an unauthorized attacker to execute code over a network.
- 7.8CVE-2026-62772microsoft windows 11 26h1EPSS 0.3%
Heap-based buffer overflow in Windows Container Isolation FS Filter Driver (unionfs.sys) allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-62771microsoftEPSS 0.3%
Heap-based buffer overflow in Windows Cloud Files Mini Filter Driver allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-62770microsoftEPSS 0.3%
Heap-based buffer overflow in Windows Shell allows an authorized attacker to elevate privileges locally.
- 6.7CVE-2026-62769microsoftEPSS 0.3%
Numeric truncation error in Windows DNS allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-62758microsoftEPSS 0.3%
Heap-based buffer overflow in Windows Remote Access Connection Manager allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-62754microsoftEPSS 0.3%
Heap-based buffer overflow in Windows Kerberos allows an authorized attacker to elevate privileges locally.
- 7.0CVE-2026-62753microsoftEPSS 0.3%
Heap-based buffer overflow in Windows HTTP.sys allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-62752microsoftEPSS 0.3%
Heap-based buffer overflow in Windows Kerberos allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-62747microsoftEPSS 0.3%
Heap-based buffer overflow in Windows Device Association Service allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-62741microsoftEPSS 0.3%
Integer underflow (wrap or wraparound) in Windows HTTP.sys allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-62739microsoftEPSS 0.3%
Heap-based buffer overflow in Windows HTTP.sys allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-62736microsoftEPSS 0.3%
Heap-based buffer overflow in Windows DHCP Client allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-62735microsoftEPSS 0.9%
Heap-based buffer overflow in Windows HTTP.sys allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-62732microsoftEPSS 0.3%
Heap-based buffer overflow in Windows Telephony Service allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-62722microsoftEPSS 0.3%
Heap-based buffer overflow in Windows Brokering File System allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-62719microsoftEPSS 0.3%
Heap-based buffer overflow in Windows Message Queuing allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-62717microsoftEPSS 0.3%
Heap-based buffer overflow in Windows Message Queuing allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-62713microsoftEPSS 0.3%
Heap-based buffer overflow in Windows Cloud Files Mini Filter Driver allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-62712microsoftEPSS 0.3%
Heap-based buffer overflow in Windows Win32K allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-62710microsoftEPSS 0.3%
Heap-based buffer overflow in Windows Device Association Service allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-62700microsoftEPSS 0.3%
Heap-based buffer overflow in Windows NTFS allows an authorized attacker to elevate privileges locally.
- 6.8CVE-2026-62699microsoftEPSS 0.4%
Null pointer dereference in Windows Universal Disk Format File System Driver (UDFS) allows an authorized attacker to execute code locally.
- 7.8CVE-2026-62695microsoftEPSS 0.3%
Heap-based buffer overflow in Windows Storage allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-62692microsoftEPSS 0.3%
Heap-based buffer overflow in Windows Remote Desktop Services allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-62688microsoftEPSS 0.3%
Heap-based buffer overflow in Windows MIDI Service Module allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-61937microsoftEPSS 0.3%
Integer overflow or wraparound in Windows HTTP.sys allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-61932microsoftEPSS 0.3%
Access of resource using incompatible type ('type confusion') in Windows DWM Core Library allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-61930microsoftEPSS 0.3%
Heap-based buffer overflow in Windows Kernel allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-61926microsoftEPSS 0.3%
Heap-based buffer overflow in Windows USB Driver allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-61923microsoftEPSS 0.3%
Heap-based buffer overflow in Windows Display Enhancement Service allows an authorized attacker to elevate privileges locally.
- 5.5CVE-2026-61368microsoftEPSS 0.4%
Heap-based buffer overflow in Windows Hyper-V allows an authorized attacker to disclose information locally.
- 8.1CVE-2026-61363microsoftEPSS 0.7%
Heap-based buffer overflow in Remote Desktop Client allows an unauthorized attacker to execute code over a network.
- 7.8CVE-2026-61359microsoftEPSS 0.3%
Heap-based buffer overflow in Windows Storage allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-61355microsoftEPSS 0.3%
Heap-based buffer overflow in Windows Sensor Data Service allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-61353microsoftEPSS 0.3%
Heap-based buffer overflow in Windows Telephony Service allows an authorized attacker to elevate privileges locally.
- 8.1CVE-2026-59134microsoftEPSS 0.7%
Heap-based buffer overflow in Remote Desktop Client allows an unauthorized attacker to execute code over a network.
- 7.8CVE-2026-58651microsoftEPSS 0.5%
Heap-based buffer overflow in Microsoft Office Word allows an unauthorized attacker to execute code locally.
- 7.8CVE-2026-54984microsoftEPSS 0.5%
Heap-based buffer overflow in Windows Imaging Component allows an unauthorized attacker to execute code locally.
- 7.0CVE-2026-50472microsoftEPSS 0.3%
Heap-based buffer overflow in Windows LUAFV allows an authorized attacker to elevate privileges locally.
- 8.1CVE-2026-48440adobe coldfusionEPSS 1.3%
ColdFusion is affected by a Heap-based Buffer Overflow vulnerability that could result in arbitrary code execution in the context of the current user. Exploit depends on conditions beyond the attacker's control. Exploitation of this issue …
- 6.9CVE-2026-21399intel open vklEPSS 0.1%
Heap-based buffer overflow for the Intel(R) Open Volume Kernel Library (Intel(R) Open VKL) library maintained by intel(R) before version 2.0.2 within Ring 3: User Applications may allow a denial of service. System software adversary with a…
- 8.5CVE-2026-73072vimEPSS 0.1%
Vim is an open source, command line text editor. Prior to 9.2.0846, set_sofo() in src/spellfile.c reuses sl_sal_first[] without resetting values left by set_sal_first(), so a crafted spell file containing an SN_SAL section before an SN_SOF…
- 7.1CVE-2026-68293linuxEPSS 0.2%
In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Fix MCIA register buffer overflow on 32 dword reads The MCIA register can return up to 32 dwords (128 bytes) when the device advertises the mcia_32dwords capab…
- 4.8CVE-2026-18370EPSS 0.2%
entr is vulnerable to Heap-based buffer overflow in run_utility() function. The function allocates a fixed-size heap buffer using malloc(ARG_MAX) and copies command-line arguments into it. It advances the destination pointer based on the r…
- 1.9CVE-2026-19259mz automation libiec61850EPSS 0.2%
A vulnerability has been found in MZ Automation libiec61850 up to 1.6.1. The affected element is the function MmsMapping_varAccessSpecToObjectReference of the file src/iec61850/common/iec61850_common.c of the component MMS Protocol Workflo…
- 7.1CVE-2026-18497sean barrett (nothings) nothings stbEPSS 0.2%
A heap-buffer-overflow vulnerability exists in the nothings stb TrueType library, up to version 1.26, that is used for parsing TrueType font files. The vulnerability exists in the stbtt__GetGlyphShapeTT() function within the nothings stb_t…
- 1.9CVE-2026-19206mz automation libiec61850EPSS 0.2%
A security flaw has been discovered in MZ Automation libiec61850 up to 1.6.1. This affects the function SVReceiver_stopThreadless of the file src/sampled_values/sv_subscriber.c of the component ASDU Element Handler. Performing a manipulati…
- 6.2CVE-2026-18938EPSS 0.1%
A flaw was found in p11-kit. A local attacker, or one with equivalent access to a reachable RPC channel, could exploit an integer overflow vulnerability. By sending specially crafted messages, the attacker can cause the system to miscalcul…
- 8.5CVE-2026-70638ggml llama.cppEPSS 0.2%
llama.cpp builds b1886 through b7445 contain an integer overflow vulnerability in the LLaMA-Android JNI wrapper where the new_1batch() function multiplies sizeof(llama_seq_id) by an attacker-controlled n_seq_max parameter without overflow …