Weaknesses of type CWE-122

3,195 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-2026-42904CRITICALWindows TCP/IP Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2026-23827HIGHUnauthenticated Remote Code Execution via Heap Buffer Overflow in Network Management ServiceEPSS 0.5%CVE-2025-24050HIGHWindows Hyper-V Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2025-24048HIGHWindows Hyper-V Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2022-3234HIGHHeap-based Buffer Overflow in vim/vimEPSS 0.5%CVE-2025-2757MEDIUMOpen Asset Import Library Assimp MD5 File MD5Parser.cpp AI_MD5_PARSE_STRING_IN_QUOTATION heap-based overflowEPSS 0.5%CVE-2026-8509HIGHHeap buffer overflow in WebML in Google Chrome prior to 148.0.7778.168 allowed a remote attacker to execute arbitrary code inside a sandbox EPSS 0.5%CVE-2026-9119HIGHHeap buffer overflow in WebRTC in Google Chrome on prior to 148.0.7778.179 allowed a remote attacker to execute arbitrary code inside a sandEPSS 0.5%CVE-2025-34523CRITICALArcserve UDP < 10.2 Pre-Authentication Heap OverflowEPSS 0.5%CVE-2026-12725MEDIUMDnsmasq: dnsmasq: heap buffer overflow in log_query() when logging unsupported ds/dnskey repliesEPSS 0.5%CVE-2025-62608MEDIUMMLX has heap-buffer-overflow in load()EPSS 0.5%CVE-2026-79377HIGHA heap overflow in the a2dp_decoder_sbc.cpp component of Bestechnic Co., Ltd BES2300 Bluetooth Audio SoC firmware v3.x and earlier allows atEPSS 0.5%CVE-2024-43528HIGHWindows Secure Kernel Mode Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2023-33152HIGHMicrosoft ActiveX Remote Code Execution VulnerabilityEPSS 0.5%CVE-2025-53737HIGHMicrosoft Excel Remote Code Execution VulnerabilityEPSS 0.5%CVE-2024-30806MEDIUMAn issue was discovered in Bento4 v1.6.0-641-2-g1529b83. There is a heap overflow in AP4_Dec3Atom::AP4_Dec3Atom at Ap4Dec3Atom.cpp, leading EPSS 0.5%CVE-2024-5301HIGHKofax Power PDF PSD File Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.5%CVE-2025-47436MEDIUMApache ORC: Potential Heap Buffer Overflow during C++ LZO DecompressionEPSS 0.5%CVE-2026-22697HIGHCryptoLib Has Heap Buffer Overflow Vulnerability in KMC Base64 Decode Handling (KMC JSON base64ciphertext/base64cleartext)EPSS 0.5%CVE-2026-2597HIGHCrypt::SysRandom::XS versions before 0.010 for Perl is vulnerable to a heap buffer overflow in the XS function random_bytes()EPSS 0.5%