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-1886HIGHHeap-based Buffer Overflow in vim/vimEPSS 1.4%CVE-2025-35984HIGHA memory corruption vulnerability exists in the PCX Image Decoding functionality of the SAIL Image Decoding Library v0.9.8. When decoding thEPSS 1.4%CVE-2024-21802HIGHA heap-based buffer overflow vulnerability exists in the GGUF library info->ne functionality of llama.cpp Commit 18c2e17. A specially craEPSS 1.4%CVE-2026-50012MEDIUMSquid: Memory corruption in cache_digest reply handlingEPSS 1.4%CVE-2025-29966HIGHRemote Desktop Client Remote Code Execution VulnerabilityEPSS 1.4%CVE-2024-3203HIGHc-blosc2 ndlz8x8.c ndlz8_decompress heap-based overflowEPSS 1.3%CVE-2020-6150HIGHA heap overflow vulnerability exists in Pixar OpenUSD 20.05 when the software USDC file format SPECS section decompression heap overflow.EPSS 1.3%CVE-2020-6156HIGHA heap overflow vulnerability exists in Pixar OpenUSD 20.05 when the software parses compressed sections in binary USD files. To trigger thiEPSS 1.3%CVE-2020-6148HIGHA heap overflow vulnerability exists in Pixar OpenUSD 20.05 when the software parses compressed sections in binary USD files. An instance exEPSS 1.3%CVE-2020-6149HIGHA heap overflow vulnerability exists in Pixar OpenUSD 20.05 when the software parses compressed sections in binary USD files. To trigger thiEPSS 1.3%CVE-2020-13493HIGHA heap overflow vulnerability exists in Pixar OpenUSD 20.05 when the software parses compressed sections in binary USD files. A specially crEPSS 1.3%CVE-2023-29372HIGHMicrosoft WDAC OLE DB provider for SQL Server Remote Code Execution VulnerabilityEPSS 1.3%CVE-2023-29362HIGHRemote Desktop Client Remote Code Execution VulnerabilityEPSS 1.3%CVE-2022-0359MEDIUMHeap-based Buffer Overflow in vim/vimEPSS 1.3%CVE-2025-21222HIGHWindows Telephony Service Remote Code Execution VulnerabilityEPSS 1.3%CVE-2025-21205HIGHWindows Telephony Service Remote Code Execution VulnerabilityEPSS 1.3%CVE-2022-2343HIGHHeap-based Buffer Overflow in vim/vimEPSS 1.3%CVE-2025-21221HIGHWindows Telephony Service Remote Code Execution VulnerabilityEPSS 1.3%CVE-2021-21940CRITICALA heap-based buffer overflow vulnerability exists in the pushMuxer processRtspInfo functionality of Anker Eufy Homebase 2 2.1.6.9h. A speciaEPSS 1.3%CVE-2026-2005HIGHPostgreSQL pgcrypto heap buffer overflow executes arbitrary codeEPSS 1.3%