Weaknesses of type CWE-121

3,823 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-2025-9526HIGHLinksys E1700 setSysAdm stack-based overflowEPSS 1.4%CVE-2025-9525HIGHLinksys E1700 setWan stack-based overflowEPSS 1.4%CVE-2026-49435CRITICALKeysight IxChariot-related products stack-based buffer overflowEPSS 1.4%CVE-2023-47856HIGHA stack-based buffer overflow vulnerability exists in the boa set_RadvdPrefixParam functionality of Realtek rtl819x Jungle SDK v3.4.11. A spEPSS 1.4%CVE-2023-50239HIGHTwo stack-based buffer overflow vulnerabilities exist in the boa set_RadvdInterfaceParam functionality of Realtek rtl819x Jungle SDK v3.4.11EPSS 1.4%CVE-2023-50240HIGHTwo stack-based buffer overflow vulnerabilities exist in the boa set_RadvdInterfaceParam functionality of Realtek rtl819x Jungle SDK v3.4.11EPSS 1.4%CVE-2023-50244HIGHTwo stack-based buffer overflow vulnerabilities exist in the boa formIpQoS functionality of Realtek rtl819x Jungle SDK v3.4.11. A specially EPSS 1.4%CVE-2023-50243HIGHTwo stack-based buffer overflow vulnerabilities exist in the boa formIpQoS functionality of Realtek rtl819x Jungle SDK v3.4.11. A specially EPSS 1.4%CVE-2024-43549HIGHWindows Routing and Remote Access Service (RRAS) Remote Code Execution VulnerabilityEPSS 1.4%CVE-2020-15744CRITICALStack-based buffer overflow leading to RCE in Victure CameraEPSS 1.4%CVE-2012-10058CRITICALRabidHamster R4 Log Entry sprintf() Buffer OverflowEPSS 1.4%CVE-2018-1046HIGHpdns before version 4.1.2 is vulnerable to a buffer overflow in dnsreplay. In the dnsreplay tool provided with PowerDNS Authoritative, replaEPSS 1.4%CVE-2026-4212HIGHD-Link DNS-1550-04 download_mgr.cgi Downloads_Schedule_Info stack-based overflowEPSS 1.4%CVE-2026-4214HIGHD-Link DNS-1550-04 app_mgr.cgi UPnP_AV_Server_Path_Setting stack-based overflowEPSS 1.4%CVE-2026-4211HIGHD-Link DNS-1550-04 local_backup_mgr.cgi Local_Backup_Info stack-based overflowEPSS 1.4%CVE-2023-46714MEDIUMA stack-based buffer overflow [CWE-121] vulnerability in Fortinet FortiOS version 7.2.1 through 7.2.6 and version 7.4.0 through 7.4.1 allowsEPSS 1.4%CVE-2024-1001HIGHTotolink N200RE cstecgi.cgi main stack-based overflowEPSS 1.4%CVE-2024-0998HIGHTotolink N200RE cstecgi.cgi setDiagnosisCfg stack-based overflowEPSS 1.4%CVE-2024-0538HIGHTenda W9 httpd formQosManage_auto stack-based overflowEPSS 1.4%CVE-2024-0536HIGHTenda W9 httpd setWrlAccessList stack-based overflowEPSS 1.4%