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-2024-49008HIGHSQL Server Native Client Remote Code Execution VulnerabilityEPSS 1.4%CVE-2024-48997HIGHSQL Server Native Client Remote Code Execution VulnerabilityEPSS 1.4%CVE-2024-49017HIGHSQL Server Native Client Remote Code Execution VulnerabilityEPSS 1.4%CVE-2024-49006HIGHSQL Server Native Client Remote Code Execution VulnerabilityEPSS 1.4%CVE-2024-48998HIGHSQL Server Native Client Remote Code Execution VulnerabilityEPSS 1.4%CVE-2024-49013HIGHSQL Server Native Client Remote Code Execution VulnerabilityEPSS 1.4%CVE-2024-49011HIGHSQL Server Native Client Remote Code Execution VulnerabilityEPSS 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-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-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-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-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-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-29362HIGHRemote Desktop Client Remote Code Execution VulnerabilityEPSS 1.3%CVE-2023-29372HIGHMicrosoft WDAC OLE DB provider for SQL Server Remote Code Execution VulnerabilityEPSS 1.3%