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-72985MEDIUMVolume Shadow Copy Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2024-3024MEDIUMappneta tcpreplay get.c get_layer4_v6 heap-based overflowEPSS 0.4%CVE-2023-25882HIGHZDI-CAN-19385: Adobe Dimension OBJ File Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.4%CVE-2025-50155HIGHWindows Push Notifications Apps Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2023-25883HIGHZDI-CAN-19386: Adobe Dimension FBX File Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.4%CVE-2026-45252MEDIUMHeap overflow in FUSE_LISTXATTREPSS 0.4%CVE-2024-6135HIGHBT:Classic: Multiple missing buf length checksEPSS 0.4%CVE-2024-11513HIGHIrfanView ECW File Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.4%CVE-2022-3160HIGH The APDFL.dll contains an out-of-bounds write past the fixed-length heap-based buffer while parsing specially crafted PDF files. This coulEPSS 0.4%CVE-2026-14676HIGHPostgreSQL pg_stat_statements heap buffer overflow executes arbitrary codeEPSS 0.4%CVE-2024-11514HIGHIrfanView ECW File Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.4%CVE-2024-45872MEDIUMBandisoft BandiView 7.05 is vulnerable to Buffer Overflow via sub_0x410d1d. The vulnerability occurs due to insufficient validation of PSD fEPSS 0.4%CVE-2024-11516HIGHIrfanView JPM File Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.4%CVE-2026-14670HIGHPostgreSQL plperl tied object heap buffer overflow executes arbitrary codeEPSS 0.4%CVE-2023-23381HIGHVisual Studio Remote Code Execution VulnerabilityEPSS 0.4%CVE-2023-35337HIGHWin32k Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2026-14664HIGHPostgreSQL regexp heap buffer overflow executes arbitrary codeEPSS 0.4%CVE-2024-11518HIGHIrfanView RLE File Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.4%CVE-2024-24246MEDIUMHeap Buffer Overflow vulnerability in qpdf 11.9.0 allows attackers to crash the application via the std::__shared_count() function at /bits/EPSS 0.4%CVE-2021-31424HIGHThis vulnerability allows local attackers to escalate privileges on affected installations of Parallels Desktop 15.1.5-47309. An attacker muEPSS 0.4%