Fallos del tipo CWE-121

3823 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-2024-3878HIGHTenda F1202 webExcptypemanFilter fromwebExcptypemanFilter stack-based overflowEPSS 1.7%CVE-2013-10057HIGHSynactis PDF In-The-Box ConnectToSynactic Stack-Based Buffer OverflowEPSS 1.7%CVE-2024-0534HIGHTenda A15 Web-based Management Interface SetOnlineDevName stack-based overflowEPSS 1.7%CVE-2024-0531HIGHTenda A15 Web-based Management Interface setBlackRule stack-based overflowEPSS 1.7%CVE-2022-40149MEDIUMStack Buffer Overflow in JettisonEPSS 1.7%CVE-2024-3909HIGHTenda AC500 execCommand formexeCommand stack-based overflowEPSS 1.7%CVE-2025-7544HIGHTenda AC1206 setMacFilterCfg formSetMacFilterCfg stack-based overflowEPSS 1.7%CVE-2024-2976HIGHTenda F1203 execCommand R7WebsSecurityHandler stack-based overflowEPSS 1.7%CVE-2024-2979HIGHTenda F1203 openSchedWifi setSchedWifi stack-based overflowEPSS 1.7%CVE-2023-4527MEDIUMGlibc: stack read overflow in getaddrinfo in no-aaaa modeEPSS 1.7%CVE-2024-0991HIGHTenda i6 httpd setcfm formSetCfm stack-based overflowEPSS 1.7%CVE-2024-0994HIGHTenda W6 httpd setcfm formSetCfm stack-based overflowEPSS 1.7%CVE-2024-0995HIGHTenda W6 httpd wifiSSIDset formwrlSSIDset stack-based overflowEPSS 1.7%CVE-2024-0992HIGHTenda i6 httpd wifiSSIDset formwrlSSIDset stack-based overflowEPSS 1.7%CVE-2024-0990HIGHTenda i6 httpd setAutoPing formSetAutoPing stack-based overflowEPSS 1.7%CVE-2024-0993HIGHTenda i6 httpd WifiMacFilterGet formWifiMacFilterGet stack-based overflowEPSS 1.7%CVE-2024-3906HIGHTenda AC500 QuickIndex formQuickIndex stack-based overflowEPSS 1.7%CVE-2011-10008HIGHMPlayer Lite r33064 M3U Stack-Based Buffer OverflowEPSS 1.7%CVE-2024-2490HIGHTenda AC18 openSchedWifi setSchedWifi stack-based overflowEPSS 1.6%CVE-2024-2489HIGHTenda AC18 SetNetControlList formSetQosBand stack-based overflowEPSS 1.6%