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-41438MEDIUMA heap buffer overflow in the function cp_stored() (/vendor/cute_png.h) of hicolor v0.5.0 allows attackers to cause a Denial of Service (DoSEPSS 0.8%CVE-2025-21256MEDIUMWindows Digital Media Elevation of Privilege VulnerabilityEPSS 0.8%CVE-2025-49676HIGHWindows Routing and Remote Access Service (RRAS) Remote Code Execution VulnerabilityEPSS 0.8%CVE-2025-49672HIGHWindows Routing and Remote Access Service (RRAS) Remote Code Execution VulnerabilityEPSS 0.8%CVE-2025-8178HIGHTenda AC10 RequestsProcessLaid heap-based overflowEPSS 0.8%CVE-2023-23582MEDIUM Snap One Wattbox WB-300-IP-3 versions WB10.9a17 and prior are vulnerable to a heap-based buffer overflow, which could allow an attacker to EPSS 0.8%CVE-2026-55191HIGHFreeRDP: Heap-buffer-overflow write in AVC444 YUV buffer allocationEPSS 0.8%CVE-2025-3277MEDIUMAn integer overflow can be triggered in SQLite’s `concat_ws()` function. The resulting, truncated integer is then used to allocate a buffer.EPSS 0.8%CVE-2024-38169HIGHMicrosoft Office Visio Remote Code Execution VulnerabilityEPSS 0.8%CVE-2024-49081MEDIUMWireless Wide Area Network Service (WwanSvc) Elevation of Privilege VulnerabilityEPSS 0.8%CVE-2024-49094MEDIUMWireless Wide Area Network Service (WwanSvc) Elevation of Privilege VulnerabilityEPSS 0.8%CVE-2026-67867HIGHBuffer Overflow vulnerability in Systerel S2OPC 1.7.3 allows a remote attacker to cause a denial of service via the Alarm/Conditions wrapperEPSS 0.8%CVE-2026-69511HIGHMicrosoft Windows Media Foundation Remote Code Execution VulnerabilityEPSS 0.8%CVE-2026-47289HIGHRemote Desktop Client Remote Code Execution VulnerabilityEPSS 0.8%CVE-2026-80085HIGHMicrosoft Office Word Remote Code Execution VulnerabilityEPSS 0.8%CVE-2026-69601HIGHMicrosoft Windows Media Foundation Remote Code Execution VulnerabilityEPSS 0.8%CVE-2026-72940HIGHWindows Schannel Remote Code Execution VulnerabilityEPSS 0.8%CVE-2026-54990CRITICALRemote Desktop Client Remote Code Execution VulnerabilityEPSS 0.8%CVE-2026-69772HIGHWindows Network File System Remote Code Execution VulnerabilityEPSS 0.8%CVE-2026-69518HIGHWindows Remote Desktop Remote Code Execution VulnerabilityEPSS 0.8%