Fallos del tipo CWE-122

3190 resultados

Estouro de heap

É quando o código escreve dados além dos limites de um buffer alocado no heap (memória dinâmica), sobrescrevendo dados de outras estruturas adjacentes. Esse estouro pode corromper metadados do heap, variáveis vizinhas ou objetos do programa, permitindo execução de código arbitrário ou negação de serviço.

Ejemplo

Um servidor web recebe uma string de tamanho arbitrário e a copia para um buffer de 256 bytes sem validar o comprimento (ex: strcpy em C). Se o atacante enviar 500 bytes, o restante escreve além da zona alocada, corrompendo estruturas próximas e potencialmente ganhando controle do fluxo.

Cómo mitigar

Use funções seguras (strncpy, strlcpy, snprintf em C) que respeitam limites de tamanho; valide e sanitize entrada do usuário antes de copiar; ative proteções do SO (ASLR, DEP/NX); use linguagens de memória segura quando possível; aplique verificações de limites em loops de cópia.

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-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-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-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.0%CVE-2021-28638HIGHAdobe Acrobat Reader DC PDF File Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 4.9%CVE-2020-27263—KEPServerEX: 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-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-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-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-8262—UltraVNC 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%