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-25589HIGHRedisBloom RESTORE invalid memory access may allow remote code executionEPSS 0.8%CVE-2026-25588HIGHRedisTimeSeries RESTORE invalid memory access may allow remote code executionEPSS 0.8%CVE-2020-10064HIGHImproper Input Frame Validation in ieee802154 ProcessingEPSS 0.8%CVE-2021-31986—User controlled parameters related to SMTP notifications are not correctly validated. This can lead to a buffer overflow resulting in crasheEPSS 0.8%CVE-2020-10646—Fuji Electric V-Server Lite all versions prior to 4.0.9.0 contains a heap based buffer overflow. The buffer allocated to read data, when parEPSS 0.8%CVE-2022-46290CRITICALMultiple out-of-bounds write vulnerabilities exist in the ORCA format nAtoms functionality of Open Babel 3.1.1 and master commit 530dbfa3. AEPSS 0.8%CVE-2022-46289CRITICALMultiple out-of-bounds write vulnerabilities exist in the ORCA format nAtoms functionality of Open Babel 3.1.1 and master commit 530dbfa3. AEPSS 0.8%CVE-2026-32710HIGHHeap-based Buffer Overflow in MariaDBEPSS 0.8%CVE-2026-58264CRITICALFluidSynth: Heap-based buffer overrunEPSS 0.8%CVE-2025-58050MEDIUMPCRE2: heap-buffer-overflow read in match_ref due to missing boundary restoration in SCSEPSS 0.8%CVE-2022-2566CRITICALHeap-memory write in FFMPEGEPSS 0.8%CVE-2026-57087HIGHMicrosoft Windows Media Foundation Remote Code Execution VulnerabilityEPSS 0.8%CVE-2026-49164HIGHWindows Active Directory Domain Services Remote Code Execution VulnerabilityEPSS 0.8%CVE-2020-12819MEDIUMA heap-based buffer overflow vulnerability in the processing of Link Control Protocol messages in FortiGate versions 5.6.12, 6.0.10, 6.2.4 aEPSS 0.8%CVE-2026-8711CRITICALNGINX JavaScript vulnerabilityEPSS 0.8%CVE-2025-62452HIGHWindows Routing and Remote Access Service (RRAS) Remote Code Execution VulnerabilityEPSS 0.8%CVE-2025-60715HIGHWindows Routing and Remote Access Service (RRAS) Remote Code Execution VulnerabilityEPSS 0.8%CVE-2023-5686MEDIUMHeap-based Buffer Overflow in radareorg/radare2EPSS 0.8%CVE-2024-36843HIGHlibmodbus v3.1.6 was discovered to contain a heap overflow via the modbus_mapping_free() function.EPSS 0.8%CVE-2019-16778LOWHeap buffer overflow in `UnsortedSegmentSum` in TensorFlowEPSS 0.8%