Fallos del tipo CWE-121

3820 resultados

Estouro de buffer na pilha

Ocorre quando código escreve dados além dos limites de um buffer alocado na pilha (stack), sobrescrevendo informações críticas como endereços de retorno ou variáveis locais. Um atacante pode explorar isso para executar código arbitrário ou causar crash da aplicação.

Ejemplo

Uma função copia uma string de entrada diretamente em um array de 64 bytes sem validar o tamanho: `char buffer[64]; strcpy(buffer, user_input);` Se o usuário enviar uma string com 200 bytes, ela sobrescreverá o endereço de retorno e pode redirecionar a execução para código malicioso.

Cómo mitigar

Use funções seguras com limite de tamanho (`strncpy`, `snprintf`), valide e sanitize entradas antes de copiar, implemente proteções em tempo de execução (stack canaries, ASLR, DEP) e considere usar linguagens com verificação de limites automática quando possível.

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-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-2025-61577HIGHD-Link DIR-816A2_FWv1.10CNB05 was discovered to contain a stack overflow via the statuscheckpppoeuser parameter in the dir_setWanWifi functiEPSS 5.7%CVE-2022-2070CRITICALGrandstream GSD3710 Stack-based Buffer OverflowEPSS 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-2022-20700CRITICALCisco Small Business RV Series Routers VulnerabilitiesEPSS 5.7%KEVCVE-2025-5503HIGHTOTOLINK X15 formMapReboot stack-based overflowEPSS 5.6%CVE-2021-1167HIGHCisco Small Business RV110W, RV130, RV130W, and RV215W Routers Management Interface Remote Command Execution and Denial of Service VulnerabilitiesEPSS 5.6%CVE-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-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-2014-9200—Schneider Electric Device Type Managers (DTMs) Stack-based Buffer OverflowEPSS 5.6%CVE-2022-20706CRITICALCisco Small Business RV Series Routers VulnerabilitiesEPSS 5.6%CVE-2025-6110HIGHTenda FH1201 SafeMacFilter stack-based overflowEPSS 5.5%CVE-2019-17145HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PhantomPDF 9.6.0.25114. User interacEPSS 5.5%CVE-2026-4903HIGHTenda AC5 POST Request QuickIndex formQuickIndex memory corruptionEPSS 5.5%CVE-2018-10628—AVEVA InTouch 2014 R2 SP1 and prior, InTouch 2017, InTouch 2017 Update 1, and InTouch 2017 Update 2 allow an unauthenticated user to send a EPSS 5.4%CVE-2021-39847HIGHXMP Toolkit SDK Stack-based Buffer Overflow Could Lead To Arbitrary Code ExecutionEPSS 5.4%CVE-2015-1006—A vulnerable file in Opto 22 PAC Project Professional versions prior to R9.4006, PAC Project Basic versions prior to R9.4006, PAC Display BaEPSS 5.3%CVE-2024-11237HIGHTP-Link VN020 F3v(T) DHCP DISCOVER Packet Parser TP-Thumper stack-based overflowEPSS 5.3%CVE-2022-2025CRITICALGrandstream GSD3710 Stack-based Buffer OverflowEPSS 5.3%