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-2024-7707HIGHTenda FH1206 HTTP POST Request SafeEmailFilter formSafeEmailFilter stack-based overflowEPSS 1.3%CVE-2024-1004HIGHTotolink N200RE cstecgi.cgi loginAuth stack-based overflowEPSS 1.3%CVE-2024-47538HIGHGHSL-2024-115: GStreamer has a stack-buffer overflow in vorbis_handle_identification_packetEPSS 1.3%CVE-2023-7218HIGHTotolink N350RT cstecgi.cgi loginAuth stack-based overflowEPSS 1.3%CVE-2024-20689HIGHSecure Boot Security Feature Bypass VulnerabilityEPSS 1.3%CVE-2024-20688HIGHSecure Boot Security Feature Bypass VulnerabilityEPSS 1.3%CVE-2022-23103HIGHA stack-based buffer overflow vulnerability exists in the confsrv confctl_set_app_language functionality of TCL LinkHub Mesh Wi-Fi MS1G_00_0EPSS 1.3%CVE-2022-23918HIGHA stack-based buffer overflow vulnerability exists in the confsrv set_mf_rule functionality of TCL LinkHub Mesh Wifi MS1G_00_01.00_14. A speEPSS 1.3%CVE-2022-23919HIGHA stack-based buffer overflow vulnerability exists in the confsrv set_mf_rule functionality of TCL LinkHub Mesh Wifi MS1G_00_01.00_14. A speEPSS 1.3%CVE-2024-6965HIGHTenda O3 fromVirtualSet stack-based overflowEPSS 1.3%CVE-2021-27480—Delta Industrial Automation COMMGR Versions 1.12 and prior are vulnerable to a stack-based buffer overflow, which may allow an attacker to eEPSS 1.3%CVE-2025-11779CRITICALStack-based buffer overflow vulnreability in Circutor SGE-PLC1000/SGE-PLC50EPSS 1.3%CVE-2009-20009CRITICALBelkin Bulldog Plus Web Service Buffer OverflowEPSS 1.3%CVE-2023-45225CRITICALZavio IP Camera Stack-Based Buffer OverflowEPSS 1.3%CVE-2024-11248HIGHTenda AC10 SetSysAutoRebbotCfg formSetRebootTimer stack-based overflowEPSS 1.3%CVE-2023-43755CRITICALZavio IP Camera Stack-Based Buffer OverflowEPSS 1.3%CVE-2024-8226HIGHTenda O1 setcfm formSetCfm stack-based overflowEPSS 1.3%CVE-2025-4841HIGHD-Link DCS-932L gpio sub_404780 stack-based overflowEPSS 1.3%CVE-2025-4842HIGHD-Link DCS-932L ucp isUCPCameraNameChanged stack-based overflowEPSS 1.3%CVE-2025-4843HIGHD-Link DCS-932L udev SubUPnPCSInit stack-based overflowEPSS 1.3%