Falhas do tipo CWE-122

3.195 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-2023-48704HIGHUnauthenticated heap buffer overflow in Gorrila codec decompressionEPSS 0.5%CVE-2022-34250HIGHAdobe InCopy Font Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.5%CVE-2022-34246HIGHAdobe InDesign Font Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.5%CVE-2022-34249HIGHAdobe InCopy Font Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.5%CVE-2023-1170HIGHHeap-based Buffer Overflow in vim/vimEPSS 0.5%CVE-2022-34245HIGHAdobe InDesign Font Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.5%CVE-2025-0751MEDIUMAxiomatic Bento4 mp42aac ReadBits heap-based overflowEPSS 0.5%CVE-2025-47174HIGHMicrosoft Excel Remote Code Execution VulnerabilityEPSS 0.5%CVE-2025-10685HIGHHTTP POST with specific higher content length leads into heap corruptionEPSS 0.5%CVE-2022-2571HIGHHeap-based Buffer Overflow in vim/vimEPSS 0.5%CVE-2024-43522HIGHWindows Local Security Authority (LSA) Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2025-14673MEDIUMgmg137 snap7-rs client.rs as_ct_write heap-based overflowEPSS 0.5%CVE-2025-14672MEDIUMgmg137 snap7-rs s7_micro_client.cpp opWriteArea heap-based overflowEPSS 0.5%CVE-2025-3619HIGHHeap buffer overflow in Codecs in Google Chrome on Windows prior to 135.0.7049.95 allowed a remote attacker to potentially exploit heap corrEPSS 0.5%CVE-2025-2153LOWHDF5 h5 File H5SM.c H5SM_delete heap-based overflowEPSS 0.5%CVE-2026-42483HIGHA heap-based buffer overflow in the Kerberos hash parser in hashcat v7.1.2 allows an attacker to cause a denial of service or possibly execuEPSS 0.5%CVE-2024-32671MEDIUMHeap-based Buffer Overflow vulnerability in Samsung Open Source Escargot JavaScript engine allows Overflow Buffers.This issue affects EscargEPSS 0.5%CVE-2024-0684MEDIUMCoreutils: heap overflow in split --line-bytes with very long linesEPSS 0.5%CVE-2023-42085HIGHPDF-XChange Editor EMF File Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.5%CVE-2023-42083HIGHPDF-XChange Editor JPG File Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.5%