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-2021-3057HIGHGlobalProtect App: Buffer Overflow Vulnerability When Connecting to Portal or GatewayEPSS 1.4%CVE-2026-76071CRITICALNetis NC63 V3.0.0.3327 Stack Buffer Overflow via destHost ParameterEPSS 1.4%CVE-2025-9526HIGHLinksys E1700 setSysAdm stack-based overflowEPSS 1.4%CVE-2025-9525HIGHLinksys E1700 setWan stack-based overflowEPSS 1.4%CVE-2026-49435CRITICALKeysight IxChariot-related products stack-based buffer overflowEPSS 1.4%CVE-2023-47856HIGHA stack-based buffer overflow vulnerability exists in the boa set_RadvdPrefixParam functionality of Realtek rtl819x Jungle SDK v3.4.11. A spEPSS 1.4%CVE-2023-50244HIGHTwo stack-based buffer overflow vulnerabilities exist in the boa formIpQoS functionality of Realtek rtl819x Jungle SDK v3.4.11. A specially EPSS 1.4%CVE-2023-50240HIGHTwo stack-based buffer overflow vulnerabilities exist in the boa set_RadvdInterfaceParam functionality of Realtek rtl819x Jungle SDK v3.4.11EPSS 1.4%CVE-2023-50239HIGHTwo stack-based buffer overflow vulnerabilities exist in the boa set_RadvdInterfaceParam functionality of Realtek rtl819x Jungle SDK v3.4.11EPSS 1.4%CVE-2023-50243HIGHTwo stack-based buffer overflow vulnerabilities exist in the boa formIpQoS functionality of Realtek rtl819x Jungle SDK v3.4.11. A specially EPSS 1.4%CVE-2020-15744CRITICALStack-based buffer overflow leading to RCE in Victure CameraEPSS 1.4%CVE-2024-43549HIGHWindows Routing and Remote Access Service (RRAS) Remote Code Execution VulnerabilityEPSS 1.4%CVE-2012-10058CRITICALRabidHamster R4 Log Entry sprintf() Buffer OverflowEPSS 1.4%CVE-2018-1046HIGHpdns before version 4.1.2 is vulnerable to a buffer overflow in dnsreplay. In the dnsreplay tool provided with PowerDNS Authoritative, replaEPSS 1.4%CVE-2026-4211HIGHD-Link DNS-1550-04 local_backup_mgr.cgi Local_Backup_Info stack-based overflowEPSS 1.4%CVE-2026-4212HIGHD-Link DNS-1550-04 download_mgr.cgi Downloads_Schedule_Info stack-based overflowEPSS 1.4%CVE-2026-4214HIGHD-Link DNS-1550-04 app_mgr.cgi UPnP_AV_Server_Path_Setting stack-based overflowEPSS 1.4%CVE-2023-46714MEDIUMA stack-based buffer overflow [CWE-121] vulnerability in Fortinet FortiOS version 7.2.1 through 7.2.6 and version 7.4.0 through 7.4.1 allowsEPSS 1.4%CVE-2024-1001HIGHTotolink N200RE cstecgi.cgi main stack-based overflowEPSS 1.4%CVE-2024-0998HIGHTotolink N200RE cstecgi.cgi setDiagnosisCfg stack-based overflowEPSS 1.4%