Fallos del tipo CWE-122

3751 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-2018-1120LOWA flaw was found affecting the Linux kernel before version 4.17. By mmap()ing a FUSE-backed file onto a process's memory containing command EPSS 7.1%CVE-2022-2915—A Heap-based Buffer Overflow vulnerability in the SonicWall SMA100 appliance allows a remote authenticated attacker to cause Denial of ServiEPSS 6.9%CVE-2019-6530—Panasonic FPWIN Pro version 7.3.0.0 and prior allows attacker-created project files to be loaded by an authenticated user causing heap-basedEPSS 6.9%CVE-2022-30661HIGHAdobe InDesign Font Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 6.8%CVE-2022-30658HIGHAdobe InDesign Font Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 6.8%CVE-2022-30650HIGHAdobe InCopy Font Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 6.8%CVE-2022-30654HIGHAdobe InCopy Font Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 6.8%CVE-2019-10126MEDIUMA flaw was found in the Linux kernel. A heap based buffer overflow in mwifiex_uap_parse_tail_ies function in drivers/net/wireless/marvell/mwEPSS 6.8%CVE-2020-27251—A heap overflow vulnerability exists within FactoryTalk Linx Version 6.11 and prior. This vulnerability could allow a remote, unauthenticateEPSS 6.8%CVE-2023-28227HIGHWindows Bluetooth Driver Remote Code Execution VulnerabilityEPSS 6.6%CVE-2026-42055CRITICALNGINX ngx_http_proxy_v2_module and ngx_http_grpc_module vulnerabilityEPSS 6.5%CVE-2020-16010CRITICALHeap buffer overflow in UI in Google Chrome on Android prior to 86.0.4240.185 allowed a remote attacker who had compromised the renderer proEPSS 6.4%KEVCVE-2026-42533CRITICALNGINX Map directive and Regex matching vulnerabilityEPSS 6.3%CVE-2025-60724CRITICALGDI+ Remote Code Execution VulnerabilityEPSS 6.3%CVE-2016-2123HIGHA flaw was found in samba versions 4.0.0 to 4.5.2. The Samba routine ndr_pull_dnsp_name contains an integer wrap problem, leading to an attaEPSS 6.2%CVE-2024-30051HIGHWindows DWM Core Library Elevation of Privilege VulnerabilityEPSS 6.2%KEVCVE-2016-1762HIGHThe xmlNextChar function in libxml2 before 2.9.4 allows remote attackers to cause a denial of service (heap-based buffer over-read) via a crEPSS 6.1%CVE-2023-35630HIGHInternet Connection Sharing (ICS) Remote Code Execution VulnerabilityEPSS 6.1%CVE-2020-8899CRITICALMemory corruption in Quram library when decoding qmg can lead to RCEEPSS 6.1%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 6.0%