Falhas do tipo CWE-122

3.189 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-2025-21286HIGHWindows Telephony Service Remote Code Execution VulnerabilityEPSS 1.3%CVE-2024-37987HIGHSecure Boot Security Feature Bypass VulnerabilityEPSS 1.3%CVE-2019-9135HIGHDaviewIndy 8.98.7 and earlier versions have a Heap-based overflow vulnerability, triggered when the user opens a malformed DIB format file tEPSS 1.3%CVE-2022-2344HIGHHeap-based Buffer Overflow in vim/vimEPSS 1.3%CVE-2023-5841CRITICALOpenEXR Heap Overflow in Scanline Deep Data ParsingEPSS 1.3%CVE-2023-23400HIGHWindows DNS Server Remote Code Execution VulnerabilityEPSS 1.3%CVE-2026-50330HIGHWindows Remote Desktop Client Elevation of Privilege VulnerabilityEPSS 1.3%CVE-2020-27248HIGHA specially crafted document can cause the document parser to copy data from a particular record type into a static-sized buffer within an oEPSS 1.2%CVE-2023-7104MEDIUMSQLite SQLite3 make alltest sqlite3session.c sessionReadRecord heap-based overflowEPSS 1.2%CVE-2020-27249HIGHA specially crafted document can cause the document parser to copy data from a particular record type into a static-sized buffer within an oEPSS 1.2%CVE-2020-27247HIGHA specially crafted document can cause the document parser to copy data from a particular record type into a static-sized buffer within an oEPSS 1.2%CVE-2020-7829HIGHDaviewIndy Heap-based Buffer Overflow VulnerabilityEPSS 1.2%CVE-2024-30045MEDIUM.NET and Visual Studio Remote Code Execution VulnerabilityEPSS 1.2%CVE-2020-7828HIGHDaviewIndy Heap-based Buffer Overflow VulnerabilityEPSS 1.2%CVE-2022-0570HIGHHeap-based Buffer Overflow in mruby/mrubyEPSS 1.2%CVE-2022-0213MEDIUMHeap-based Buffer Overflow in vim/vimEPSS 1.2%CVE-2021-24042CRITICALThe calling logic for WhatsApp for Android prior to v2.21.23, WhatsApp Business for Android prior to v2.21.23, WhatsApp for iOS prior to v2.EPSS 1.2%CVE-2020-11061MEDIUMHeap-based Buffer Overflow in Bareos DirectorEPSS 1.2%CVE-2023-3430HIGHOpenimageio: heap-buffer-overflow in file src/gif.imageio/gifinput.cppEPSS 1.2%CVE-2019-9136HIGHDaviewIndy 8.98.7 and earlier versions have a Heap-based overflow vulnerability, triggered when the user opens a malformed JPEG2000 format fEPSS 1.2%