Falhas do tipo CWE-122

3.190 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-2020-28587HIGHA specially crafted document can cause the document parser to copy data from a particular record type into a static-sized buffer within an oEPSS 0.9%CVE-2022-23547MEDIUMHeap buffer overflow in pjproject when decoding STUN messageEPSS 0.9%CVE-2023-4322HIGHHeap-based Buffer Overflow in radareorg/radare2EPSS 0.9%CVE-2024-40763HIGHHeap-based buffer overflow vulnerability in the SonicWall SMA100 SSLVPN due to the use of strcpy. This allows remote authenticated attackersEPSS 0.9%CVE-2021-32959HIGHAVEVA SuiteLink Server Buffer OverflowEPSS 0.9%CVE-2024-21778HIGHA heap-based buffer overflow vulnerability exists in the configuration file mib_init_value_array functionality of Realtek rtl819x Jungle SDKEPSS 0.9%CVE-2024-28231CRITICALManipulated DATA Submessage causes a heap-buffer-overflow errorEPSS 0.9%CVE-2023-21782HIGH3D Builder Remote Code Execution VulnerabilityEPSS 0.9%CVE-2023-21780HIGH3D Builder Remote Code Execution VulnerabilityEPSS 0.9%CVE-2023-21792HIGH3D Builder Remote Code Execution VulnerabilityEPSS 0.9%CVE-2025-29070HIGHA heap buffer overflow vulnerability has been identified in thesmooth2() in cmsgamma.c in lcms2-2.16 which allows a remote attacker to causeEPSS 0.9%CVE-2025-50163HIGHWindows Routing and Remote Access Service (RRAS) Remote Code Execution VulnerabilityEPSS 0.9%CVE-2025-53131HIGHWindows Media Remote Code Execution VulnerabilityEPSS 0.9%CVE-2024-32605HIGHHDF5 Library through 1.14.3 has a heap-based buffer over-read in H5VM_memcpyvv in H5VM.c (called from H5D__compact_readvv in H5Dcompact.c).EPSS 0.9%CVE-2026-62800HIGHWindows SMBv3 Server Remote Code Execution VulnerabilityEPSS 0.9%CVE-2026-62784HIGHMicrosoft Local Security Authority Server (lsasrv) Remote Code Execution VulnerabilityEPSS 0.9%CVE-2025-50129HIGHA memory corruption vulnerability exists in the PCX Image Decoding functionality of the SAIL Image Decoding Library v0.9.8. When decoding thEPSS 0.9%CVE-2026-69845CRITICALWindows DHCP Server Remote Code Execution VulnerabilityEPSS 0.9%CVE-2025-53085HIGHA memory corruption vulnerability exists in the PSD RLE Decoding functionality of the SAIL Image Decoding Library v0.9.8. When decompressingEPSS 0.9%CVE-2022-40661HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of NIKON NIS-Elements Viewer 1.2100.1483.0. UEPSS 0.9%