cve.bz

CWE-122: Heap-based Buffer Overflow, published in 2022, page 3

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 promptExplain 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

  1. 9.8CVE-2022-31003EPSS 4.1%

    Sofia-SIP is an open-source Session Initiation Protocol (SIP) User-Agent library. Prior to version 1.13.8, when parsing each line of a sdp message, `rest = record + 2` will access the memory behind `\0` and cause an out-of-bounds write. An…

  2. 7.8CVE-2022-1942EPSS 1.6%

    Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.

  3. 7.8CVE-2022-1886EPSS 1.4%

    Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.

  4. 5.5CVE-2022-29210google tensorflowEPSS 0.2%

    TensorFlow is an open source platform for machine learning. In version 2.8.0, the `TensorKey` hash function used total estimated `AllocatedBytes()`, which (a) is an estimate per tensor, and (b) is a very poor hash function for constants (e…

  5. 7.8CVE-2022-1733EPSS 0.6%

    Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.4968.

  6. 7.8CVE-2022-28234adobeEPSS 5.3%

    Acrobat Reader DC versions 22.001.20085 (and earlier), 20.005.3031x (and earlier) and 17.012.30205 (and earlier) is affected by a heap-based buffer overflow vulnerability due to insecure handling of a crafted .pdf file, potentially resulti…

  7. 7.8CVE-2022-1621EPSS 2.4%

    Heap buffer overflow in vim_strncpy find_word in GitHub repository vim/vim prior to 8.2.4919. This vulnerability is capable of crashing software, Bypass Protection Mechanism, Modify Memory, and possible remote execution

  8. 7.8CVE-2022-1619EPSS 2.6%

    Heap-based Buffer Overflow in function cmdline_erase_chars in GitHub repository vim/vim prior to 8.2.4899. This vulnerabilities are capable of crashing software, modify memory, and possible remote execution

  9. 9.8CVE-2021-38439gurum gurumddsEPSS 2.8%

    All versions of GurumDDS are vulnerable to heap-based buffer overflow, which may cause a denial-of-service condition or remotely execute arbitrary code.

  10. 7.1CVE-2022-20737cisco adaptive security appliance softwareEPSS 1.3%

    A vulnerability in the handler for HTTP authentication for resources accessed through the Clientless SSL VPN portal of Cisco Adaptive Security Appliance (ASA) Software could allow an authenticated, remote attacker to cause a denial of serv…

  11. 7.1CVE-2022-1437radare radare2EPSS 0.8%

    Heap-based Buffer Overflow in GitHub repository radareorg/radare2 prior to 5.7.0. The bug causes the program reads data past the end of the intented buffer. Typically, this can allow attackers to read sensitive information from other memor…

  12. 6.1CVE-2022-1383radare radare2EPSS 0.8%

    Heap-based Buffer Overflow in GitHub repository radareorg/radare2 prior to 5.6.8. The bug causes the program reads data past the end of the intented buffer. Typically, this can allow attackers to read sensitive information from other memor…

  13. 7.8CVE-2022-1381EPSS 3.1%

    global heap buffer overflow in skip_range in GitHub repository vim/vim prior to 8.2.4763. This vulnerability is capable of crashing software, Bypass Protection Mechanism, Modify Memory, and possible remote execution

  14. 8.8CVE-2021-40426sound exchange project sound exchangeEPSS 2.1%

    A heap-based buffer overflow vulnerability exists in the sphere.c start_read() functionality of Sound Exchange libsox 14.4.2 and master commit 42b3557e. A specially-crafted file can lead to a heap buffer overflow. An attacker can provide a…

  15. 7.8CVE-2021-21948EPSS 0.8%

    A heap-based buffer overflow vulnerability exists in the readDatHeadVec functionality of AnyCubic Chitubox AnyCubic Plugin 1.0.0. A specially-crafted GF file can lead to a heap buffer overflow. An attacker can provide a malicious file to t…

  16. 8.8CVE-2021-21947accusoft imagegearEPSS 1.1%

    Two heap-based buffer overflow vulnerabilities exists in the JPEG-JFIF lossless Huffman image parser functionality of Accusoft ImageGear 19.10. A specially-crafted file can lead to a heap buffer overflow. An attacker can provide a maliciou…

  17. 8.8CVE-2021-21946accusoft imagegearEPSS 1.1%

    Two heap-based buffer overflow vulnerabilities exists in the JPEG-JFIF lossless Huffman image parser functionality of Accusoft ImageGear 19.10. A specially-crafted file can lead to a heap buffer overflow. An attacker can provide a maliciou…

  18. 8.8CVE-2021-21945accusoft imagegearEPSS 1.1%

    Two heap-based buffer overflow vulnerabilities exist in the TIFF parser functionality of Accusoft ImageGear 19.10. A specially-crafted file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger these vulne…

  19. 8.8CVE-2021-21944accusoft imagegearEPSS 1.1%

    Two heap-based buffer overflow vulnerabilities exist in the TIFF parser functionality of Accusoft ImageGear 19.10. A specially-crafted file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger these vulne…

  20. 8.8CVE-2021-21943accusoft imagegearEPSS 1.6%

    A heap-based buffer overflow vulnerability exists in the XWD parser functionality of Accusoft ImageGear 19.10. A specially-crafted file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability.

  21. 8.8CVE-2021-21942accusoft imagegearEPSS 2.0%

    An out-of-bounds write vulnerability exists in the TIFF YCbCr image parser functionality of Accusoft ImageGear 19.10. A specially-crafted file can lead to remote code execution. An attacker can provide a malicious file to trigger this vuln…

  22. 8.8CVE-2021-21914accusoft imagegearEPSS 1.6%

    A heap-based buffer overflow vulnerability exists in the DecoderStream::Append functionality of Accusoft ImageGear 19.10. A specially-crafted file can lead to code execution. An attacker can provide a malicious file to trigger this vulnera…

  23. 7.5CVE-2022-22188juniper junosEPSS 1.5%

    An Uncontrolled Memory Allocation vulnerability leading to a Heap-based Buffer Overflow in the packet forwarding engine (PFE) of Juniper Networks Junos OS allows a network-based unauthenticated attacker to flood the device with traffic lea…

  24. 7.8CVE-2022-21214fujielectric alpha5 smart loader firmwareEPSS 1.0%

    The affected product is vulnerable to a heap-based buffer overflow, which may lead to code execution.

  25. 9.8CVE-2022-27572google androidEPSS 1.4%

    Heap-based buffer overflow vulnerability in parser_ipma function of libsimba library prior to SMR Apr-2022 Release 1 allows code execution by remote attackers.

  26. 9.8CVE-2022-27571google androidEPSS 1.4%

    Heap-based buffer overflow vulnerability in sheifd_get_info_image function in libsimba library prior to SMR Apr-2022 Release 1 allows code execution by remote attacker.

  27. 9.8CVE-2022-27570google androidEPSS 1.4%

    Heap-based buffer overflow vulnerability in parser_single_iref function in libsimba library prior to SMR Apr-2022 Release 1 allows code execution by remote attacker.

  28. 9.8CVE-2022-27569google androidEPSS 1.4%

    Heap-based buffer overflow vulnerability in parser_infe function in libsimba library prior to SMR Apr-2022 Release 1 allows code execution by remote attacker.

  29. 9.8CVE-2022-27568google androidEPSS 1.4%

    Heap-based buffer overflow vulnerability in parser_iloc function in libsimba library prior to SMR Apr-2022 Release 1 allows code execution by remote attacker.

  30. 9.8CVE-2022-26098google androidEPSS 1.4%

    Heap-based buffer overflow vulnerability in sheifd_create function of libsimba library prior to SMR Apr-2022 Release 1 allows code execution by remote attackers.

  31. 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.

  32. 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.

  33. 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.

  34. 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…

  35. 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.

  36. 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…

  37. 7.8CVE-2022-1160EPSS 1.3%

    heap buffer overflow in get_one_sourceline in GitHub repository vim/vim prior to 8.2.4647.

  38. 5.5CVE-2022-1052radare radare2EPSS 0.4%

    Heap Buffer Overflow in iterate_chained_fixups in GitHub repository radareorg/radare2 prior to 5.6.6.

  39. 7.5CVE-2022-1061radare radare2EPSS 0.9%

    Heap Buffer Overflow in parseDragons in GitHub repository radareorg/radare2 prior to 5.6.8.

  40. 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.

  41. 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>(…

  42. 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>(…

  43. 7.8CVE-2022-0943EPSS 0.7%

    Heap-based Buffer Overflow occurs in vim in GitHub repository vim/vim prior to 8.2.4563.

  44. 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…

  45. 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 …

  46. 5.5CVE-2022-0714EPSS 13%

    Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.4436.

  47. 7.1CVE-2022-0713EPSS 1.0%

    Heap-based Buffer Overflow in GitHub repository radareorg/radare2 prior to 5.6.4.

  48. 7.8CVE-2022-0676EPSS 1.2%

    Heap-based Buffer Overflow in GitHub repository radareorg/radare2 prior to 5.6.4.

  49. 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…

  50. 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 …