Fallos del tipo CWE-121

3825 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-2025-8820HIGHLinksys RE6250/RE6300/RE6350/RE6500/RE7000/RE9000 wirelessBasic stack-based overflowEPSS 1.0%CVE-2025-8832HIGHLinksys RE6250/RE6300/RE6350/RE6500/RE7000/RE9000 setDMZ stack-based overflowEPSS 1.0%CVE-2025-15010CRITICALTenda WH450 SafeUrlFilter stack-based overflowEPSS 1.0%CVE-2025-4007HIGHTenda W12/i24 httpd modules cgidhcpsCfgSet stack-based overflowEPSS 1.0%CVE-2025-9483HIGHLinksys RE6250/RE6300/RE6350/RE6500/RE7000/RE9000 singlePortForwardAdd stack-based overflowEPSS 1.0%CVE-2025-15007CRITICALTenda WH450 HTTP Request L7Im stack-based overflowEPSS 1.0%CVE-2025-9357HIGHLinksys RE6250/RE6300/RE6350/RE6500/RE7000/RE9000 langSwitchByBBS stack-based overflowEPSS 1.0%CVE-2026-5830HIGHTenda AC15 SysToolChangePwd websGetVar stack-based overflowEPSS 1.0%CVE-2025-3803HIGHTenda W12/i24 httpd cgiSysScheduleRebootSet stack-based overflowEPSS 1.0%CVE-2025-9358HIGHLinksys RE6250/RE6300/RE6350/RE6500/RE7000/RE9000 setSysAdm stack-based overflowEPSS 1.0%CVE-2025-9359HIGHLinksys RE6250/RE6300/RE6350/RE6500/RE7000/RE9000 RP_checkCredentialsByBBS stack-based overflowEPSS 1.0%CVE-2026-26732HIGHTOTOLINK A3002RU V2.1.1-B20211108.1455 was discovered to contain a stack-based buffer overflow via the vpnUser or vpnPassword` parameters inEPSS 1.0%CVE-2025-29840HIGHWindows Media Remote Code Execution VulnerabilityEPSS 1.0%CVE-2024-10281HIGHTenda RX9/RX9 Pro SetStaticRouteCfg sub_42EEE0 stack-based overflowEPSS 1.0%CVE-2025-12210HIGHTenda O3 AdvSetLanip GetValue stack-based overflowEPSS 1.0%CVE-2024-6403HIGHTenda A301 SetOnlineDevName formWifiBasicSet stack-based overflowEPSS 1.0%CVE-2022-43630HIGHThis vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-1935 1.03 routers. AuEPSS 1.0%CVE-2022-43622HIGHThis vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-1935 1.03 routers. AuEPSS 1.0%CVE-2024-6402HIGHTenda A301 SetOnlineDevName fromSetWirelessRepeat stack-based overflowEPSS 1.0%CVE-2024-0577HIGHTotolink LR1200GB cstecgi.cgi setLanguageCfg stack-based overflowEPSS 1.0%