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-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-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%CVE-2020-4068MEDIUMHeap-based Buffer Overflow in APNSwiftEPSS 1.3%CVE-2022-1160HIGHheap buffer overflow in get_one_sourceline in vim/vimEPSS 1.3%CVE-2024-30020HIGHWindows Cryptographic Services Remote Code Execution VulnerabilityEPSS 1.3%CVE-2020-25199—A heap-based buffer overflow vulnerability exists within the WECON LeviStudioU Release Build 2019-09-21 and prior when processing project fiEPSS 1.3%CVE-2022-2344HIGHHeap-based Buffer Overflow in vim/vimEPSS 1.3%CVE-2017-20241CRITICALKeysight IxChariot Endpoint heap-based buffer overflowEPSS 1.3%CVE-2022-2264HIGHHeap-based Buffer Overflow in vim/vimEPSS 1.3%CVE-2025-33064HIGHWindows Routing and Remote Access Service (RRAS) Remote Code Execution VulnerabilityEPSS 1.3%CVE-2026-21248HIGHWindows Hyper-V Remote Code Execution VulnerabilityEPSS 1.3%CVE-2026-21244HIGHWindows Hyper-V Remote Code Execution VulnerabilityEPSS 1.3%CVE-2023-23406HIGHMicrosoft PostScript and PCL6 Class Printer Driver Remote Code Execution VulnerabilityEPSS 1.3%CVE-2023-24867HIGHMicrosoft PostScript and PCL6 Class Printer Driver Remote Code Execution VulnerabilityEPSS 1.3%CVE-2023-24868HIGHMicrosoft PostScript and PCL6 Class Printer Driver Remote Code Execution VulnerabilityEPSS 1.3%CVE-2023-24907HIGHMicrosoft PostScript and PCL6 Class Printer Driver Remote Code Execution VulnerabilityEPSS 1.3%