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-71331HIGHWindows Device Health Attestation (DHA) Remote Code Execution VulnerabilityEPSS 0.7%CVE-2023-36770HIGH3D Builder Remote Code Execution VulnerabilityEPSS 0.7%CVE-2024-34249CRITICALwasm3 v0.5.0 was discovered to contain a heap buffer overflow which leads to segmentation fault via the function "DeallocateSlot" in wasm3/sEPSS 0.7%CVE-2026-75143CRITICALFFmpeg Heap Buffer Overflow via RIST Protocol ReaderEPSS 0.7%CVE-2024-40764HIGHHeap-based buffer overflow vulnerability in the SonicOS IPSec VPN allows an unauthenticated remote attacker to cause Denial of Service (DoS)EPSS 0.7%CVE-2025-24066HIGHKernel Streaming Service Driver Elevation of Privilege VulnerabilityEPSS 0.7%CVE-2022-0943HIGHHeap-based Buffer Overflow occurs in vim in vim/vimEPSS 0.7%CVE-2026-57156HIGHFreeRDP: Integer overflow leading to heap buffer overflow in Orders Delta Points parsingEPSS 0.7%CVE-2025-24067HIGHKernel Streaming Service Driver Elevation of Privilege VulnerabilityEPSS 0.7%CVE-2020-37162HIGHWedding Slideshow Studio 1.36 - 'Key' Buffer OverflowEPSS 0.7%CVE-2023-21738HIGHMicrosoft Office Visio Remote Code Execution VulnerabilityEPSS 0.7%CVE-2026-20837HIGHWindows Media Remote Code Execution VulnerabilityEPSS 0.7%CVE-2025-54951CRITICALA group of related buffer overflow vulnerabilities in the loading of ExecuTorch models can cause the runtime to crash and potentially resultEPSS 0.7%CVE-2023-38170HIGHHEVC Video Extensions Remote Code Execution VulnerabilityEPSS 0.7%CVE-2026-7040HIGHText::Minify::XS versions from 0.3.0 before 0.7.8 for Perl have heap overflow when processing some malformed UTF-8 charactersEPSS 0.7%CVE-2022-43171MEDIUMA heap buffer overflow in the LIEF::MachO::BinaryParser::parse_dyldinfo_generic_bind function of LIEF v0.12.1 allows attackers to cause a DeEPSS 0.7%CVE-2025-24063HIGHKernel Streaming Service Driver Elevation of Privilege VulnerabilityEPSS 0.7%CVE-2026-93962MEDIUMKamailio CDP Diameter Receiver receiver.c shm_malloc heap-based overflowEPSS 0.7%CVE-2026-92399MEDIUMGPAC WebSocket rmt_ws.c rmt_client_handle_ws_frame heap-based overflowEPSS 0.7%CVE-2026-4391MEDIUMTeamSpeak 3 Server ECC Key heap-based overflowEPSS 0.7%