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-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%