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-2022-38750MEDIUMDoS in SnakeYAMLEPSS 1.3%CVE-2024-0997HIGHTotolink N200RE cstecgi.cgi setOpModeCfg stack-based overflowEPSS 1.3%CVE-2024-1003HIGHTotolink N200RE cstecgi.cgi setLanguageCfg stack-based overflowEPSS 1.3%CVE-2024-1000HIGHTotolink N200RE cstecgi.cgi setTracerouteCfg stack-based overflowEPSS 1.3%CVE-2025-7908HIGHD-Link DI-8100 jhttpd ddns.asp sprintf stack-based overflowEPSS 1.3%CVE-2024-1002HIGHTotolink N200RE cstecgi.cgi setIpPortFilterRules stack-based overflowEPSS 1.3%CVE-2022-24290—A vulnerability has been identified in Teamcenter V12.4 (All versions < V12.4.0.13), Teamcenter V13.0 (All versions < V13.0.0.9), TeamcenterEPSS 1.2%CVE-2019-12266HIGHStack buffer overflow in Wyze Cam Pan v2, Cam v2 and Cam v3EPSS 1.2%CVE-2025-11326HIGHTenda AC18 WifiMacFilterSet stack-based overflowEPSS 1.2%CVE-2025-11327HIGHTenda AC18 SetUpnpCfg stack-based overflowEPSS 1.2%CVE-2025-9360HIGHLinksys RE6250/RE6300/RE6350/RE6500/RE7000/RE9000 accessControlAdd stack-based overflowEPSS 1.2%CVE-2023-24343HIGHD-Link N300 WI-FI Router DIR-605L v2.13B01 was discovered to contain a stack overflow via the curTime parameter at /goform/formSchedule.EPSS 1.2%CVE-2019-18310—A vulnerability has been identified in SPPA-T3000 MS3000 Migration Server (All versions). An attacker with network access to the MS3000 ServEPSS 1.2%CVE-2024-28925HIGHSecure Boot Security Feature Bypass VulnerabilityEPSS 1.2%CVE-2026-7851HIGHD-Link DI-8100 yyxz.asp sprintf stack-based overflowEPSS 1.2%CVE-2022-26009HIGHA stack-based buffer overflow vulnerability exists in the confsrv ucloud_set_node_location functionality of TCL LinkHub Mesh Wi-Fi MS1G_00_0EPSS 1.2%CVE-2022-23399HIGHA stack-based buffer overflow vulnerability exists in the confsrv set_port_fwd_rule functionality of TCL LinkHub Mesh Wifi MS1G_00_01.00_14.EPSS 1.2%CVE-2023-32149HIGHD-Link DIR-2640 prog.cgi Request Handling Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 1.2%CVE-2024-11061HIGHTenda AC10 fast_setting_wifi_set FUN_0044db3c stack-based overflowEPSS 1.2%CVE-2025-6370HIGHD-Link DIR-619L formWlanGuestSetup stack-based overflowEPSS 1.2%