Weaknesses of type CWE-121

3,825 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-2025-5855HIGHTenda AC6 SetRebootTimer formSetRebootTimer stack-based overflowEPSS 1.0%CVE-2024-35279HIGHA stack-based buffer overflow [CWE-121] vulnerability in Fortinet FortiOS version 7.2.4 through 7.2.8 and version 7.4.0 through 7.4.4 allowsEPSS 1.0%CVE-2023-51631MEDIUMD-Link DIR-X3260 prog.cgi SetUsersSettings Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 1.0%CVE-2023-6322HIGHStack-based buffer overflow in message parser functionalityEPSS 1.0%CVE-2026-7546CRITICALTotolink NR1800X lighttpd find_host_ip stack-based overflowEPSS 1.0%CVE-2026-77946CRITICALTRENDnet TEW-821DAP NTP Timezone Configuration apply_time.cgi uci_safe_get stack-based overflowEPSS 1.0%CVE-2026-76008CRITICALComfast CF-N1-S URI Parameter Parsing mbox-config get_para_from_uri stack-based overflowEPSS 1.0%CVE-2023-35055HIGHA buffer overflow vulnerability exists in the httpd next_page functionality of Yifan YF325 v1.0_20221108. A specially crafted network requesEPSS 1.0%CVE-2023-35056HIGHA buffer overflow vulnerability exists in the httpd next_page functionality of Yifan YF325 v1.0_20221108. A specially crafted network requesEPSS 1.0%CVE-2010-20122CRITICALXftp FTP Client <= 3.0 PWD Response Buffer OverflowEPSS 1.0%CVE-2026-3976HIGHTenda W3 POST Parameter WifiMacFilterSet formWifiMacFilterSet stack-based overflowEPSS 1.0%CVE-2026-4008HIGHTenda W3 POST Parameter wifiSSIDset stack-based overflowEPSS 1.0%CVE-2026-3807HIGHTenda FH1202 AdvSetWrlsafeset formWrlsafeset stack-based overflowEPSS 1.0%CVE-2025-5978HIGHTenda FH1202 VirtualSer fromVirtualSer stack-based overflowEPSS 1.0%CVE-2025-14964CRITICALTOTOLINK T10 cstecgi.cgi sprintf stack-based overflowEPSS 1.0%CVE-2026-3971HIGHTenda i3 wifiSSIDset formwrlSSIDset stack-based overflowEPSS 1.0%CVE-2026-3801HIGHTenda i3 setAutoPing formSetAutoPing stack-based overflowEPSS 1.0%CVE-2026-3973HIGHTenda W3 POST Parameter setAutoPing formSetAutoPing stack-based overflowEPSS 1.0%CVE-2025-5934HIGHNetgear EX3700 mtd sub_41619C stack-based overflowEPSS 1.0%CVE-2026-4902HIGHTenda AC5 POST Request addressNat fromAddressNat memory corruptionEPSS 1.0%