Weaknesses of type CWE-121

3,820 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-8269UltraVNC 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-8276UltraVNC 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-3193Multiple 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-9200Schneider 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-10628AVEVA 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-1006A 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%