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-26994—A vulnerability has been identified in JT2Go (All versions < V13.1.0), Teamcenter Visualization (All versions < V13.1.0). Affected applicatiEPSS 2.1%CVE-2021-46648HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley MicroStation CONNECT 10.16.0.80. UEPSS 2.1%CVE-2021-46653HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley View 10.15.0.75. User interaction EPSS 2.1%CVE-2021-46647HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley MicroStation CONNECT 10.16.0.80. UEPSS 2.1%CVE-2021-34327—A vulnerability has been identified in JT2Go (All versions < V13.2), Solid Edge SE2021 (All Versions < SE2021MP5), Teamcenter Visualization EPSS 2.1%CVE-2024-38025HIGHMicrosoft Windows Performance Data Helper Library Remote Code Execution VulnerabilityEPSS 2.1%CVE-2024-49089HIGHWindows Routing and Remote Access Service (RRAS) Remote Code Execution VulnerabilityEPSS 2.1%CVE-2021-22641—A heap-based buffer overflow issue has been identified in the way the application processes project files, allowing an attacker to craft a sEPSS 2.1%CVE-2020-25181—WECON PLC Editor Versions 1.3.8 and prior has a heap-based buffer overflow vulnerabilities have been identified that may allow arbitrary codEPSS 2.1%CVE-2023-37328HIGHGStreamer PGS File Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 2.1%CVE-2022-1253HIGHHeap-based Buffer Overflow in strukturag/libde265EPSS 2.1%CVE-2021-34945HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley View 10.15.0.75. User interaction EPSS 2.0%CVE-2021-46577HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley MicroStation CONNECT 10.16.0.80. UEPSS 2.0%CVE-2020-15158HIGHHeap buffer overflow in libIEC61850EPSS 2.0%CVE-2025-23317CRITICALNVIDIA Triton Inference Server contains a vulnerability in the HTTP server, where an attacker could start a reverse shell by sending a speciEPSS 2.0%CVE-2022-0318MEDIUMHeap-based Buffer Overflow in vim/vimEPSS 2.0%CVE-2024-26166HIGHMicrosoft WDAC OLE DB provider for SQL Server Remote Code Execution VulnerabilityEPSS 2.0%CVE-2024-26214HIGHMicrosoft WDAC SQL Server ODBC Driver Remote Code Execution VulnerabilityEPSS 2.0%CVE-2022-34819CRITICALA vulnerability has been identified in SIMATIC CP 1242-7 V2 (All versions < V3.3.46), SIMATIC CP 1243-1 (All versions < V3.3.46), SIMATIC CPEPSS 2.0%CVE-2025-2618CRITICALD-Link DAP-1620 Path api set_ws_action heap-based overflowEPSS 2.0%