Fallos del tipo CWE-122

3190 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-28941HIGHMicrosoft ODBC Driver for SQL Server Remote Code Execution VulnerabilityEPSS 2.3%CVE-2020-16223—Delta Electronics TPEditor Versions 1.97 and prior. A heap-based buffer overflow may be exploited by processing a specially crafted project EPSS 2.2%CVE-2021-3968HIGHHeap-based Buffer Overflow in vim/vimEPSS 2.2%CVE-2024-26202HIGHDHCP Server Service Remote Code Execution VulnerabilityEPSS 2.2%CVE-2024-26195HIGHDHCP Server Service Remote Code Execution VulnerabilityEPSS 2.2%CVE-2018-8833—Heap-based buffer overflow vulnerabilities in Advantech WebAccess HMI Designer 2.1.7.32 and prior caused by processing specially crafted .pmEPSS 2.2%CVE-2024-28911HIGHMicrosoft OLE DB Driver for SQL Server Remote Code Execution VulnerabilityEPSS 2.2%CVE-2024-28915HIGHMicrosoft OLE DB Driver for SQL Server Remote Code Execution VulnerabilityEPSS 2.2%CVE-2021-40426CRITICALA heap-based buffer overflow vulnerability exists in the sphere.c start_read() functionality of Sound Exchange libsox 14.4.2 and master commEPSS 2.2%CVE-2023-52356HIGHLibtiff: segment fault in libtiff in tiffreadrgbatileext() leading to denial of serviceEPSS 2.2%CVE-2024-21348HIGHInternet Connection Sharing (ICS) Denial of Service VulnerabilityEPSS 2.2%CVE-2025-24993HIGHWindows NTFS Remote Code Execution VulnerabilityEPSS 2.2%KEVCVE-2024-38160CRITICALWindows Network Virtualization Remote Code Execution VulnerabilityEPSS 2.2%CVE-2023-44429HIGHGStreamer AV1 Codec Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 2.2%CVE-2025-21369HIGHMicrosoft Digest Authentication Remote Code Execution VulnerabilityEPSS 2.2%CVE-2025-21368HIGHMicrosoft Digest Authentication Remote Code Execution VulnerabilityEPSS 2.2%CVE-2024-38076CRITICALWindows Remote Desktop Licensing Service Remote Code Execution VulnerabilityEPSS 2.2%CVE-2021-29457—Heap buffer overflow in Exiv2::Jp2Image::doWriteMetadataEPSS 2.2%CVE-2021-34328—A vulnerability has been identified in JT2Go (All versions < V13.2), Solid Edge SE2021 (All Versions < SE2021MP5), Teamcenter Visualization EPSS 2.1%CVE-2021-34329—A vulnerability has been identified in JT2Go (All versions < V13.2), Solid Edge SE2021 (All Versions < SE2021MP5), Teamcenter Visualization EPSS 2.1%