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-12819MEDIUMA heap-based buffer overflow vulnerability in the processing of Link Control Protocol messages in FortiGate versions 5.6.12, 6.0.10, 6.2.4 aEPSS 0.8%CVE-2024-49030HIGHMicrosoft Excel Remote Code Execution VulnerabilityEPSS 0.8%CVE-2022-1437MEDIUMHeap-based Buffer Overflow in radareorg/radare2EPSS 0.8%CVE-2026-69623HIGHWindows HTTP Print Provider Remote Code Execution VulnerabilityEPSS 0.8%CVE-2026-68880HIGHWindows Win32k Elevation of Privilege VulnerabilityEPSS 0.8%CVE-2026-69481HIGHWindows Enterprise App Management Elevation of Privilege VulnerabilityEPSS 0.8%CVE-2026-69271HIGHMicrosoft Standard XPS Elevation of Privilege VulnerabilityEPSS 0.8%CVE-2026-69773HIGHWindows Biometric Service Elevation of Privilege VulnerabilityEPSS 0.8%CVE-2026-69643HIGHWindows Spaceport.sys Elevation of Privilege VulnerabilityEPSS 0.8%CVE-2026-68894HIGHWindows Error Reporting Elevation of Privilege VulnerabilityEPSS 0.8%CVE-2026-69423HIGHWindows USB Video Driver Elevation of Privilege VulnerabilityEPSS 0.8%CVE-2026-69346HIGHWindows Print Spooler Components Elevation of Privilege VulnerabilityEPSS 0.8%CVE-2026-68827HIGHWindows GDI+ Elevation of Privilege VulnerabilityEPSS 0.8%CVE-2026-26111HIGHWindows Routing and Remote Access Service (RRAS) Remote Code Execution VulnerabilityEPSS 0.8%CVE-2026-68876HIGHWindows Program Compatibility Assistant Service Elevation of Privilege VulnerabilityEPSS 0.8%CVE-2026-67305CRITICALFreeRDP Windows Client before 3.29.0 Heap Buffer Overflow via CliprdrEPSS 0.8%CVE-2026-69875HIGHWindows NTFS Elevation of Privilege VulnerabilityEPSS 0.8%CVE-2026-69462HIGHWindows Error Reporting Elevation of Privilege VulnerabilityEPSS 0.8%CVE-2026-69371HIGHWindows Overlay Filter Elevation of Privilege VulnerabilityEPSS 0.8%CVE-2026-69727HIGHWindows Biometric Service Elevation of Privilege VulnerabilityEPSS 0.8%