Falhas do tipo CWE-122

3.737 resultados

Estouro de heap

Ocorre quando código escreve mais dados do que o espaço alocado em uma região de memória dinâmica (heap), sobrescrevendo dados adjacentes. Um atacante pode explorar isso para corromper estruturas de dados críticas, contornar proteções de segurança ou executar código arbitrário.

Exemplo

Um servidor web aloca 256 bytes para armazenar um nome de usuário, mas copia 512 bytes de uma requisição sem validação. Os 256 bytes extras sobrescrevem ponteiros ou metadados do heap, permitindo execução de código ou negação de serviço.

Como mitigar

Use funções seguras que respeitam limites (strcpy_s, memcpy com tamanho verificado em runtime). Validar e limitar o tamanho de entrada antes de copiar. Ativar proteções como ASLR, stack canaries e ferramentas de sanitização (AddressSanitizer) em desenvolvimento.

CVE-2025-21221HIGHWindows Telephony Service Remote Code Execution VulnerabilityEPSS 1.4%CVE-2025-33064HIGHWindows Routing and Remote Access Service (RRAS) Remote Code Execution VulnerabilityEPSS 1.4%CVE-2020-1917—xbuf_format_converter, used as part of exif_read_data, was appending a terminating null character to the generated string, but was not usingEPSS 1.4%CVE-2020-1916—An incorrect size calculation in ldap_escape may lead to an integer overflow when overly long input is passed in, resulting in an out-of-bouEPSS 1.4%CVE-2024-21416HIGHWindows TCP/IP Remote Code Execution VulnerabilityEPSS 1.4%CVE-2026-28780CRITICALApache HTTP Server: buffer overflow in mod_proxy_ajp via ajp_msg_check_header()EPSS 1.4%CVE-2022-2343HIGHHeap-based Buffer Overflow in vim/vimEPSS 1.4%CVE-2024-21347HIGHMicrosoft ODBC Driver Remote Code Execution VulnerabilityEPSS 1.4%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-2026-40033HIGHFreeRDP - Heap-buffer-overflow in gdi_CacheToSurface via rectangle validation bypassEPSS 1.4%CVE-2026-50012MEDIUMSquid: Memory corruption in cache_digest reply handlingEPSS 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-2021-33485CRITICALCODESYS Control Runtime system before 3.5.17.10 has a Heap-based Buffer Overflow.EPSS 1.4%CVE-2024-3203HIGHc-blosc2 ndlz8x8.c ndlz8_decompress heap-based overflowEPSS 1.4%CVE-2026-2005HIGHPostgreSQL pgcrypto heap buffer overflow executes arbitrary codeEPSS 1.4%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-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-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-2022-0213MEDIUMHeap-based Buffer Overflow in vim/vimEPSS 1.3%