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-2024-26159HIGHMicrosoft ODBC Driver Remote Code Execution VulnerabilityEPSS 1.9%CVE-2017-6037—A Heap-Based Buffer Overflow issue was discovered in Wecon Technologies LEVI Studio HMI Editor before 1.8.1. This vulnerability causes a bufEPSS 1.9%CVE-2017-16717—A Heap-based Buffer Overflow issue was discovered in WECON LeviStudio HMI. The heap-based buffer overflow vulnerability has been identified,EPSS 1.9%CVE-2023-29363CRITICALWindows Pragmatic General Multicast (PGM) Remote Code Execution VulnerabilityEPSS 1.9%CVE-2021-34313—A vulnerability has been identified in JT2Go (All versions < V13.2), Teamcenter Visualization (All versions < V13.2). The Tiff_loader.dll liEPSS 1.9%CVE-2018-1124HIGHprocps-ng before version 3.3.15 is vulnerable to multiple integer overflows leading to a heap corruption in file2strvec function. This allowEPSS 1.9%CVE-2022-43602HIGHMultiple code execution vulnerabilities exist in the IFFOutput::close() functionality of OpenImageIO Project OpenImageIO v2.4.4.2. A specialEPSS 1.9%CVE-2021-34938HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley View 10.15.0.75. User interaction EPSS 1.9%CVE-2018-14794—Fuji Electric Alpha5 Smart Loader Versions 3.7 and prior. The device does not perform a check on the length/size of a project file before coEPSS 1.9%CVE-2026-41096CRITICALWindows DNS Client Remote Code Execution VulnerabilityEPSS 1.9%CVE-2020-13572CRITICALA heap overflow vulnerability exists in the way the GIF parser decodes LZW compressed streams in Accusoft ImageGear 19.8. A specially crafteEPSS 1.9%CVE-2025-59295HIGHWindows URL Parsing Remote Code Execution VulnerabilityEPSS 1.9%CVE-2024-30017HIGHWindows Hyper-V Remote Code Execution VulnerabilityEPSS 1.9%CVE-2016-8654HIGHA heap-buffer overflow vulnerability was found in QMFB code in JPC codec caused by buffer being allocated with too small size. jasper versioEPSS 1.9%CVE-2025-49683HIGHMicrosoft Virtual Hard Disk Remote Code Execution VulnerabilityEPSS 1.9%CVE-2020-25843HIGHCHANGING Inc. NHIServiSignAdapter Windows Versions - Heap OverflowEPSS 1.9%CVE-2021-34317—A vulnerability has been identified in JT2Go (All versions < V13.2), Teamcenter Visualization (All versions < V13.2). The BMP_loader.dll libEPSS 1.9%CVE-2021-34312—A vulnerability has been identified in JT2Go (All versions < V13.2), Teamcenter Visualization (All versions < V13.2). The Tiff_loader.dll liEPSS 1.9%CVE-2013-7353MEDIUMInteger overflow in the png_set_unknown_chunks function in libpng/pngset.c in libpng before 1.5.14beta08 allows context-dependent attackers EPSS 1.9%CVE-2021-41253MEDIUMPossible heap buffer overflow when using zycore string functions in formatter hooksEPSS 1.9%