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-37971HIGHSecure Boot Security Feature Bypass VulnerabilityEPSS 1.4%CVE-2025-5215HIGHD-Link DCS-5020L ptdc.cgi websReadEvent stack-based overflowEPSS 1.4%CVE-2021-40118HIGHCisco Adaptive Security Appliance Software and Firepower Threat Defense Software Web Services Denial of Service VulnerabilitiesEPSS 1.4%CVE-2024-4251HIGHTenda i21 DhcpSetSe fromDhcpSetSer stack-based overflowEPSS 1.3%CVE-2024-4114HIGHTenda TX9 PowerSaveSet sub_42C014 stack-based overflowEPSS 1.3%CVE-2024-4245HIGHTenda i21 formQosManageDouble_user stack-based overflowEPSS 1.3%CVE-2024-4250HIGHTenda i21 wifiSSIDset formwrlSSIDset stack-based overflowEPSS 1.3%CVE-2024-4246HIGHTenda i21 formQosManageDouble_auto stack-based overflowEPSS 1.3%CVE-2024-4248HIGHTenda i21 formQosManage_user stack-based overflowEPSS 1.3%CVE-2024-4249HIGHTenda i21 wifiSSIDget formwrlSSIDget stack-based overflowEPSS 1.3%CVE-2020-6996—Triangle MicroWorks DNP3 Outstation LibrariesDNP3 Outstation .NET Protocol components and DNP3 Outstation ANSI C source code libraries are aEPSS 1.3%CVE-2024-4244HIGHTenda W9 DhcpSetSer fromDhcpSetSer stack-based overflowEPSS 1.3%CVE-2024-4243HIGHTenda W9 wifiSSIDset formwrlSSIDset stack-based overflowEPSS 1.3%CVE-2024-4241HIGHTenda W9 formQosManageDouble_auto stack-based overflowEPSS 1.3%CVE-2018-14792—WECON PLC Editor version 1.3.3U may allow an attacker to execute code under the current process when processing project files.EPSS 1.3%CVE-2024-4242HIGHTenda W9 wifiSSIDget formwrlSSIDget stack-based overflowEPSS 1.3%CVE-2026-26736HIGHTOTOLINK A3002RU_V3 V3.0.0-B20220304.1804 was discovered to contain a stack-based buffer overflow via the static_ipv6 parameter in the formIEPSS 1.3%CVE-2023-51635HIGHNETGEAR RAX30 fing_dil Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 1.3%CVE-2026-76070CRITICALNetis NC63 V3.0.0.3327 Stack Buffer Overflow via Login Password ParameterEPSS 1.3%CVE-2024-6963HIGHTenda O3 formexeCommand stack-based overflowEPSS 1.3%