Fallos del tipo CWE-121

3825 resultados

Estouro de buffer na pilha

Ocorre quando código escreve dados além dos limites de um buffer alocado na pilha (stack), sobrescrevendo informações críticas como endereços de retorno ou variáveis locais. Um atacante pode explorar isso para executar código arbitrário ou causar crash da aplicação.

Ejemplo

Uma função copia uma string de entrada diretamente em um array de 64 bytes sem validar o tamanho: `char buffer[64]; strcpy(buffer, user_input);` Se o usuário enviar uma string com 200 bytes, ela sobrescreverá o endereço de retorno e pode redirecionar a execução para código malicioso.

Cómo mitigar

Use funções seguras com limite de tamanho (`strncpy`, `snprintf`), valide e sanitize entradas antes de copiar, implemente proteções em tempo de execução (stack canaries, ASLR, DEP) e considere usar linguagens com verificação de limites automática quando possível.

CVE-2024-6249HIGHWyze Cam v3 TCP Traffic Handling Stack-Based Buffer Overflow Remote Code Execution VulnerabilityEPSS 1.3%CVE-2024-2558HIGHTenda AC18 execCommand formexeCommand stack-based overflowEPSS 1.3%CVE-2023-24344HIGHD-Link N300 WI-FI Router DIR-605L v2.13B01 was discovered to contain a stack overflow via the webpage parameter at /goform/formWlanGuestSetuEPSS 1.3%CVE-2024-7707HIGHTenda FH1206 HTTP POST Request SafeEmailFilter formSafeEmailFilter stack-based overflowEPSS 1.3%CVE-2025-6616HIGHD-Link DIR-619L formSetWAN_Wizard51 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-20688HIGHSecure Boot Security Feature Bypass VulnerabilityEPSS 1.3%CVE-2024-20689HIGHSecure 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-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-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-2024-6965HIGHTenda O3 fromVirtualSet stack-based overflowEPSS 1.3%CVE-2025-11779CRITICALStack-based buffer overflow vulnreability in Circutor SGE-PLC1000/SGE-PLC50EPSS 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-2009-20009CRITICALBelkin Bulldog Plus Web Service 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-2023-45225CRITICALZavio IP Camera Stack-Based Buffer OverflowEPSS 1.3%