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-2024-8193HIGHHeap buffer overflow in Skia in Google Chrome prior to 128.0.6613.113 allowed a remote attacker who had compromised the renderer process to EPSS 0.5%CVE-2026-46752CRITICALApache Kvrocks: Stack buffer overflow in Lua bit.tohex()EPSS 0.5%CVE-2026-81352HIGHWeb Media Extensions Remote Code Execution VulnerabilityEPSS 0.5%CVE-2026-81634HIGHPossible heap buffer overflow during DNSSEC canonicalizationEPSS 0.5%CVE-2024-49508HIGHInDesign Desktop | Heap-based Buffer Overflow (CWE-122)EPSS 0.5%CVE-2024-49507HIGHInDesign Desktop | Heap-based Buffer Overflow (CWE-122)EPSS 0.5%CVE-2025-20726HIGHIn Modem, there is a possible out of bounds write due to an incorrect bounds check. This could lead to remote escalation of privilege, if a EPSS 0.5%CVE-2021-3861HIGHThe RNDIS USB device class includes a buffer overflow vulnerabilityEPSS 0.5%CVE-2025-32718HIGHWindows SMB Client Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2023-35363HIGHWindows Kernel Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2020-14310MEDIUMThere is an issue on grub2 before version 2.06 at function read_section_as_string(). It expects a font name to be at max UINT32_MAX - 1 lengEPSS 0.5%CVE-2026-41445HIGHKissFFT Integer Overflow Heap Buffer Overflow via kiss_fftndr_alloc()EPSS 0.5%CVE-2026-58599HIGHHEVC Video Extensions Remote Code Execution VulnerabilityEPSS 0.5%CVE-2022-2849HIGHHeap-based Buffer Overflow in vim/vimEPSS 0.5%CVE-2026-58600HIGHHEVC Video Extensions Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2022-34241HIGHAdobe Character Animator SVG File Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.5%CVE-2026-45466LOWMicrosoft Word Information Disclosure VulnerabilityEPSS 0.5%CVE-2026-0264HIGHPAN-OS: Heap-Based Buffer Overflow in DNS Proxy and DNS Server Allows Unauthenticated Remote Code ExecutionEPSS 0.5%CVE-2025-49721HIGHWindows Fast FAT File System Driver Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2025-67896HIGHExim before 4.99.1, with certain non-default rate-limit configurations, allows a remote heap-based buffer overflow because database records EPSS 0.5%