Falhas do tipo CWE-122

3.734 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-28608HIGHAdobe After Effects heap corruption vulnerability could lead to arbitrary code executionEPSS 5.9%CVE-2019-3846HIGHA flaw that allowed an attacker to corrupt memory and possibly escalate privileges was found in the mwifiex kernel module while connecting tEPSS 5.9%CVE-2021-21006HIGHHeap buffer overflow when handling crafted font file could lead to arbitrary code executionEPSS 5.9%CVE-2021-36051HIGHXMP Toolkit SDK Buffer Overflow Could Lead To Arbitrary Code ExecutionEPSS 5.8%CVE-2018-16839MEDIUMCurl versions 7.33.0 through 7.61.1 are vulnerable to a buffer overrun in the SASL authentication code that may lead to denial of service.EPSS 5.8%CVE-2021-28610HIGHAdobe After Effects heap corruption vulnerability could lead to arbitrary code executionEPSS 5.7%CVE-2021-36065HIGHAdobe Photoshop Heap-Based Buffer Overflow Could Lead To Arbitrary Code ExecutionEPSS 5.7%CVE-2024-30051HIGHWindows DWM Core Library Elevation of Privilege VulnerabilityEPSS 5.7%KEVCVE-2018-8845—In Advantech WebAccess versions V8.2_20170817 and prior, WebAccess versions V8.3.0 and prior, WebAccess Dashboard versions V.2.0.15 and prioEPSS 5.6%CVE-2021-36050HIGHXMP Toolkit SDK Heap-based Buffer Overflow Could Lead To Arbitrary Code ExecutionEPSS 5.4%CVE-2021-28604HIGHAdobe After Effects heap corruption vulnerability could lead to arbitrary code executionEPSS 5.3%CVE-2021-28603HIGHAdobe After Effects heap corruption vulnerability could lead to arbitrary code executionEPSS 5.3%CVE-2022-28234HIGHAdobe Acrobat Reader DC Heap Overflow Could Lead to RCEEPSS 5.3%CVE-2017-7555—Augeas versions up to and including 1.8.0 are vulnerable to heap-based buffer overflow due to improper handling of escaped strings. AttackerEPSS 5.2%CVE-2021-28638HIGHAdobe Acrobat Reader DC PDF File Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 4.9%CVE-2019-18295—A vulnerability has been identified in SPPA-T3000 MS3000 Migration Server (All versions). An attacker with network access to the MS3000 ServEPSS 4.9%CVE-2019-18293—A vulnerability has been identified in SPPA-T3000 MS3000 Migration Server (All versions). An attacker with network access to the MS3000 ServEPSS 4.9%CVE-2019-18289—A vulnerability has been identified in SPPA-T3000 MS3000 Migration Server (All versions). An attacker with network access to the MS3000 ServEPSS 4.9%CVE-2019-18296—A vulnerability has been identified in SPPA-T3000 MS3000 Migration Server (All versions). An attacker with network access to the MS3000 ServEPSS 4.9%CVE-2019-8262—UltraVNC revision 1203 has multiple heap buffer overflow vulnerabilities in VNC client code inside Ultra decoder, which results in code execEPSS 4.8%