Weaknesses of type CWE-121

3,825 results

Estouro de buffer na pilha

Ocorre quando um programa escreve mais dados em um buffer alocado na pilha do que ele pode conter, sobrescrevendo dados adjacentes (variáveis, endereços de retorno, ponteiros). Um atacante pode explorar isso para executar código arbitrário ou causar travamento.

Example

Um programa lê uma string do usuário com gets() ou strcpy() sem validar o tamanho, copiando 500 bytes para um buffer de 64 bytes. O excesso sobrescreve o endereço de retorno da função, permitindo desviar a execução para código malicioso.

How to mitigate

Use funções seguras (strncpy, fgets, snprintf) que aceitam limite de bytes; implemente verificações de limites explícitas no código; ative proteções do compilador/SO (stack canaries, DEP/NX, ASLR); use linguagens com verificação automática de limites ou ferramentas de análise estática.

CVE-2025-9252HIGHLinksys RE6250/RE6300/RE6350/RE6500/RE7000/RE9000 DisablePasswordAlertRedirect stack-based overflowEPSS 1.0%CVE-2024-21053MEDIUMVulnerability in the MySQL Server product of Oracle MySQL (component: Server: DML). Supported versions that are affected are 8.0.34 and priEPSS 1.0%CVE-2026-2876HIGHTenda A18 setBlackRule parse_macfilter_rule stack-based overflowEPSS 1.0%CVE-2025-9251HIGHLinksys RE6250/RE6300/RE6350/RE6500/RE7000/RE9000 sta_wps_pin stack-based overflowEPSS 1.0%CVE-2025-9253HIGHLinksys RE6250/RE6300/RE6350/RE6500/RE7000/RE9000 RP_doSpecifySiteSurvey stack-based overflowEPSS 1.0%CVE-2025-9246HIGHLinksys RE6250/RE6300/RE6350/RE6500/RE7000/RE9000 check_port_conflict stack-based overflowEPSS 1.0%CVE-2025-9247HIGHLinksys RE6250/RE6300/RE6350/RE6500/RE7000/RE9000 setVlan stack-based overflowEPSS 1.0%CVE-2025-9248HIGHLinksys RE6250/RE6300/RE6350/RE6500/RE7000/RE9000 RP_pingGatewayByBBS stack-based overflowEPSS 1.0%CVE-2025-6510HIGHNetgear EX6100 sub_415EF8 stack-based overflowEPSS 1.0%CVE-2024-41630HIGHStack-based buffer overflow vulnerability in Tenda AC18 V15.03.3.10_EN allows a remote attacker to execute arbitrary code via the ssid paramEPSS 1.0%CVE-2023-6888MEDIUMPHZ76 RtspServer RtspMesaage.cpp ParseRequestLine stack-based overflowEPSS 1.0%CVE-2023-41230HIGHD-Link DIR-3040 HTTP Request Processing Referer Stack-Based Buffer Overflow Remote Code Execution VulnerabilityEPSS 1.0%CVE-2026-6123HIGHTenda F451 httpd addressNat fromAddressNat stack-based overflowEPSS 1.0%CVE-2025-6111HIGHTenda FH1205 VirtualSer fromVirtualSer stack-based overflowEPSS 1.0%CVE-2025-5849HIGHTenda AC15 HTTP POST Request SetRemoteWebCfg formSetSafeWanWebMan stack-based overflowEPSS 1.0%CVE-2025-5847HIGHTenda AC9 HTTP POST Request SetRemoteWebCfg formSetSafeWanWebMan stack-based overflowEPSS 1.0%CVE-2026-40170HIGHngtcp2 has a qlog transport parameter serialization stack buffer overflowEPSS 1.0%CVE-2026-7470HIGHTenda 4G300 SafeMacFilter sub_427C3C stack-based overflowEPSS 1.0%CVE-2026-5550HIGHTenda AC10 httpd fromSysToolChangePwd stack-based overflowEPSS 1.0%CVE-2023-35634HIGHWindows Bluetooth Driver Remote Code Execution VulnerabilityEPSS 1.0%