Fallos del tipo CWE-122

3195 resultados

Estouro de heap

É quando o código escreve dados além dos limites de um buffer alocado no heap (memória dinâmica), sobrescrevendo dados de outras estruturas adjacentes. Esse estouro pode corromper metadados do heap, variáveis vizinhas ou objetos do programa, permitindo execução de código arbitrário ou negação de serviço.

Ejemplo

Um servidor web recebe uma string de tamanho arbitrário e a copia para um buffer de 256 bytes sem validar o comprimento (ex: strcpy em C). Se o atacante enviar 500 bytes, o restante escreve além da zona alocada, corrompendo estruturas próximas e potencialmente ganhando controle do fluxo.

Cómo mitigar

Use funções seguras (strncpy, strlcpy, snprintf em C) que respeitam limites de tamanho; valide e sanitize entrada do usuário antes de copiar; ative proteções do SO (ASLR, DEP/NX); use linguagens de memória segura quando possível; aplique verificações de limites em loops de cópia.

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%