Weaknesses of type CWE-121

3,820 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-2018-14816Advantech 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-2025-10773HIGHB-Link BL-AC2100 Web Management set_delshrpath_cfg delshrpath stack-based overflowEPSS 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-16215Advantech WebAccess HMI Designer, Versions 2.1.9.31 and prior. Processing specially crafted project files lacking proper validation of user EPSS 4.0%CVE-2021-42529HIGHXMP-Toolkit SDK Stack-based Buffer Overflow Could Lead To Arbitrary Code ExecutionEPSS 4.0%CVE-2021-42530HIGHXMP-Toolkit SDK Stack-based Buffer Overflow Could Lead To Arbitrary Code ExecutionEPSS 4.0%CVE-2021-42531HIGHXMP-Toolkit SDK Stack-based Buffer Overflow Could Lead To Arbitrary Code ExecutionEPSS 4.0%CVE-2021-42532HIGHXMP-Toolkit SDK Stack-based Buffer Overflow Could Lead To Arbitrary Code ExecutionEPSS 4.0%CVE-2018-14823Fuji Electric V-Server 4.0.3.0 and prior, A stack-based buffer overflow vulnerability has been identified, which may allow remote code execuEPSS 4.0%CVE-2022-24094HIGHAdobe After Effects Stack-based Buffer Overflow Arbitrary code executionEPSS 3.9%CVE-2022-24095HIGHAdobe After Effects Stack-based Buffer Overflow Arbitrary code executionEPSS 3.9%CVE-2024-20154HIGHIn Modem, there is a possible out of bounds write due to a missing bounds check. This could lead to remote code execution, if a UE has conneEPSS 3.9%CVE-2025-9363HIGHLinksys RE6250/RE6300/RE6350/RE6500/RE7000/RE9000 portTriggerManageRule stack-based overflowEPSS 3.9%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 3.9%CVE-2025-13445HIGHTenda AC21 SetIpMacBind stack-based overflowEPSS 3.9%CVE-2025-13446HIGHTenda AC21 SetSysTimeCfg stack-based overflowEPSS 3.9%