Weaknesses of type CWE-121

4,132 results

Estouro de buffer na pilha

Ocorre quando um programa escreve mais dados em um buffer alocado na pilha do que ele pode conter, sobrescrevendo dados adjacentes (variáveis, endereços de retorno, ponteiros). Um atacante pode explorar isso para executar código arbitrário ou causar travamento.

Example

Um programa lê uma string do usuário com gets() ou strcpy() sem validar o tamanho, copiando 500 bytes para um buffer de 64 bytes. O excesso sobrescreve o endereço de retorno da função, permitindo desviar a execução para código malicioso.

How to mitigate

Use funções seguras (strncpy, fgets, snprintf) que aceitam limite de bytes; implemente verificações de limites explícitas no código; ative proteções do compilador/SO (stack canaries, DEP/NX, ASLR); use linguagens com verificação automática de limites ou ferramentas de análise estática.

CVE-2019-10954—Rockwell Automation CompactLogix 5370 Stack-based Buffer OverflowEPSS 6.1%CVE-2019-6550—Advantech WebAccess/SCADA, Versions 8.3.5 and prior. Multiple stack-based buffer overflow vulnerabilities, caused by a lack of proper validaEPSS 6.1%CVE-2024-35387CRITICALTOTOLINK LR350 V9.3.5u.6369_B20220309 was discovered to contain a stack overflow via the http_host parameter in the function loginAuth.EPSS 6.1%CVE-2025-5503HIGHTOTOLINK X15 formMapReboot stack-based overflowEPSS 6.0%CVE-2025-9605CRITICALTenda AC21/AC23 GetParentControlInfo stack-based overflowEPSS 6.0%CVE-2021-28606HIGHAdobe After Effects Stack Overflow vulnerability could lead to arbitrary code executionEPSS 5.9%CVE-2021-28797CRITICALStack Buffer Overflow in Surveillance StationEPSS 5.9%CVE-2021-1167HIGHCisco Small Business RV110W, RV130, RV130W, and RV215W Routers Management Interface Remote Command Execution and Denial of Service VulnerabilitiesEPSS 5.9%CVE-2022-2070CRITICALGrandstream GSD3710 Stack-based Buffer OverflowEPSS 5.8%CVE-2025-61577HIGHD-Link DIR-816A2_FWv1.10CNB05 was discovered to contain a stack overflow via the statuscheckpppoeuser parameter in the dir_setWanWifi functiEPSS 5.8%CVE-2019-8276—UltraVNC revision 1211 has a stack buffer overflow vulnerability in VNC server code inside file transfer request handler, which can result iEPSS 5.7%CVE-2019-8269—UltraVNC revision 1206 has stack-based Buffer overflow vulnerability in VNC client code inside FileTransfer module, which leads to a denial EPSS 5.7%CVE-2021-34991HIGHThis vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of NETGEAR R6400v2 1.0.4.106_10.0.8EPSS 5.7%CVE-2018-8865—In Lantech IDS 2102 2.0 and prior, a stack-based buffer overflow vulnerability has been identified which may allow remote code execution. A EPSS 5.7%CVE-2026-4903HIGHTenda AC5 POST Request QuickIndex formQuickIndex memory corruptionEPSS 5.7%CVE-2022-20700CRITICALCisco Small Business RV Series Routers VulnerabilitiesEPSS 5.7%KEVCVE-2017-3193—Multiple D-Link devices including the DIR-850L firmware versions 1.14B07 and 2.07.B05 contain a stack-based buffer overflow vulnerability inEPSS 5.6%CVE-2025-6110HIGHTenda FH1201 SafeMacFilter stack-based overflowEPSS 5.6%CVE-2024-32293HIGHTenda W30E v1.0 V1.0.1.25(633) firmware has a stack overflow vulnerability via the page parameter in the fromDhcpListClient function.EPSS 5.6%CVE-2022-20706CRITICALCisco Small Business RV Series Routers VulnerabilitiesEPSS 5.6%