Weaknesses of type CWE-122

3,210 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-49430HIGHKernel heap overflow in ZFS_IOC_RECV_NEW ioctlEPSS 0.2%CVE-2026-30931MEDIUMImageMagick has a heap-based buffer overflow in UHDR encoderEPSS 0.2%CVE-2025-46373HIGHA Heap-based Buffer Overflow vulnerability [CWE-122] vulnerability in Fortinet FortiClientWindows 7.4.0 through 7.4.3, FortiClientWindows 7.EPSS 0.2%CVE-2026-35590MEDIUMPossible out-of-bounds read leading to crash when decoding well-crafted EXIF metadataEPSS 0.2%CVE-2026-54000HIGHosquery: Heap buffer overflow in `getProcessCurrentDirectory()` via `processes` table (Windows)EPSS 0.2%CVE-2026-81474HIGHDell OpenManage Server Administrator, versions prior to 11.1.0.3, contains a Heap-based Buffer Overflow vulnerability. A low privileged attaEPSS 0.2%CVE-2026-49429HIGHKernel heap overflow in ZFS_IOC_USERSPACE_MANY ioctlEPSS 0.2%CVE-2026-23750HIGHGolioth Pouch (prior to commit 1b2219a1) BLE GATT Heap-based Buffer OverflowEPSS 0.2%CVE-2026-54001HIGHosquery: Heap buffer overflow via `authenticode` table (Windows)EPSS 0.2%CVE-2025-8300HIGHRealtek rtl81xx SDK Wi-Fi Driver rtwlanu Heap-based Buffer Overflow Local Privilege Escalation VulnerabilityEPSS 0.2%CVE-2026-18938MEDIUMP11-kit: integer overflow in rpc attribute-array length calculation can under-allocate nested attribute storage on 32 bit systemsEPSS 0.2%CVE-2025-8301HIGHRealtek RTL8811AU rtwlanu.sys N6CSet_DOT11_CIPHER_DEFAULT_KEY Heap-based Buffer Overflow Local Privilege Escalation VulnerabilityEPSS 0.2%CVE-2025-8302HIGHRealtek rtl81xx SDK Wi-Fi Driver rtwlanu Heap-based Buffer Overflow Local Privilege Escalation VulnerabilityEPSS 0.2%CVE-2025-8299HIGHRealtek rtl81xx SDK Wi-Fi Driver MgntActSet_TEREDO_SET_RS_PACKET Heap-based Buffer Overflow Local Privilege Escalation VulnerabilityEPSS 0.2%CVE-2026-30936MEDIUMImageMagick has a heap Buffer Overflow in WaveletDenoiseImageEPSS 0.1%CVE-2026-21488MEDIUMiccDEV has Out-of-bounds Read, Heap-based Buffer Overflow and Improper Null TerminationEPSS 0.1%CVE-2025-20741MEDIUMIn wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local escalation of privilegEPSS 0.1%CVE-2026-33987HIGHFreeRDP: Persistent Cache bmpSize Desync - Heap OOB WriteEPSS 0.1%CVE-2024-46993MEDIUMElectron Vulnerable to Heap Buffer Overflow in NativeImage::CreateFromPathEPSS 0.1%CVE-2026-20480MEDIUMIn Audio HAL, there is a possible out of bounds write due to a heap buffer overflow. This could lead to local denial of service with User exEPSS 0.1%