Weaknesses of type CWE-122

3,188 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-2021-34583HIGHCODESYS V2 web server: crafted requests could trigger a heap-based buffer overflow (DoS)EPSS 8.4%CVE-2019-8274—UltraVNC revision 1211 has a heap buffer overflow vulnerability in VNC server code inside file transfer offer handler, which can potentiallyEPSS 8.3%CVE-2019-8273—UltraVNC revision 1211 has a heap buffer overflow vulnerability in VNC server code inside file transfer request handler, which can potentialEPSS 8.3%CVE-2019-8271—UltraVNC revision 1211 has a heap buffer overflow vulnerability in VNC server code inside file transfer handler, which can potentially resulEPSS 8.3%CVE-2025-53766CRITICALGDI+ Remote Code Execution VulnerabilityEPSS 8.0%CVE-2021-28620HIGHAdobe Animate heap corruption vulnerability could lead to arbitrary code executionEPSS 7.8%CVE-2021-28629HIGHAdobe Animate heap corruption vulnerability could lead to arbitrary code executionEPSS 7.8%CVE-2019-14895HIGHA heap-based buffer overflow was discovered in the Linux kernel, all versions 3.x.x and 4.x.x before 4.18.0, in Marvell WiFi chip driver. ThEPSS 7.8%CVE-2021-23157HIGHWECON LeviStudioUEPSS 7.6%CVE-2021-21077HIGHAdobe Animate heap-based overflow vulnerabilityEPSS 7.5%CVE-2021-28624HIGHAdobe Bridge SGI File Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 7.2%CVE-2018-1120LOWA flaw was found affecting the Linux kernel before version 4.17. By mmap()ing a FUSE-backed file onto a process's memory containing command EPSS 7.2%CVE-2020-10638—Advantech WebAccess Node, Version 8.4.4 and prior, Version 9.0.0. Multiple heap-based buffer overflow vulnerabilities exist caused by a lackEPSS 7.1%CVE-2018-8793—rdesktop versions up to and including v1.8.3 contain a Heap-Based Buffer Overflow in function cssp_read_tsrequest() that results in a memoryEPSS 7.1%CVE-2018-8800—rdesktop versions up to and including v1.8.3 contain a Heap-Based Buffer Overflow in function ui_clip_handle_data() that results in a memoryEPSS 7.1%CVE-2018-8797—rdesktop versions up to and including v1.8.3 contain a Heap-Based Buffer Overflow in function process_plane() that results in a memory corruEPSS 7.1%CVE-2026-42980HIGHNT OS Kernel Elevation of Privilege VulnerabilityEPSS 6.9%CVE-2025-20363CRITICALA vulnerability in the web services of Cisco Secure Firewall Adaptive Security Appliance (ASA) Software, Cisco Secure Firewall Threat DefensEPSS 6.9%CVE-2019-6530—Panasonic FPWIN Pro version 7.3.0.0 and prior allows attacker-created project files to be loaded by an authenticated user causing heap-basedEPSS 6.9%CVE-2019-10126MEDIUMA flaw was found in the Linux kernel. A heap based buffer overflow in mwifiex_uap_parse_tail_ies function in drivers/net/wireless/marvell/mwEPSS 6.8%