CWE-122: Heap-based Buffer Overflow, published in 2026, page 27
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
- 7.8CVE-2026-68848microsoftEPSS 0.3%
Heap-based buffer overflow in Windows Print Spooler Components allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-68845microsoftEPSS 0.3%
Heap-based buffer overflow in Windows Program Compatibility Assistant Service allows an authorized attacker to elevate privileges locally.
- 7.8CVE-2026-68844microsoftEPSS 0.3%
Heap-based buffer overflow in Windows Storage Spaces Controller allows an authorized attacker to execute code locally.
- 7.8CVE-2026-68841microsoftEPSS 0.3%
Heap-based buffer overflow in Windows NTFS allows an authorized attacker to elevate privileges locally.
- 9.8CVE-2026-68839microsoftEPSS 1.0%
Heap-based buffer overflow in Windows USB Mass Storage Class Driver allows an unauthorized attacker to execute code over a network.
- 6.8CVE-2026-68833microsoftEPSS 0.4%
Heap-based buffer overflow in Windows NTFS allows an unauthorized attacker to execute code with a physical attack.
- 8.8CVE-2026-68828microsoftEPSS 0.8%
Heap-based buffer overflow in Remote Desktop Client allows an unauthorized attacker to execute code over a network.
- 8.0CVE-2026-68827microsoftEPSS 0.8%
Integer underflow (wrap or wraparound) in Windows GDI+ allows an authorized attacker to elevate privileges over a network.
- 7.8CVE-2026-68787microsoftEPSS 0.3%
Heap-based buffer overflow in SQL Server allows an authorized attacker to execute code locally.
- 8.8CVE-2026-68786microsoftEPSS 0.9%
Heap-based buffer overflow in SQL Server allows an authorized attacker to execute code over a network.
- 4.9CVE-2026-68785microsoftEPSS 1.1%
Heap-based buffer overflow in SQL Server allows an authorized attacker to execute code over a network.
- 8.8CVE-2026-68775microsoftEPSS 0.9%
Heap-based buffer overflow in SQL Server allows an authorized attacker to execute code over a network.
- 9.8CVE-2026-67643microsoftEPSS 1.0%
Heap-based buffer overflow in SQL Server allows an unauthorized attacker to execute code over a network.
- 8.8CVE-2026-67642microsoft sql server 2025EPSS 0.9%
Heap-based buffer overflow in SQL Server allows an authorized attacker to execute code over a network.
- 8.8CVE-2026-67639microsoftEPSS 0.9%
Heap-based buffer overflow in SQL Server allows an authorized attacker to execute code over a network.
- 8.8CVE-2026-67638microsoft sql server 2025EPSS 0.9%
Heap-based buffer overflow in SQL Server allows an authorized attacker to execute code over a network.
- 9.8CVE-2026-67631microsoftEPSS 1.0%
Heap-based buffer overflow in SQL Server allows an unauthorized attacker to execute code over a network.
- 8.8CVE-2026-67388microsoftEPSS 0.9%
Heap-based buffer overflow in SQL Server allows an authorized attacker to execute code over a network.
- 8.8CVE-2026-67384microsoftEPSS 0.9%
Integer overflow or wraparound in SQL Server allows an authorized attacker to execute code over a network.
- 8.8CVE-2026-67381microsoftEPSS 0.9%
Heap-based buffer overflow in SQL Server allows an authorized attacker to elevate privileges over a network.
- 8.8CVE-2026-67380microsoftEPSS 0.9%
Heap-based buffer overflow in SQL Server allows an authorized attacker to execute code over a network.
- 8.8CVE-2026-67373microsoft sql server 2025EPSS 0.9%
Heap-based buffer overflow in SQL Server allows an authorized attacker to execute code over a network.
- 7.8CVE-2026-62810microsoftEPSS 0.3%
Heap-based buffer overflow in Active Directory Certificate Services (AD CS) allows an authorized attacker to elevate privileges locally.
- 8.8CVE-2026-62744microsoftEPSS 0.8%
Heap-based buffer overflow in Microsoft Windows Media Foundation allows an unauthorized attacker to execute code over a network.
- 7.8CVE-2026-58600microsoftEPSS 0.5%
Heap-based buffer overflow in Microsoft Windows Codecs Library allows an unauthorized attacker to elevate privileges locally.
- 7.8CVE-2026-58599microsoftEPSS 0.5%
Heap-based buffer overflow in Microsoft Windows Codecs Library allows an unauthorized attacker to execute code locally.
- 7.5CVE-2026-79377EPSS 0.5%
A heap overflow in the a2dp_decoder_sbc.cpp component of Bestechnic Co., Ltd BES2300 Bluetooth Audio SoC firmware v3.x and earlier allows attackers to cause a Denial of Service (DoS) via sending a crafted L2CAP packet.
- 8.7CVE-2026-77102commvaultEPSS 0.5%
CommServe contained a heap-based buffer overflow issue affecting service availability. Software customers upgrade to resolved maintenance release. Update CommServe.
- 8.4CVE-2026-20502mediatekEPSS 0.2%
In vdec, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation. Patch ID: ALP…
- 8.4CVE-2026-20501mediatekEPSS 0.2%
In vdec, there is a possible out of bounds write due to a heap buffer overflow. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation. Patch ID: ALP…
- 7.8CVE-2026-86142xmlsoft libxml2EPSS 0.2%
In libxml2 before 2.15.4, there is a heap-based buffer overflow in xmlXPtrEvalXPtrPart because of xmlXPtrEval xpointer length saturation.
- 8.3CVE-2026-57164teluu pjsipEPSS 0.5%
PJSIP is a free and open source multimedia communication library written in C. Prior to commit 8d5956a, a heap buffer overflow exists in the PJLIB-UTIL HTTP client (http_client.c) when buffering an HTTP response body. This affects applicat…
- 8.8CVE-2026-18341ibm iEPSS 0.4%
IBM i 7.6, 7.5, 7.4, and 7.3 could allow a remote authenticated attacker to corrupt memory due to an integer underflow.
- 7.5CVE-2026-81665EPSS 0.4%
A heap-based buffer overflow was found in Corosync's Totem Process Group (totempg) message reassembly. When processing fragmented multicast messages, the buffer used to reassemble fragments lacks a runtime bounds check in release builds. A…
- 7.8CVE-2026-83959adobe substance 3d samplerEPSS 0.3%
Substance3D - Sampler 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 op…
- 5.1CVE-2026-53720jetperch pymonocypherEPSS 0.2%
pymonocypher uses cython to wrap the Monocypher C library. Prior to version 4.0.2.8, the argon2i_32 implementation does not check the nb_blocks size. If the caller does not provide a sufficiently large buffer based on the API contract, the…
- 9.2CVE-2026-78689f5 nginx javascriptEPSS 0.8%
Description NGINX JavaScript (njs) has a vulnerability in the XML module's namespace prefix list parser, reachable through the xml.exclusiveC14n() method. An unauthenticated remote attacker can trigger it when an affected NGINX configura…
- 6.5CVE-2026-84269gnome gvfsEPSS 0.3%
A flaw was found in the AFP backend in gvfs. When mounting a share, a malicious AFP server can cause the DSI read path to process a length that exceeds the size requested by the client. The function does not verify the server-provided leng…
- 8.8CVE-2026-84268EPSS 0.6%
A flaw was found in the SFTP backend in gvfs. When mounting a share and reading a file, a malicious SFTP server can cause read_reply() to process a length that exceeds the size requested by the client. The function does not verify the serv…
- 8.2CVE-2026-75538erlang otpEPSS 0.7%
An attacker that connects to an open Erlang TCP port that uses the inet driver with {packet,4} mode can use a signed overflow in an incorrect packet length calculation to overflow the receive buffer into the VM allocator area and beyond up…
- 2.1CVE-2026-82820EPSS 0.6%
A vulnerability was found in FLVMeta up to 1.2.2. Affected is the function amf_string_new of the file src/amf.c of the component AMF String Processing. The manipulation of the argument length results in heap-based buffer overflow. The atta…
- 4.8CVE-2026-82591open asset import library assimpEPSS 0.2%
A security vulnerability has been detected in Open Asset Import Library Assimp up to 6.0.2. The impacted element is the function MD5Importer::MakeDataUnique of the file code/AssetLib/MD5/MD5Loader.cpp. The manipulation of the argument iNew…
- 7.1CVE-2026-38821openndsEPSS 0.3%
A heap-based buffer overflow vulnerability exists in openNDS before 11.0.0 that allows an unauthenticated attacker on the captive portal network to crash the openNDS daemon (denial of service) and potentially achieve remote code execution.…
- 9.3CVE-2026-19313watchguard fireware osEPSS 0.7%
An heap overflow vulnerability in the WatchGuard Fireware OS iked process allows a remote unauthenticated attacker to execute arbitrary code by sending specially crafted network traffic.
- 6.9CVE-2026-81851watchguard fireware osEPSS 0.4%
A heap-based buffer overflow vulnerability in Fireware OS's iked process allows an authenticated administrator to crash the IKE daemon (iked), resulting in a denial of service, by saving a specially crafted configuration.
- 7.5CVE-2026-38347EPSS 0.5%
A heap overflow in the ff_sws_alphablendaway function (libswscale/alphablend.c) of FFmpeg git-master commit 722a217 allows attackers to cause a Denial of Service (DoS) via a crafted input.
- 7.8CVE-2026-34674adobe substance 3d painterEPSS 0.3%
Substance3D - Sampler versions 5.1.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 interact…
- 7.8CVE-2026-77652gnome diaEPSS 0.2%
A heap-based buffer overflow vulnerability exists in the Dia diagram editor WPG file format importer. In plug-ins/wpg/wpg-import.c, the WPG import renderer allocates a fixed palette with: ren->pPal = g_new0(WPGColorRGB, 256); When h…
- 9.8CVE-2025-70293EPSS 0.8%
An issue was discovered in Denx U-Boot before 2026.04. An integer overflow vulnerability exists in function ext4fs_get_bgdtable, the size calculation can lead to under allocation and this underallocated buffer will be used in memcpy() whic…
- 8.8CVE-2026-77532ubiquiti inc edgemax edgeswitchEPSS 0.3%
A malicious actor with access to an adjacent network could exploit a Buffer Overflow vulnerability found in a DHCPv6-enabled EdgeMAX EdgeSwitch to initiate a Remote Code Execution on such device.