Falhas do tipo CWE-121

4.132 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-2022-23125CRITICALThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Netatalk. Authentication is not required tEPSS 4.4%CVE-2025-13445HIGHTenda AC21 SetIpMacBind stack-based overflowEPSS 4.2%CVE-2025-13446HIGHTenda AC21 SetSysTimeCfg stack-based overflowEPSS 4.2%CVE-2018-10620—AVEVA InduSoft Web Studio v8.1 and v8.1SP1, and InTouch Machine Edition v2017 8.1 and v2017 8.1 SP1 a remote user could send a carefully craEPSS 4.2%CVE-2024-44674MEDIUMD-Link COVR-2600R FW101b05 is vulnerable to Buffer Overflow. In the function sub_24E28, the HTTP_REFERER is obtained through an environment EPSS 4.2%CVE-2025-60690HIGHA stack-based buffer overflow exists in the get_merge_ipaddr function of the httpd binary on Linksys E1200 v2 routers (Firmware E1200_v2.0.1EPSS 4.2%CVE-2018-14816—Advantech WebAccess 8.3.1 and earlier has several stack-based buffer overflow vulnerabilities that have been identified, which may allow an EPSS 4.1%CVE-2026-7851HIGHD-Link DI-8100 yyxz.asp sprintf stack-based overflowEPSS 4.1%CVE-2026-2962HIGHD-Link DWR-M960 Scheduled Reboot Configuration Endpoint formDateReboot sub_460F30 stack-based overflowEPSS 4.1%CVE-2025-69700HIGHTenda FH1203 V2.0.1.6 contains a stack-based buffer overflow vulnerability in the modify_add_client_prio function, which is reachable via thEPSS 4.0%CVE-2020-8869HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Studio Photo 3.6.6.916. User interacEPSS 4.0%CVE-2022-20749CRITICALCisco Small Business RV Series Routers VulnerabilitiesEPSS 4.0%CVE-2021-27137HIGHAn issue was discovered in router/upnp/src/ssdp.c in DD-WRT before 45724. An unsafe strcpy in the UPnP handling functionality allows an unauEPSS 4.0%KEVCVE-2020-14498CRITICALHMS Industrial Networks AB eCatcher Stack-based Buffer OverflowEPSS 4.0%CVE-2020-16215—Advantech WebAccess HMI Designer, Versions 2.1.9.31 and prior. Processing specially crafted project files lacking proper validation of user EPSS 4.0%CVE-2026-2961HIGHD-Link DWR-M960 VPN Configuration Endpoint formVpnConfigSetup sub_4196C4 stack-based overflowEPSS 4.0%CVE-2026-73522HIGHCOVESA Open1722 0.9.2 Stack Buffer Overflow via avtp_to_can() in acf-can-listenerEPSS 4.0%CVE-2022-24095HIGHAdobe After Effects Stack-based Buffer Overflow Arbitrary code executionEPSS 3.9%CVE-2022-24094HIGHAdobe After Effects Stack-based Buffer Overflow Arbitrary code executionEPSS 3.9%CVE-2021-42532HIGHXMP-Toolkit SDK Stack-based Buffer Overflow Could Lead To Arbitrary Code ExecutionEPSS 3.9%