Weaknesses of type CWE-121

3,823 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-2024-0572HIGHTotolink LR1200GB cstecgi.cgi setOpModeCfg stack-based overflowEPSS 1.3%CVE-2024-8230HIGHTenda O6 setMacFilterList fromSafeSetMacFilter stack-based overflowEPSS 1.3%CVE-2025-4809HIGHTenda AC7 setMacFilterCfg fromSafeSetMacFilter stack-based overflowEPSS 1.3%CVE-2022-3386CRITICAL Advantech R-SeeNet Versions 2.4.17 and prior are vulnerable to a stack-based buffer overflow. An unauthorized attacker can use an outsized EPSS 1.3%CVE-2022-3385CRITICAL Advantech R-SeeNet Versions 2.4.17 and prior are vulnerable to a stack-based buffer overflow. An unauthorized attacker can remotely overfloEPSS 1.3%CVE-2026-4254CRITICALTenda AC8 HTTP Endpoint SysToolChangePwd doSystemCmd stack-based overflowEPSS 1.3%CVE-2026-4213HIGHD-Link DNS-1550-04 gui_mgr.cgi cgi_myfavorite_verify stack-based overflowEPSS 1.3%CVE-2024-11745HIGHTenda AC8 SetStaticRouteCfg route_static_check stack-based overflowEPSS 1.3%CVE-2023-51626HIGHD-Link DCS-8300LHV2 RTSP ValidateAuthorizationHeader Username Stack-Based Buffer Overflow Remote Code Execution VulnerabilityEPSS 1.3%CVE-2024-2815HIGHTenda AC15 Cookie execCommand R7WebsSecurityHandler stack-based overflowEPSS 1.3%CVE-2024-2806HIGHTenda AC15 addWifiMacFilter stack-based overflowEPSS 1.3%CVE-2024-2813HIGHTenda AC15 fast_setting_wifi_set form_fast_setting_wifi_set stack-based overflowEPSS 1.3%CVE-2023-51624HIGHD-Link DCS-8300LHV2 RTSP ValidateAuthorizationHeader Nonce Stack-Based Buffer Overflow Remote Code Execution VulnerabilityEPSS 1.3%CVE-2024-2814HIGHTenda AC15 DhcpListClient fromDhcpListClient stack-based overflowEPSS 1.3%CVE-2024-2810HIGHTenda AC15 WifiWpsOOB formWifiWpsOOB stack-based overflowEPSS 1.3%CVE-2022-32502MEDIUMAn issue was discovered on certain Nuki Home Solutions devices. There is a buffer overflow over the encrypted token parsing logic in the HTTEPSS 1.3%CVE-2022-22989CRITICALPre-authenticated stack overflow vulnerability on FTP ServiceEPSS 1.3%CVE-2024-33599HIGHnscd: Stack-based buffer overflow in netgroup cacheEPSS 1.3%CVE-2025-5969HIGHD-Link DIR-632 HTTP POST Request biurl_grou FUN_00425fd8 stack-based overflowEPSS 1.3%CVE-2021-1573HIGHCisco Adaptive Security Appliance Software and Firepower Threat Defense Software Web Services Denial of Service VulnerabilityEPSS 1.3%