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-2025-54219HIGHInCopy | Heap-based Buffer Overflow (CWE-122)EPSS 0.3%CVE-2025-54220HIGHInCopy | Heap-based Buffer Overflow (CWE-122)EPSS 0.3%CVE-2024-34771HIGHA vulnerability has been identified in Solid Edge (All versions < V224.0 Update 2). The affected application is vulnerable to heap-based bufEPSS 0.3%CVE-2025-6660HIGHPDF-XChange Editor GIF File Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.3%CVE-2024-45306MEDIUMheap-buffer-overflow in VimEPSS 0.3%CVE-2025-2849MEDIUMUPX p_lx_elf.cpp un_DT_INIT heap-based overflowEPSS 0.3%CVE-2025-48379HIGHPillow Vulnerable to Write Buffer Overflow on BCn encodingEPSS 0.3%CVE-2025-30295HIGHAdobe Framemaker | Heap-based Buffer Overflow (CWE-122)EPSS 0.3%CVE-2025-2924MEDIUMHDF5 H5HLcache.c H5HL__fl_deserialize heap-based overflowEPSS 0.3%CVE-2025-2915MEDIUMHDF5 H5Faccum.c H5F__accum_free heap-based overflowEPSS 0.3%CVE-2026-19499HIGHBuffer overflow in strfmon and strfmon_l right-justification paddingEPSS 0.3%CVE-2025-12204MEDIUMKamailio Configuration File rvalue.c rve_destroy heap-based overflowEPSS 0.3%CVE-2024-43802MEDIUMheap-buffer-overflow in ins_typebuf() in Vim < 9.1.0697EPSS 0.3%CVE-2025-20712HIGHIn wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to remote (proximal/adjacent) eEPSS 0.3%CVE-2026-50375MEDIUMDirectX Graphics Kernel Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-27301MEDIUMAdobe Framemaker | Heap-based Buffer Overflow (CWE-122)EPSS 0.3%CVE-2025-21169HIGHSubstance3D - Designer | Heap-based Buffer Overflow (CWE-122)EPSS 0.3%CVE-2025-24439HIGHSubstance3D - Sampler | Heap-based Buffer Overflow (CWE-122)EPSS 0.3%CVE-2026-27286MEDIUMInDesign Desktop | Heap-based Buffer Overflow (CWE-122)EPSS 0.3%CVE-2025-27173HIGHSubstance3D - Modeler | Heap-based Buffer Overflow (CWE-122)EPSS 0.3%