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-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-2022-2915—A Heap-based Buffer Overflow vulnerability in the SonicWall SMA100 appliance allows a remote authenticated attacker to cause Denial of ServiEPSS 6.7%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-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.5%CVE-2022-30650HIGHAdobe InCopy Font Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 6.4%CVE-2022-30661HIGHAdobe InDesign Font Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 6.4%CVE-2022-30658HIGHAdobe InDesign Font Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 6.4%CVE-2022-30654HIGHAdobe InCopy Font Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 6.4%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-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-2023-35630HIGHInternet Connection Sharing (ICS) Remote Code Execution VulnerabilityEPSS 6.1%CVE-2021-28608HIGHAdobe After Effects heap corruption vulnerability could lead to arbitrary code executionEPSS 5.9%CVE-2025-60724CRITICALGDI+ Remote Code Execution VulnerabilityEPSS 5.9%CVE-2025-0434HIGHOut of bounds memory access in V8 in Google Chrome prior to 132.0.6834.83 allowed a remote attacker to potentially exploit heap corruption vEPSS 5.9%CVE-2020-8899CRITICALMemory corruption in Quram library when decoding qmg can lead to RCEEPSS 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%