Fallos del tipo CWE-122

3195 resultados

Estouro de heap

É quando o código escreve dados além dos limites de um buffer alocado no heap (memória dinâmica), sobrescrevendo dados de outras estruturas adjacentes. Esse estouro pode corromper metadados do heap, variáveis vizinhas ou objetos do programa, permitindo execução de código arbitrário ou negação de serviço.

Ejemplo

Um servidor web recebe uma string de tamanho arbitrário e a copia para um buffer de 256 bytes sem validar o comprimento (ex: strcpy em C). Se o atacante enviar 500 bytes, o restante escreve além da zona alocada, corrompendo estruturas próximas e potencialmente ganhando controle do fluxo.

Cómo mitigar

Use funções seguras (strncpy, strlcpy, snprintf em C) que respeitam limites de tamanho; valide e sanitize entrada do usuário antes de copiar; ative proteções do SO (ASLR, DEP/NX); use linguagens de memória segura quando possível; aplique verificações de limites em loops de cópia.

CVE-2022-34245HIGHAdobe InDesign 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-34246HIGHAdobe InDesign Font Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.5%CVE-2022-34250HIGHAdobe InCopy Font Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.5%CVE-2023-48704HIGHUnauthenticated heap buffer overflow in Gorrila codec decompressionEPSS 0.5%CVE-2022-34249HIGHAdobe InCopy Font Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.5%CVE-2025-47174HIGHMicrosoft Excel Remote Code Execution VulnerabilityEPSS 0.5%CVE-2025-0751MEDIUMAxiomatic Bento4 mp42aac ReadBits heap-based overflowEPSS 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-2153LOWHDF5 h5 File H5SM.c H5SM_delete heap-based overflowEPSS 0.5%CVE-2025-14673MEDIUMgmg137 snap7-rs client.rs as_ct_write 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-14672MEDIUMgmg137 snap7-rs s7_micro_client.cpp opWriteArea heap-based overflowEPSS 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-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-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%