Weaknesses of type CWE-122

3,195 results

Transbordamento de heap (heap overflow)

Ocorre quando um programa escreve dados além dos limites de um buffer alocado dinamicamente na memória heap, sobrescrevendo dados adjacentes ou metadados do alocador. Isso permite que um atacante corrompa estruturas críticas, execute código arbitrário ou cause travamento da aplicação.

Example

Uma função recebe um tamanho de entrada sem validar e copia para um buffer: `strcpy(heap_buffer, user_input)` sem verificar se user_input cabe. Se o usuário enviar 1000 bytes para um buffer de 256, o overflow sobrescreve estruturas próximas no heap e pode ser explorado para RCE.

How to mitigate

Use funções seguras de cópia (`strncpy`, `strlcpy`), valide e limite o tamanho da entrada antes de copiar, e considere usar linguagens com gerenciamento automático de memória ou ferramentas como AddressSanitizer durante testes para detectar overflows.

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-2022-1922—DOS / potential heap overwrite in mkv demuxing using zlib decompression. Integer overflow in matroskademux element in gst_matroska_decompresEPSS 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-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-2025-0753MEDIUMAxiomatic Bento4 mp42aac ReadPartial heap-based overflowEPSS 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-2023-0866HIGHHeap-based Buffer Overflow in gpac/gpacEPSS 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-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-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-2025-27478HIGHWindows Local Security Authority (LSA) Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2025-64679HIGHWindows DWM Core Library 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-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-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%CVE-2026-84510MEDIUMA 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%