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-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.6%CVE-2024-30051HIGHWindows DWM Core Library Elevation of Privilege VulnerabilityEPSS 5.6%KEVCVE-2021-21006HIGHHeap buffer overflow when handling crafted font file could lead to arbitrary code executionEPSS 5.6%CVE-2018-8845In 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-36073HIGHAdobe Bridge SGI File Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 5.6%CVE-2021-36050HIGHXMP Toolkit SDK Heap-based Buffer Overflow Could Lead To Arbitrary Code ExecutionEPSS 5.4%CVE-2021-28603HIGHAdobe After Effects heap corruption vulnerability could lead to arbitrary code executionEPSS 5.3%CVE-2021-28604HIGHAdobe 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.1%CVE-2017-7555Augeas versions up to and including 1.8.0 are vulnerable to heap-based buffer overflow due to improper handling of escaped strings. AttackerEPSS 5.0%CVE-2021-28638HIGHAdobe Acrobat Reader DC PDF File Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 4.9%CVE-2020-27263KEPServerEX: v6.0 to v6.9, ThingWorx Kepware Server: v6.8 and v6.9, ThingWorx Industrial Connectivity: All versions, OPC-Aggregator: All verEPSS 4.9%CVE-2019-18293A 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-18295A 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-18296A 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-18289A 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-8262UltraVNC revision 1203 has multiple heap buffer overflow vulnerabilities in VNC client code inside Ultra decoder, which results in code execEPSS 4.8%CVE-2016-9586MEDIUMcurl before version 7.52.0 is vulnerable to a buffer overflow when doing a large floating point output in libcurl's implementation of the prEPSS 4.8%CVE-2020-10896HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PhantomPDF 9.7.1.29511. User interacEPSS 4.8%CVE-2023-6246HIGHGlibc: heap-based buffer overflow in __vsyslog_internal()EPSS 4.8%