Weaknesses of type CWE-122

3,189 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-30095HIGHWindows Routing and Remote Access Service (RRAS) Remote Code Execution VulnerabilityEPSS 1.0%CVE-2023-2905—Cesanta Mongoose MQTT Message Parsing Heap OverflowEPSS 1.0%CVE-2023-2157MEDIUMA heap-based buffer overflow vulnerability was found in the ImageMagick package that can lead to the application crashing.EPSS 1.0%CVE-2026-55005HIGHMicrosoft Exchange Server Remote Code Execution VulnerabilityEPSS 1.0%CVE-2024-3516HIGHHeap buffer overflow in ANGLE in Google Chrome prior to 123.0.6312.122 allowed a remote attacker to potentially exploit heap corruption via EPSS 1.0%CVE-2022-0518MEDIUMHeap-based Buffer Overflow in radareorg/radare2EPSS 1.0%CVE-2024-38032HIGHMicrosoft Xbox Remote Code Execution VulnerabilityEPSS 1.0%CVE-2026-91104CRITICALHP Linux Imaging and Printing (HPLIP) Software– Multiple VulnerabilitiesEPSS 1.0%CVE-2026-69408CRITICALMicrosoft Windows Media Foundation Remote Code Execution VulnerabilityEPSS 1.0%CVE-2025-9019LOWtcpreplay tcpprep cidr.c mask_cidr6 heap-based overflowEPSS 1.0%CVE-2026-69493CRITICALWindows Event Logging Service Remote Code Execution VulnerabilityEPSS 1.0%CVE-2026-69824CRITICALMicrosoft Standard XPS Remote Code Execution VulnerabilityEPSS 1.0%CVE-2024-6246CRITICALWyze Cam v3 Realtek Wi-Fi Driver Heap-Based Buffer Overflow Remote Code Execution VulnerabilityEPSS 1.0%CVE-2025-3712HIGHATEN LCD KVM over IP Switch CL5708IM - Heap-based Buffer OverflowEPSS 1.0%CVE-2025-3713HIGHATEN LCD KVM over IP Switch CL5708IM - Heap-based Buffer OverflowEPSS 1.0%CVE-2024-8948MEDIUMMicroPython objint.c mpz_as_bytes heap-based overflowEPSS 1.0%CVE-2017-7908—A heap-based buffer overflow exists in the third-party product Gigasoft, v5 and prior, included in GE Communicator 3.15 and prior. A malicioEPSS 1.0%CVE-2025-49757HIGHWindows Routing and Remote Access Service (RRAS) Remote Code Execution VulnerabilityEPSS 1.0%CVE-2024-21330HIGHOpen Management Infrastructure (OMI) Elevation of Privilege VulnerabilityEPSS 1.0%CVE-2024-43518HIGHWindows Telephony Server Remote Code Execution VulnerabilityEPSS 1.0%