Weaknesses of type CWE-122

3,202 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-1273HIGHPDF File Parsing Heap-Based Overflow VulnerabilityEPSS 0.2%CVE-2026-77652HIGHDia: dia: heap buffer overflow in wpg colormap parser via out-of-bounds palette indexEPSS 0.2%CVE-2026-47749HIGHstable-diffusion.cpp: Heap buffer overflow in SHORT_BINUNICODE parsing for PyTorch checkpoint filesEPSS 0.2%CVE-2024-54093HIGHA vulnerability has been identified in Solid Edge SE2024 (All versions < V224.0 Update 5). The affected application is vulnerable to heap-baEPSS 0.2%CVE-2025-61553HIGHAn out-of-bounds write in VirtIO network device emulation in BitVisor from commit 108df6 (2020-05-20) to commit 480907 (2025-07-06) allows lEPSS 0.2%CVE-2024-54094HIGHA vulnerability has been identified in Solid Edge SE2024 (All versions < V224.0 Update 5). The affected application is vulnerable to heap-baEPSS 0.2%CVE-2025-10504MEDIUMHeap Memory Corruption VulnerabilityEPSS 0.2%CVE-2023-42848HIGHThe issue was addressed with improved bounds checks. This issue is fixed in watchOS 10.1, macOS Sonoma 14.1, tvOS 17.1, iOS 16.7.2 and iPadOEPSS 0.2%CVE-2025-68469LOWImageMagick vulnerable to heap-buffer-overflowEPSS 0.2%CVE-2026-8261MEDIUMSquirrel sqobject.cpp Load heap-based overflowEPSS 0.2%CVE-2026-24272HIGHNVIDIA TensorRT contains a vulnerability where an attacker might cause an overflow to a heap-based buffer. A successful exploit of this vulnEPSS 0.2%CVE-2022-34400HIGH Dell BIOS contains a heap buffer overflow vulnerability. A local attacker with admin privileges could potentially exploit this vulnerabilitEPSS 0.2%CVE-2025-24477MEDIUMA heap-based buffer overflow vulnerability in Fortinet FortiOS 7.6.0 through 7.6.2, FortiOS 7.4.0 through 7.4.7, FortiOS 7.2.4 through 7.2.1EPSS 0.2%CVE-2024-8594HIGHAutodesk AutoCAD MODEL File Parsing Heap-based Buffer Overflow Code Execution VulnerabilityEPSS 0.2%CVE-2025-64524LOWCUPS rastertopclx Filter Vulnerable to Heap Buffer Overflow Leading to Potential Arbitrary Code ExecutionEPSS 0.2%CVE-2025-63701MEDIUMA heap corruption vulnerability exists in the Advantech TP-3250 printer driver's DrvUI_x64_ADVANTECH.dll (v0.3.9200.20789) when DocumentPropEPSS 0.2%CVE-2026-48065MEDIUMpam_usb: Unchecked integer multiplication before xmalloc() in conf.c allows heap-based buffer overflow on 32-bit targetsEPSS 0.2%CVE-2024-0156HIGHDell Digital Delivery, versions prior to 5.2.0.0, contain a Buffer Overflow Vulnerability. A local low privileged attacker could potentiallyEPSS 0.2%CVE-2023-49121HIGHA vulnerability has been identified in Solid Edge SE2023 (All versions < V223.0 Update 10). The affected application is vulnerable to heap-bEPSS 0.2%CVE-2023-40222HIGHAshlar-Vellum Cobalt, Xenon, Argon, Lithium Heap-based Buffer OverflowEPSS 0.2%