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-4391MEDIUMTeamSpeak 3 Server ECC Key heap-based overflowEPSS 0.7%CVE-2023-35374HIGHPaint 3D Remote Code Execution VulnerabilityEPSS 0.7%CVE-2025-27091HIGHOpenH264 Decoding Functions Heap Overflow VulnerabilityEPSS 0.7%CVE-2025-20680CRITICALIn Bluetooth driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local escalation of privilEPSS 0.7%CVE-2026-33984HIGHFreeRDP: ClearCodec resize_vbar_entry() Heap OOB WriteEPSS 0.7%CVE-2023-36771HIGH3D Builder Remote Code Execution VulnerabilityEPSS 0.7%CVE-2023-36772HIGH3D Builder Remote Code Execution VulnerabilityEPSS 0.7%CVE-2026-59134HIGHRemote Desktop Client Remote Code Execution VulnerabilityEPSS 0.7%CVE-2026-61363HIGHRemote Desktop Client Remote Code Execution VulnerabilityEPSS 0.7%CVE-2023-4504HIGHOpenPrinting CUPS/libppd Postscript Parsing Heap OverflowEPSS 0.7%CVE-2023-36740HIGH3D Viewer Remote Code Execution VulnerabilityEPSS 0.7%CVE-2023-36739HIGH3D Viewer Remote Code Execution VulnerabilityEPSS 0.7%CVE-2025-64693CRITICALSecurity Point (Windows) of MaLion and MaLionCloud contains a heap-based buffer overflow vulnerability in processing Content-Length. ReceiviEPSS 0.7%CVE-2023-20081MEDIUMCisco Adaptive Security Appliance Software, Firepower Threat Defense Software, IOS Software, and IOS XE Software IPv6 DHCP (DHCPv6) Client Denial of Service VulnerabilityEPSS 0.7%CVE-2025-1176LOWGNU Binutils ld elflink.c _bfd_elf_gc_mark_rsec heap-based overflowEPSS 0.7%CVE-2025-57740MEDIUMAn Heap-based Buffer Overflow vulnerability [CWE-122] in FortiOS version 7.6.2 and below, version 7.4.7 and below, version 7.2.10 and below,EPSS 0.7%CVE-2024-43526MEDIUMWindows Mobile Broadband Driver Remote Code Execution VulnerabilityEPSS 0.7%CVE-2025-40930HIGHJSON::SIMD before version 1.07 and earlier for Perl has an integer buffer overflow causing a segfault when parsing crafted JSON, enabling denial-of-service attacks or other unspecified impactEPSS 0.7%CVE-2024-43525MEDIUMWindows Mobile Broadband Driver Remote Code Execution VulnerabilityEPSS 0.7%CVE-2025-62220HIGHWindows Subsystem for Linux GUI Remote Code Execution VulnerabilityEPSS 0.7%