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-2026-23567MEDIUMInteger underflow in Content Distribution Service UDP handlerEPSS 0.3%CVE-2024-31582HIGHFFmpeg version n6.1 was discovered to contain a heap buffer overflow vulnerability in the draw_block_rectangle function of libavfilter/vf_coEPSS 0.3%CVE-2026-38755LOWA heap overflow in the evalcommand() function (shell/ash.c) of Busybox v1.38.0 allows attackers to cause a Denial of Service (DoS) via supplEPSS 0.3%CVE-2026-2648HIGHHeap buffer overflow in PDFium in Google Chrome prior to 145.0.7632.109 allowed a remote attacker to perform an out of bounds memory write vEPSS 0.3%CVE-2023-52168HIGHThe NtfsHandler.cpp NTFS handler in 7-Zip before 24.01 (for 7zz) contains a heap-based buffer overflow that allows an attacker to overwrite EPSS 0.3%CVE-2022-1890MEDIUMA buffer overflow in the ReadyBootDxe driver in some Lenovo Notebook products may allow an attacker with local privileges to execute arbitraEPSS 0.3%CVE-2022-1891MEDIUMA buffer overflow in the SystemLoadDefaultDxe driver in some Lenovo Notebook products may allow an attacker with local privileges to executeEPSS 0.3%CVE-2022-1892MEDIUMA buffer overflow in the SystemBootManagerDxe driver in some Lenovo Notebook products may allow an attacker with local privileges to executeEPSS 0.3%CVE-2026-78510HIGHMicrosoft Outlook and Word Remote Code Execution VulnerabilityEPSS 0.3%CVE-2026-69480HIGHWindows Partition Management Driver Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-68888HIGHMicrosoft Standard XPS Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-69594HIGHMicrosoft Local Security Authority (LSA) Server Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2025-15533MEDIUMraysan5 raylib rtext.c GenImageFontAtlas heap-based overflowEPSS 0.3%CVE-2026-68885HIGHMicrosoft Standard XPS Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-69359HIGHActive Directory Domain Services Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-69541HIGHVirtual Hard Disk (VHD) Miniport Driver Elevation of Privilege VulernabilityEPSS 0.3%CVE-2026-68892HIGHMicrosoft Standard XPS Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-62810HIGHActive Directory Certificate Services (AD CS) Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-68850HIGHMicrosoft Account Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-69432HIGHVolume Manager Driver Elevation of Privilege VulnerabilityEPSS 0.3%