Weaknesses of type CWE-122

3,190 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-2020-28587HIGHA specially crafted document can cause the document parser to copy data from a particular record type into a static-sized buffer within an oEPSS 0.9%CVE-2022-23547MEDIUMHeap buffer overflow in pjproject when decoding STUN messageEPSS 0.9%CVE-2023-4322HIGHHeap-based Buffer Overflow in radareorg/radare2EPSS 0.9%CVE-2024-40763HIGHHeap-based buffer overflow vulnerability in the SonicWall SMA100 SSLVPN due to the use of strcpy. This allows remote authenticated attackersEPSS 0.9%CVE-2021-32959HIGHAVEVA SuiteLink Server Buffer OverflowEPSS 0.9%CVE-2024-21778HIGHA heap-based buffer overflow vulnerability exists in the configuration file mib_init_value_array functionality of Realtek rtl819x Jungle SDKEPSS 0.9%CVE-2024-28231CRITICALManipulated DATA Submessage causes a heap-buffer-overflow errorEPSS 0.9%CVE-2023-21782HIGH3D Builder Remote Code Execution VulnerabilityEPSS 0.9%CVE-2023-21780HIGH3D Builder Remote Code Execution VulnerabilityEPSS 0.9%CVE-2023-21792HIGH3D Builder Remote Code Execution VulnerabilityEPSS 0.9%CVE-2025-29070HIGHA heap buffer overflow vulnerability has been identified in thesmooth2() in cmsgamma.c in lcms2-2.16 which allows a remote attacker to causeEPSS 0.9%CVE-2025-50163HIGHWindows Routing and Remote Access Service (RRAS) Remote Code Execution VulnerabilityEPSS 0.9%CVE-2025-53131HIGHWindows Media Remote Code Execution VulnerabilityEPSS 0.9%CVE-2024-32605HIGHHDF5 Library through 1.14.3 has a heap-based buffer over-read in H5VM_memcpyvv in H5VM.c (called from H5D__compact_readvv in H5Dcompact.c).EPSS 0.9%CVE-2026-62800HIGHWindows SMBv3 Server Remote Code Execution VulnerabilityEPSS 0.9%CVE-2026-62784HIGHMicrosoft Local Security Authority Server (lsasrv) Remote Code Execution VulnerabilityEPSS 0.9%CVE-2025-50129HIGHA memory corruption vulnerability exists in the PCX Image Decoding functionality of the SAIL Image Decoding Library v0.9.8. When decoding thEPSS 0.9%CVE-2026-69845CRITICALWindows DHCP Server Remote Code Execution VulnerabilityEPSS 0.9%CVE-2025-53085HIGHA memory corruption vulnerability exists in the PSD RLE Decoding functionality of the SAIL Image Decoding Library v0.9.8. When decompressingEPSS 0.9%CVE-2022-40661HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of NIKON NIS-Elements Viewer 1.2100.1483.0. UEPSS 0.9%