Falhas do tipo CWE-121

3.823 resultados

Estouro de buffer na pilha

Ocorre quando código escreve mais dados em um buffer alocado na pilha do que sua capacidade permite, sobrescrevendo dados adjacentes (variáveis, endereços de retorno). Um atacante pode explorar isso para executar código arbitrário ou crashar a aplicação alterando o fluxo de execução.

Exemplo

Uma função C que copia uma string do usuário diretamente em um array local sem validar tamanho: `char buffer[10]; strcpy(buffer, user_input);`. Se user_input tiver 50 caracteres, os 40 extras sobrescrevem a pilha, incluindo potencialmente o endereço de retorno da função.

Como mitigar

Use funções seguras que limitam escrita (strncpy, snprintf em vez de strcpy/sprintf), valide tamanho de entrada antes de copiar, ative proteções do compilador (stack canaries, ASLR) e use ferramentas de análise estática para detectar cópias sem limite.

CVE-2023-2262CRITICALRockwell Automation Select Logix Communication Modules Vulnerable to Email Object Buffer OverflowEPSS 1.3%CVE-2022-40160—Stack Overflow in JXPathEPSS 1.3%CVE-2022-40159—Stack Overflow in JXPathEPSS 1.3%CVE-2026-4567CRITICALTenda A15 UploadCfg stack-based overflowEPSS 1.3%CVE-2025-5619HIGHTenda CH22 addUserName formaddUserName stack-based overflowEPSS 1.3%CVE-2023-33222MEDIUMStack buffer overflow when reading DESFire cardEPSS 1.3%CVE-2024-7152HIGHTenda O3 setMacFilterList fromSafeSetMacFilter stack-based overflowEPSS 1.3%CVE-2026-7273HIGHA stack-based buffer overflow vulnerability in the CGI program of Zyxel GS1900-48HPv2 firmware versions through 2.90(ABTQ.1)C0 could allow aEPSS 1.3%KEVCVE-2025-34108HIGHDisk Pulse Enterprise 9.0.34 Login Stack Buffer OverflowEPSS 1.3%CVE-2020-15417MEDIUMThis vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of NETGEAR R6700 V1.0.4.84_10.0.58 EPSS 1.3%CVE-2025-7909HIGHD-Link DIR-513 Boa Webserver formLanSetupRouterSettings sprintf stack-based overflowEPSS 1.3%CVE-2025-7910HIGHD-Link DIR-513 Boa Webserver formSetWanNonLogin sprintf stack-based overflowEPSS 1.3%CVE-2024-10698HIGHTenda AC6 SetOnlineDevName formSetDeviceName stack-based overflowEPSS 1.3%CVE-2023-41251HIGHA stack-based buffer overflow vulnerability exists in the boa formRoute functionality of Realtek rtl819x Jungle SDK v3.4.11. A specially craEPSS 1.3%CVE-2023-43242HIGHD-Link DIR-816 A2 v1.10CNB05 was discovered to contain a stack overflow via parameter removeRuleList in form2IPQoSTcDel.EPSS 1.3%CVE-2023-43238HIGHD-Link DIR-816 A2 v1.10CNB05 was discovered to contain a stack overflow via parameter nvmacaddr in form2Dhcpip.cgi.EPSS 1.3%CVE-2024-8228HIGHTenda O5 setMacFilterList fromSafeSetMacFilter stack-based overflowEPSS 1.3%CVE-2024-6249HIGHWyze Cam v3 TCP Traffic Handling Stack-Based Buffer Overflow Remote Code Execution VulnerabilityEPSS 1.3%CVE-2024-2558HIGHTenda AC18 execCommand formexeCommand stack-based overflowEPSS 1.3%CVE-2023-24344HIGHD-Link N300 WI-FI Router DIR-605L v2.13B01 was discovered to contain a stack overflow via the webpage parameter at /goform/formWlanGuestSetuEPSS 1.3%