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-2026-32203HIGH.NET and Visual Studio Denial of Service VulnerabilityEPSS 1.9%CVE-2023-36006HIGHMicrosoft WDAC OLE DB provider for SQL Server Remote Code Execution VulnerabilityEPSS 1.9%CVE-2025-23310CRITICALNVIDIA Triton Inference Server for Windows and Linux contains a vulnerability where an attacker could cause stack buffer overflow by specialEPSS 1.9%CVE-2021-32943—The affected product is vulnerable to a stack-based buffer overflow, which may allow an attacker to remotely execute arbitrary code on the WEPSS 1.9%CVE-2021-38432CRITICALFATEK Automation Communication ServerEPSS 1.9%CVE-2023-49287HIGHBuffer overflow vulnerabilities in tinydirEPSS 1.9%CVE-2022-0629HIGHStack-based Buffer Overflow in vim/vimEPSS 1.9%CVE-2024-2896HIGHTenda AC7 WifiWpsStart formWifiWpsStart stack-based overflowEPSS 1.9%CVE-2024-2903HIGHTenda AC7 GetParentControlInfo stack-based overflowEPSS 1.8%CVE-2024-3012HIGHTenda FH1205 GetParentControlInfo stack-based overflowEPSS 1.8%CVE-2024-3011HIGHTenda FH1205 QuickIndex formQuickIndex stack-based overflowEPSS 1.8%CVE-2017-6035—A Stack-Based Buffer Overflow issue was discovered in Wecon Technologies LEVI Studio HMI Editor before 1.8.1. This vulnerability causes a buEPSS 1.8%CVE-2023-4744CRITICALTenda AC8 formSetDeviceName stack-based overflowEPSS 1.8%CVE-2020-25177—WECON PLC Editor Versions 1.3.8 and prior has a stack-based buffer overflow vulnerability has been identified that may allow arbitrary code EPSS 1.8%CVE-2025-0349HIGHTenda AC6 GetParentControlInfo stack-based overflowEPSS 1.8%CVE-2023-49907HIGHA stack-based buffer overflow vulnerability exists in the web interface Radio Scheduling functionality of Tp-Link AC1350 Wireless MU-MIMO GiEPSS 1.8%CVE-2023-49912HIGHA stack-based buffer overflow vulnerability exists in the web interface Radio Scheduling functionality of Tp-Link AC1350 Wireless MU-MIMO GiEPSS 1.8%CVE-2023-49909HIGHA stack-based buffer overflow vulnerability exists in the web interface Radio Scheduling functionality of Tp-Link AC1350 Wireless MU-MIMO GiEPSS 1.8%CVE-2023-49911HIGHA stack-based buffer overflow vulnerability exists in the web interface Radio Scheduling functionality of Tp-Link AC1350 Wireless MU-MIMO GiEPSS 1.8%CVE-2023-49908HIGHA stack-based buffer overflow vulnerability exists in the web interface Radio Scheduling functionality of Tp-Link AC1350 Wireless MU-MIMO GiEPSS 1.8%