Falhas do tipo CWE-122

3.735 resultados

Estouro de heap

Ocorre quando código escreve mais dados do que o espaço alocado em uma região de memória dinâmica (heap), sobrescrevendo dados adjacentes. Um atacante pode explorar isso para corromper estruturas de dados críticas, contornar proteções de segurança ou executar código arbitrário.

Exemplo

Um servidor web aloca 256 bytes para armazenar um nome de usuário, mas copia 512 bytes de uma requisição sem validação. Os 256 bytes extras sobrescrevem ponteiros ou metadados do heap, permitindo execução de código ou negação de serviço.

Como mitigar

Use funções seguras que respeitam limites (strcpy_s, memcpy com tamanho verificado em runtime). Validar e limitar o tamanho de entrada antes de copiar. Ativar proteções como ASLR, stack canaries e ferramentas de sanitização (AddressSanitizer) em desenvolvimento.

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-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-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-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-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-2020-13572CRITICALA heap overflow vulnerability exists in the way the GIF parser decodes LZW compressed streams in Accusoft ImageGear 19.8. A specially crafteEPSS 2.0%CVE-2021-34938HIGHThis 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-2016-9580LOWAn integer overflow vulnerability was found in tiftoimage function in openjpeg 2.1.2, resulting in heap buffer overflow.EPSS 2.0%CVE-2023-36423HIGHMicrosoft Remote Registry Service Remote Code Execution VulnerabilityEPSS 2.0%CVE-2022-41794CRITICALA heap based buffer overflow vulnerability exists in the PSD thumbnail resource parsing code of OpenImageIO 2.3.19.0. A specially-crafted PSEPSS 2.0%CVE-2021-4136HIGHHeap-based Buffer Overflow in vim/vimEPSS 2.0%CVE-2023-33129MEDIUMMicrosoft SharePoint Server Denial of Service VulnerabilityEPSS 2.0%CVE-2020-25843HIGHCHANGING Inc. NHIServiSignAdapter Windows Versions - Heap OverflowEPSS 2.0%