Weaknesses of type CWE-122

3,188 results

Transbordamento de heap (heap overflow)

Ocorre quando um programa escreve dados além dos limites de um buffer alocado dinamicamente na memória heap, sobrescrevendo dados adjacentes ou metadados do alocador. Isso permite que um atacante corrompa estruturas críticas, execute código arbitrário ou cause travamento da aplicação.

Example

Uma função recebe um tamanho de entrada sem validar e copia para um buffer: `strcpy(heap_buffer, user_input)` sem verificar se user_input cabe. Se o usuário enviar 1000 bytes para um buffer de 256, o overflow sobrescreve estruturas próximas no heap e pode ser explorado para RCE.

How to mitigate

Use funções seguras de cópia (`strncpy`, `strlcpy`), valide e limite o tamanho da entrada antes de copiar, e considere usar linguagens com gerenciamento automático de memória ou ferramentas como AddressSanitizer durante testes para detectar overflows.

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-30658HIGHAdobe InDesign 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-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-2025-51089MEDIUMTenda AC8V4 V16.03.34.06` was discovered to contain heap overflow at /goform/GetParentControlInfo.The manipulation of the argument `mac` leaEPSS 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-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%