Weaknesses of type CWE-122

3,189 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-2023-7158HIGHMicroPython objslice.c slice_indices heap-based overflowEPSS 1.2%CVE-2023-36793HIGHVisual Studio Remote Code Execution VulnerabilityEPSS 1.2%CVE-2023-35350HIGHWindows Active Directory Certificate Services (AD CS) Remote Code Execution VulnerabilityEPSS 1.2%CVE-2024-3209MEDIUMUPX bele.h get_ne64 heap-based overflowEPSS 1.2%CVE-2025-26668HIGHWindows Routing and Remote Access Service (RRAS) Remote Code Execution VulnerabilityEPSS 1.2%CVE-2020-25667—TIFFGetProfiles() in /coders/tiff.c calls strstr() which causes a large out-of-bounds read when it searches for `"dc:format=\"image/dng\"` wEPSS 1.2%CVE-2022-40660HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of NIKON NIS-Elements Viewer 1.2100.1483.0. UEPSS 1.2%CVE-2022-24672HIGHThis vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Canon imageCLASS MF644Cdw 10.02 EPSS 1.2%CVE-2020-27829—A heap based buffer overflow in coders/tiff.c may result in program crash and denial of service in ImageMagick before 7.0.10-45.EPSS 1.2%CVE-2024-7272MEDIUMFFmpeg swresample.c fill_audiodata heap-based overflowEPSS 1.2%CVE-2025-49666HIGHWindows Server Setup and Boot Event Collection Remote Code Execution VulnerabilityEPSS 1.2%CVE-2023-2804MEDIUMA heap-based buffer overflow issue was discovered in libjpeg-turbo in h2v2_merged_upsample_internal() function of jdmrgext.c file. The vulneEPSS 1.2%CVE-2023-5344MEDIUMHeap-based Buffer Overflow in vim/vimEPSS 1.2%CVE-2023-21799HIGHMicrosoft WDAC OLE DB provider for SQL Server Remote Code Execution VulnerabilityEPSS 1.2%CVE-2024-4559HIGHHeap buffer overflow in WebAudio in Google Chrome prior to 124.0.6367.155 allowed a remote attacker to potentially exploit heap corruption vEPSS 1.2%CVE-2022-1286MEDIUMheap-buffer-overflow in mrb_vm_exec in mruby/mruby in mruby/mrubyEPSS 1.2%CVE-2023-24897HIGH.NET, .NET Framework, and Visual Studio Remote Code Execution VulnerabilityEPSS 1.2%CVE-2025-14905HIGH389-ds-base: 389-ds-base: remote code execution and denial of service via heap buffer overflowEPSS 1.2%CVE-2020-13494MEDIUMA heap overflow vulnerability exists in the Pixar OpenUSD 20.05 parsing of compressed string tokens in binary USD files. A specially craftedEPSS 1.2%CVE-2022-20737HIGHCisco Adaptive Security Appliance Software Clientless SSL VPN Heap Overflow VulnerabilityEPSS 1.2%