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-2016-9580LOWAn integer overflow vulnerability was found in tiftoimage function in openjpeg 2.1.2, resulting in heap buffer overflow.EPSS 2.0%CVE-2022-24942CRITICALHeap-based buffer overflow in MicriumOS HTTP Server allows potential remote code executionEPSS 2.0%CVE-2021-21942CRITICALAn out-of-bounds write vulnerability exists in the TIFF YCbCr image parser functionality of Accusoft ImageGear 19.10. A specially-crafted fiEPSS 2.0%CVE-2021-21962CRITICALA heap-based buffer overflow vulnerability exists in the OTA Update u-download functionality of Sealevel Systems, Inc. SeaConnect 370W v1.3.EPSS 2.0%CVE-2020-27814—A heap-buffer overflow was found in the way openjpeg2 handled certain PNG format files. An attacker could use this flaw to cause an applicatEPSS 2.0%CVE-2023-0667MEDIUMWireshark MSMMS parsing buffer overflowEPSS 2.0%CVE-2021-46606HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley MicroStation CONNECT 10.16.0.80. UEPSS 2.0%CVE-2021-34871HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley View 10.15.0.75. User interaction EPSS 2.0%CVE-2019-5125HIGHAn exploitable heap overflow vulnerability exists in the JPEG2000 parsing functionality of LEADTOOLS 20. A specially crafted J2K image file EPSS 2.0%CVE-2023-36423HIGHMicrosoft Remote Registry Service Remote Code Execution VulnerabilityEPSS 2.0%CVE-2023-33129MEDIUMMicrosoft SharePoint Server Denial of Service VulnerabilityEPSS 2.0%CVE-2016-9581LOWAn infinite loop vulnerability in tiftoimage that results in heap buffer overflow in convert_32s_C1P1 was found in openjpeg 2.1.2.EPSS 2.0%CVE-2024-26210HIGHMicrosoft WDAC OLE DB provider for SQL Server Remote Code Execution VulnerabilityEPSS 2.0%CVE-2022-43599HIGHMultiple code execution vulnerabilities exist in the IFFOutput::close() functionality of OpenImageIO Project OpenImageIO v2.4.4.2. A specialEPSS 2.0%CVE-2024-0040HIGHIn setParameter of MtpPacket.cpp, there is a possible out of bounds read due to a heap buffer overflow. This could lead to remote informatioEPSS 2.0%CVE-2026-62783HIGHWindows Remote Access Connection Manager Elevation of Privilege VulnerabilityEPSS 2.0%CVE-2026-62713HIGHWindows Cloud Files Mini Filter Driver Elevation of Privilege VulnerabilityEPSS 1.9%CVE-2018-6344HIGHA heap corruption in WhatsApp can be caused by a malformed RTP packet being sent after a call is established. The vulnerability can be used EPSS 1.9%CVE-2018-10606—WECON LeviStudio Versions 1.8.29 and 1.8.44 have multiple heap-based buffer overflow vulnerabilities that can be exploited when the applicatEPSS 1.9%CVE-2024-26159HIGHMicrosoft ODBC Driver Remote Code Execution VulnerabilityEPSS 1.9%