Fallos del tipo CWE-121

3823 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-2020-5234MEDIUMUntrusted data can lead to DoS attack in MessagePack for C# and UnityEPSS 1.6%CVE-2024-2993HIGHTenda FH1203 QuickIndex formQuickIndex stack-based overflowEPSS 1.6%CVE-2024-2989HIGHTenda FH1203 NatStaticSetting fromNatStaticSetting stack-based overflowEPSS 1.6%CVE-2024-2988HIGHTenda FH1203 fromRouteStatic fromSetRouteStatic stack-based overflowEPSS 1.6%CVE-2025-6115HIGHD-Link DIR-619L form_macfilter stack-based overflowEPSS 1.6%CVE-2024-0444HIGHGStreamer AV1 Video Parsing Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 1.6%CVE-2025-6114HIGHD-Link DIR-619L form_portforwarding stack-based overflowEPSS 1.6%CVE-2024-2486HIGHTenda AC18 QuickIndex formQuickIndex stack-based overflowEPSS 1.6%CVE-2023-44431HIGHBlueZ Audio Profile AVRCP Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 1.6%CVE-2021-23851MEDIUMBuffer Overflow vulnerability in the recovery image web-based interfaceEPSS 1.6%CVE-2021-23850MEDIUMBuffer Overflow vulnerability in the recovery image telnet serverEPSS 1.6%CVE-2024-47907HIGHA stack-based buffer overflow in IPsec of Ivanti Connect Secure before version 22.7R2.3 allows a remote unauthenticated attacker to cause a EPSS 1.6%CVE-2026-8836CRITICALlwIP snmpv3 USM snmp_msg.c snmp_parse_inbound_frame stack-based overflowEPSS 1.6%CVE-2010-20113CRITICALEasyFTP Server list.html path Stack Buffer OverflowEPSS 1.6%CVE-2022-2972CRITICALMZ Automation libIEC61850 Stack-Based Buffer OverflowEPSS 1.6%CVE-2024-0996HIGHTenda i9 httpd setcfm formSetCfm stack-based overflowEPSS 1.6%CVE-2014-8184HIGHA vulnerability was found in liblouis, versions 2.5.x before 2.5.4. A stack-based buffer overflow was found in findTable() in liblouis. An aEPSS 1.5%CVE-2025-9938HIGHD-Link DI-8400 yyxz.asp yyxz_dlink_asp stack-based overflowEPSS 1.5%CVE-2022-41854MEDIUMStack Overflow in SnakeyamlEPSS 1.5%CVE-2024-2703HIGHTenda AC10U SetOnlineDevName formSetDeviceName stack-based overflowEPSS 1.5%