CWE-122: Heap-based Buffer Overflow, page 76
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-2022-26092google androidEPSS 0.1%
Improper boundary check in Quram Agif library prior to SMR Apr-2022 Release 1 allows arbitrary code execution.
- 9.8CVE-2022-1286mrubyEPSS 1.2%
heap-buffer-overflow in mrb_vm_exec in mruby/mruby in GitHub repository mruby/mruby prior to 3.2. Possible arbitrary code execution if being exploited.
- 9.8CVE-2022-1253struktur libde265EPSS 2.1%
Heap-based Buffer Overflow in GitHub repository strukturag/libde265 prior to and including 1.0.8. The fix is established in commit 8e89fe0e175d2870c39486fdd09250b230ec10b8 but does not yet belong to an official release.
- 7.8CVE-2022-1240radare radare2EPSS 0.7%
Heap buffer overflow in libr/bin/format/mach0/mach0.c in GitHub repository radareorg/radare2 prior to 5.8.6. If address sanitizer is disabled during the compiling, the program should executes into the `r_str_ncpy` function. Therefore I thi…
- 5.5CVE-2022-1244radare radare2EPSS 0.8%
heap-buffer-overflow in GitHub repository radareorg/radare2 prior to 5.6.8. This vulnerability is capable of inducing denial of service.
- 7.5CVE-2022-24795yajl-ruby project yajl-rubyEPSS 3.4%
yajl-ruby is a C binding to the YAJL JSON parsing and generation library. The 1.x branch and the 2.x branch of `yajl` contain an integer overflow which leads to subsequent heap memory corruption when dealing with large (~2GB) inputs. The r…
- 7.8CVE-2022-1160EPSS 1.3%
heap buffer overflow in get_one_sourceline in GitHub repository vim/vim prior to 8.2.4647.
- 5.5CVE-2022-1052radare radare2EPSS 0.4%
Heap Buffer Overflow in iterate_chained_fixups in GitHub repository radareorg/radare2 prior to 5.6.6.
- 7.5CVE-2022-1061radare radare2EPSS 0.9%
Heap Buffer Overflow in parseDragons in GitHub repository radareorg/radare2 prior to 5.6.8.
- 9.8CVE-2021-23165htmldoc project htmldocEPSS 3.5%
A flaw was found in htmldoc before v1.9.12. Heap buffer overflow in pspdf_prepare_outpages(), in ps-pdf.cxx may lead to execute arbitrary code and denial of service.
- 8.8CVE-2021-43305EPSS 1.7%
Heap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malicious query. There is no verification that the copy operations in the LZ4::decompressImpl loop and especially the arbitrary copy operation wildCopy<copy_amount>(…
- 8.8CVE-2021-43304EPSS 1.7%
Heap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malicious query. There is no verification that the copy operations in the LZ4::decompressImpl loop and especially the arbitrary copy operation wildCopy<copy_amount>(…
- 7.8CVE-2022-0943EPSS 0.7%
Heap-based Buffer Overflow occurs in vim in GitHub repository vim/vim prior to 8.2.4563.
- 7.8CVE-2022-24096adobe after effectsEPSS 3.9%
Adobe After Effects versions 22.2 (and earlier) and 18.4.4 (and earlier) are affected by an Heap-based Buffer Overflow vulnerability that could result in arbitrary code execution in the context of the current user. Exploitation of this iss…
- 5.9CVE-2021-42018siemens ruggedcom rosEPSS 1.0%
A vulnerability has been identified in RUGGEDCOM i800, RUGGEDCOM i800NC, RUGGEDCOM i801, RUGGEDCOM i801NC, RUGGEDCOM i802, RUGGEDCOM i802NC, RUGGEDCOM i803, RUGGEDCOM i803NC, RUGGEDCOM M2100, RUGGEDCOM M2100F, RUGGEDCOM M2100NC, RUGGEDCOM …
- 5.5CVE-2022-0714EPSS 13%
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.4436.
- 7.1CVE-2022-0713EPSS 1.0%
Heap-based Buffer Overflow in GitHub repository radareorg/radare2 prior to 5.6.4.
- 7.8CVE-2022-0676EPSS 1.2%
Heap-based Buffer Overflow in GitHub repository radareorg/radare2 prior to 5.6.4.
- 7.8CVE-2022-24052EPSS 0.7%
MariaDB CONNECT Storage Engine Heap-based Buffer Overflow Privilege Escalation Vulnerability. This vulnerability allows local attackers to escalate privileges on affected installations of MariaDB. Authentication is required to exploit this…
- 7.8CVE-2021-46653bentleyEPSS 2.1%
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley View 10.15.0.75. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a …
- 7.8CVE-2021-46648bentleyEPSS 2.1%
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley MicroStation CONNECT 10.16.0.80. User interaction is required to exploit this vulnerability in that the target must visit a malicious…
- 7.8CVE-2021-46647bentleyEPSS 2.1%
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley MicroStation CONNECT 10.16.0.80. User interaction is required to exploit this vulnerability in that the target must visit a malicious…
- 7.8CVE-2021-46606bentleyEPSS 2.0%
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley MicroStation CONNECT 10.16.0.80. User interaction is required to exploit this vulnerability in that the target must visit a malicious…
- 7.8CVE-2021-46605bentleyEPSS 2.1%
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley MicroStation CONNECT 10.16.0.80. User interaction is required to exploit this vulnerability in that the target must visit a malicious…
- 7.8CVE-2021-46603bentleyEPSS 2.1%
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley MicroStation CONNECT 10.16.0.80. User interaction is required to exploit this vulnerability in that the target must visit a malicious…
- 7.8CVE-2021-46577bentleyEPSS 2.0%
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley MicroStation CONNECT 10.16.0.80. User interaction is required to exploit this vulnerability in that the target must visit a malicious…
- 9.8CVE-2022-0631mrubyEPSS 0.9%
Heap-based Buffer Overflow in Homebrew mruby prior to 3.2.
- 7.8CVE-2021-21958hancom office 2020EPSS 1.1%
A heap-based buffer overflow vulnerability exists in the Hword HwordApp.dll functionality of Hancom Office 2020 11.0.0.2353. A specially-crafted malformed file can lead to memory corruption and potential arbitrary code execution. An attack…
- 7.8CVE-2022-0572EPSS 26%
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
- 9.8CVE-2022-0570mrubyEPSS 1.2%
Heap-based Buffer Overflow in Homebrew mruby prior to 3.2.
- 7.8CVE-2021-44000siemensEPSS 1.8%
A vulnerability has been identified in JT2Go (All versions < V13.2.0.7), Solid Edge SE2021 (All versions < SE2021MP9), Solid Edge SE2022 (All versions < SE2022MP1), Teamcenter Visualization V13.1 (All versions < V13.1.0.9), Teamcenter Visu…
- 7.1CVE-2022-0518EPSS 1.0%
Heap-based Buffer Overflow in GitHub repository radareorg/radare2 prior to 5.6.2.
- 6.8CVE-2021-3861zephyrproject zephyrEPSS 0.5%
The RNDIS USB device class includes a buffer overflow vulnerability. Zephyr versions >= v2.6.0 contain Heap-based Buffer Overflow (CWE-122). For more information, see https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-hv…
- 8.8CVE-2021-3835zephyrproject zephyrEPSS 0.7%
Buffer overflow in usb device class. Zephyr versions >= v2.6.0 contain Heap-based Buffer Overflow (CWE-122). For more information, see https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-fm6v-8625-99jf
- 8.1CVE-2021-21962sealevel seaconnect 370w firmwareEPSS 2.0%
A heap-based buffer overflow vulnerability exists in the OTA Update u-download functionality of Sealevel Systems, Inc. SeaConnect 370W v1.3.34. A series of specially-crafted MQTT payloads can lead to remote code execution. An attacker must…
- 7.8CVE-2022-0417EPSS 1.5%
Heap-based Buffer Overflow GitHub repository vim/vim prior to 8.2.
- 7.8CVE-2022-0407vimEPSS 1.2%
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
- 7.8CVE-2022-0392EPSS 1.6%
Heap-based Buffer Overflow in GitHub repository vim prior to 8.2.
- 7.8CVE-2022-0361EPSS 1.7%
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
- 7.8CVE-2022-0359EPSS 1.4%
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
- 9.8CVE-2022-0318EPSS 2.2%
Heap-based Buffer Overflow in vim/vim prior to 8.2.
- 7.8CVE-2022-0261EPSS 1.8%
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
- 7.8CVE-2021-44709adobeEPSS 28%
Acrobat Reader DC version 21.007.20099 (and earlier), 20.004.30017 (and earlier) and 17.011.30204 (and earlier) are affected by a heap overflow vulnerability due to insecure handling of a crafted file, potentially resulting in arbitrary co…
- 7.8CVE-2021-44708adobeEPSS 38%
Acrobat Reader DC version 21.007.20099 (and earlier), 20.004.30017 (and earlier) and 17.011.30204 (and earlier) are affected by a heap overflow vulnerability due to insecure handling of a crafted file, potentially resulting in arbitrary co…
- 7.8CVE-2021-23157we-con levistudiouEPSS 7.6%
WECON LeviStudioU Versions 2019-09-21 and prior are vulnerable to a heap-based buffer overflow, which may allow an attacker to remotely execute code.
- 6.6CVE-2022-0213EPSS 1.3%
vim is vulnerable to Heap-based Buffer Overflow
- 7.8CVE-2021-34945bentleyEPSS 2.1%
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley View 10.15.0.75. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a …
- 7.8CVE-2021-34938bentleyEPSS 2.0%
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley View 10.15.0.75. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a …
- 7.8CVE-2021-34907bentleyEPSS 2.2%
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley View 10.15.0.75. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a …
- 7.8CVE-2021-34905bentleyEPSS 2.2%
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley View 10.15.0.75. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a …