Fallos del tipo CWE-121

3832 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-8408MEDIUMLinksys WRT54G POST Parameter apply.cgi validate_services_port stack-based overflowEPSS 0.8%CVE-2023-5055HIGHL2CAP: Possible Stack based buffer overflow in le_ecred_reconf_req()EPSS 0.8%CVE-2023-44404HIGHD-Link DAP-1325 get_value_from_app Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.8%CVE-2023-44408HIGHD-Link DAP-1325 SetAPLanSettings IPAddr Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.8%CVE-2023-44417HIGHD-Link DAP-2622 DDP Set IPv4 Address Auth Password Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.8%CVE-2023-44405HIGHD-Link DAP-1325 get_value_of_key Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.8%CVE-2023-44409HIGHD-Link DAP-1325 SetSetupWizardStatus Enabled Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.8%CVE-2017-12732—A Stack-based Buffer Overflow issue was discovered in GE CIMPLICITY Versions 9.0 and prior. A function reads a packet to indicate the next pEPSS 0.8%CVE-2023-44406HIGHD-Link DAP-1325 SetAPLanSettings DeviceName Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.8%CVE-2023-44407HIGHD-Link DAP-1325 SetAPLanSettings Gateway Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.8%CVE-2020-7837HIGHAn issue was discovered in ML Report Program. There is a stack-based buffer overflow in function sub_41EAF0 at MLReportDeamon.exe. The functEPSS 0.7%CVE-2025-34468HIGHlibcoap Stack-Based Buffer Overflow in Address Resolution DoS or Potential RCEEPSS 0.7%CVE-2024-37984HIGHSecure Boot Security Feature Bypass VulnerabilityEPSS 0.7%CVE-2025-0840MEDIUMGNU Binutils objdump.c disassemble_bytes stack-based overflowEPSS 0.7%CVE-2025-14994HIGHTenda FH1201/FH1206 HTTP Request webtypelibrary strcat stack-based overflowEPSS 0.7%CVE-2023-41217HIGHD-Link DIR-3040 prog.cgi SetQuickVPNSettings Password Stack-Based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.7%CVE-2023-5395HIGHServer receiving a malformed message that uses the hostname in an internal table may cause a stack overflow resulting in possible remote codEPSS 0.7%CVE-2023-5401HIGHServer receiving a malformed message based on a using the specified key values can cause a stack overflow vulnerability which could lead to EPSS 0.7%CVE-2026-60095MEDIUMVinchin Backup & Recovery 9.0.0.86562 Stack Buffer Overflow via ModuleHandShakeEPSS 0.7%CVE-2024-24684HIGHMultiple stack-based buffer overflow vulnerabilities exist in the readOFF functionality of libigl v2.5.0. A specially crafted .off file can EPSS 0.7%