Falhas do tipo CWE-122

3.189 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-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%