Weaknesses of type CWE-122

3,189 results

Transbordamento de heap (heap overflow)

Ocorre quando um programa escreve dados além dos limites de um buffer alocado dinamicamente na memória heap, sobrescrevendo dados adjacentes ou metadados do alocador. Isso permite que um atacante corrompa estruturas críticas, execute código arbitrário ou cause travamento da aplicação.

Example

Uma função recebe um tamanho de entrada sem validar e copia para um buffer: `strcpy(heap_buffer, user_input)` sem verificar se user_input cabe. Se o usuário enviar 1000 bytes para um buffer de 256, o overflow sobrescreve estruturas próximas no heap e pode ser explorado para RCE.

How to mitigate

Use funções seguras de cópia (`strncpy`, `strlcpy`), valide e limite o tamanho da entrada antes de copiar, e considere usar linguagens com gerenciamento automático de memória ou ferramentas como AddressSanitizer durante testes para detectar overflows.

CVE-2022-0676HIGHHeap-based Buffer Overflow in radareorg/radare2EPSS 1.2%CVE-2024-30074HIGHWindows Link Layer Topology Discovery Protocol Remote Code Execution VulnerabilityEPSS 1.2%CVE-2026-0797HIGHGIMP ICO File Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 1.2%CVE-2026-50696HIGHInternet Key Exchange (IKE) Protocol Denial of Service VulnerabilityEPSS 1.2%CVE-2025-21417HIGHWindows Telephony Service Remote Code Execution VulnerabilityEPSS 1.2%CVE-2023-0854CRITICALBuffer overflow in NetBIOS QNAME registering and communication process of Office / Small Office Multifunction Printers and Laser Printers(*)EPSS 1.2%CVE-2026-34355HIGHApache HTTP Server: mod_proxy_html buffer overflowEPSS 1.2%CVE-2022-0407MEDIUMHeap-based Buffer Overflow in vim/vimEPSS 1.2%CVE-2024-33428HIGHBuffer-Overflow vulnerability at conv.c:68 of stsaz phiola v2.0-rc22 allows a remote attacker to execute arbitrary code via the a crafted .wEPSS 1.2%CVE-2025-4355HIGHTenda DAP-1520 api set_ws_action heap-based overflowEPSS 1.2%CVE-2023-0841MEDIUMGPAC reframe_mp3.c mp3_dmx_process heap-based overflowEPSS 1.2%CVE-2021-33485CRITICALCODESYS Control Runtime system before 3.5.17.10 has a Heap-based Buffer Overflow.EPSS 1.1%CVE-2022-43591HIGHA buffer overflow vulnerability exists in the QML QtScript Reflect API of Qt Project Qt 6.3.2. A specially-crafted javascript code can triggEPSS 1.1%CVE-2023-0851CRITICALBuffer overflow in CPCA Resource Download process of Office / Small Office Multifunction Printers and Laser Printers(*) which may allow an aEPSS 1.1%CVE-2017-16737—An issue was discovered in WECON Technology LEVI Studio HMI Editor v1.8.29 and prior. A specially-crafted malicious file may be able to causEPSS 1.1%CVE-2025-21186HIGHMicrosoft Access Remote Code Execution VulnerabilityEPSS 1.1%CVE-2025-5462HIGHA heap-based buffer overflow in Ivanti Connect Secure before 22.7R2.8 or 22.8R2, Ivanti Policy Secure before 22.7R1.5, Ivanti ZTA Gateway beEPSS 1.1%CVE-2023-21560MEDIUMWindows Boot Manager Security Feature Bypass VulnerabilityEPSS 1.1%CVE-2021-21810HIGHA memory corruption vulnerability exists in the XML-parsing ParseAttribs functionality of AT&T Labs’ Xmill 0.7. A specially crafted XML fileEPSS 1.1%CVE-2021-27253HIGHThis vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of NETGEAR Nighthawk R7800. AlthougEPSS 1.1%