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-2122—DOS / potential heap overwrite in qtdemux using zlib decompression. Integer overflow in qtdemux element in qtdemux_inflate function which caEPSS 0.5%CVE-2024-40129HIGHOpen5GS v2.6.4 is vulnerable to Buffer Overflow. via /lib/pfcp/context.c.EPSS 0.5%CVE-2026-21095CRITICALHeap-based buffer overflow in DNG decoder of libimagecodec.quram.so prior to SMR Sep-2026 Release 1 allows remote attackers to execute arbitEPSS 0.5%CVE-2025-44905HIGHhdf5 v1.14.6 was discovered to contain a heap buffer overflow via the H5Z__filter_scaleoffset function.EPSS 0.5%CVE-2022-1922—DOS / potential heap overwrite in mkv demuxing using zlib decompression. Integer overflow in matroskademux element in gst_matroska_decompresEPSS 0.5%CVE-2026-79231HIGHBuffer overflow in Media in Google Chrome prior to 152.0.7977.65 allowed a remote attacker to execute arbitrary code inside the sandbox via EPSS 0.5%CVE-2026-76022HIGHBuffer overflow in Network in Google Chrome prior to 151.0.7922.173 allowed a remote attacker to execute arbitrary code outside the sandbox EPSS 0.5%CVE-2023-0866HIGHHeap-based Buffer Overflow in gpac/gpacEPSS 0.5%CVE-2025-0753MEDIUMAxiomatic Bento4 mp42aac ReadPartial heap-based overflowEPSS 0.5%CVE-2024-38950MEDIUMHeap Buffer Overflow vulnerability in Libde265 v1.0.15 allows attackers to crash the application via crafted payload to __interceptor_memcpyEPSS 0.5%CVE-2026-17935HIGHHeap buffer overflow in Codecs in Google Chrome prior to 151.0.7922.72 allowed a remote attacker to execute arbitrary code inside a sandbox EPSS 0.5%CVE-2026-5868HIGHHeap buffer overflow in ANGLE in Google Chrome on Mac prior to 147.0.7727.55 allowed a remote attacker to execute arbitrary code inside a saEPSS 0.5%CVE-2026-79142HIGHBuffer overflow in ANGLE in Google Chrome on on Android prior to 152.0.7977.65 allowed a remote attacker to execute arbitrary code outside tEPSS 0.5%CVE-2026-84269MEDIUMGvfs: afp: heap-based buffer overflow in dsi read pathEPSS 0.5%CVE-2026-19967MEDIUMOpen Asset Import Library Assimp File Compression.cpp decompressBlock heap-based overflowEPSS 0.5%CVE-2025-64679HIGHWindows DWM Core Library Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2025-27478HIGHWindows Local Security Authority (LSA) Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2026-19970MEDIUMOpen Asset Import Library Assimp Node MDLLoader.cpp AddBonesToNodeGraph_3DGS_MDL7 heap-based overflowEPSS 0.5%CVE-2026-57164HIGHPJSIP: Heap overflow in the HTTP clientEPSS 0.5%CVE-2026-86870MEDIUMA heap buffer overflow was addressed with improved bounds checking. This issue is fixed in iOS 26.7 and iPadOS 26.7, iOS 27 and iPadOS 27, mEPSS 0.5%