Falhas do tipo CWE-122

3.188 resultados

Estouro de heap

Ocorre quando código escreve mais dados do que o espaço alocado em uma região de memória dinâmica (heap), sobrescrevendo dados adjacentes. Um atacante pode explorar isso para corromper estruturas de dados críticas, contornar proteções de segurança ou executar código arbitrário.

Exemplo

Um servidor web aloca 256 bytes para armazenar um nome de usuário, mas copia 512 bytes de uma requisição sem validação. Os 256 bytes extras sobrescrevem ponteiros ou metadados do heap, permitindo execução de código ou negação de serviço.

Como mitigar

Use funções seguras que respeitam limites (strcpy_s, memcpy com tamanho verificado em runtime). Validar e limitar o tamanho de entrada antes de copiar. Ativar proteções como ASLR, stack canaries e ferramentas de sanitização (AddressSanitizer) em desenvolvimento.

CVE-2021-34583HIGHCODESYS V2 web server: crafted requests could trigger a heap-based buffer overflow (DoS)EPSS 8.4%CVE-2019-8274UltraVNC revision 1211 has a heap buffer overflow vulnerability in VNC server code inside file transfer offer handler, which can potentiallyEPSS 8.3%CVE-2019-8273UltraVNC revision 1211 has a heap buffer overflow vulnerability in VNC server code inside file transfer request handler, which can potentialEPSS 8.3%CVE-2019-8271UltraVNC 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-10638Advantech 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-8793rdesktop 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-8800rdesktop 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-8797rdesktop 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-6530Panasonic 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%