Falhas do tipo CWE-122

3.729 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-23415CRITICALInternet Control Message Protocol (ICMP) Remote Code Execution VulnerabilityEPSS 3.5%CVE-2022-24795MEDIUMBuffer Overflow and Integer Overflow in yajl-rubyEPSS 3.5%CVE-2020-26986—A vulnerability has been identified in JT2Go (All versions < V13.1.0), Teamcenter Visualization (All versions < V13.1.0). Affected applicatiEPSS 3.4%CVE-2024-38237HIGHKernel Streaming WOW Thunk Service Driver Elevation of Privilege VulnerabilityEPSS 3.4%CVE-2023-38143HIGHWindows Common Log File System Driver Elevation of Privilege VulnerabilityEPSS 3.4%CVE-2022-2848CRITICALThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Kepware KEPServerEX 6.11.718.0. AuthenticaEPSS 3.4%CVE-2024-38242HIGHKernel Streaming Service Driver Elevation of Privilege VulnerabilityEPSS 3.4%CVE-2019-6740CRITICALThis vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Samsung Galaxy S9 prior to January 2019 EPSS 3.3%CVE-2023-21812HIGHWindows Common Log File System Driver Elevation of Privilege VulnerabilityEPSS 3.3%CVE-2021-24036—Passing an attacker controlled size when creating an IOBuf could cause integer overflow, leading to an out of bounds write on the heap with EPSS 3.3%CVE-2024-20677HIGHMicrosoft Office Remote Code Execution VulnerabilityEPSS 3.3%CVE-2022-31144HIGHPotential heap overflow in Redis EPSS 3.2%CVE-2024-20696HIGHWindows libarchive Remote Code Execution VulnerabilityEPSS 3.2%CVE-2023-6779HIGHGlibc: off-by-one heap-based buffer overflow in __vsyslog_internal()EPSS 3.2%CVE-2019-9501HIGHBroadcom wl driver is vulnerable to heap buffer overflowEPSS 3.1%CVE-2022-1381HIGHglobal heap buffer overflow in skip_range in vim/vimEPSS 3.1%CVE-2018-9974—This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit Reader 9.0.1.1049. User interactioEPSS 3.0%CVE-2018-9949—This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit Reader 9.0.0.29935. User interactiEPSS 3.0%CVE-2018-9947—This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit Reader 9.0.0.29935. User interactiEPSS 3.0%CVE-2021-29097HIGHArcGIS general raster security update: buffer overflowEPSS 3.0%