Fallos del tipo CWE-121

3831 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-26730CRITICALspx_restservice Login_handler_func Subfunction Stack-Based Buffer OverflowEPSS 1.0%CVE-2023-44305HIGH Dell DM5500 5.14.0.0, contains a Stack-based Buffer Overflow Vulnerability in the appliance. An unauthenticated remote attacker may exploEPSS 1.0%CVE-2024-0321MEDIUMStack-based Buffer Overflow in gpac/gpacEPSS 1.0%CVE-2023-45215HIGHA stack-based buffer overflow vulnerability exists in the boa setRepeaterSsid functionality of Realtek rtl819x Jungle SDK v3.4.11. A specialEPSS 1.0%CVE-2023-24096HIGHTrendNet Wireless AC Easy-Upgrader TEW-820AP v1.0R, firmware version 1.01.B01 was discovered to contain a stack overflow via the newpass parEPSS 1.0%CVE-2026-7834CRITICALEFM ipTIME NAS1dual misc_main.cgi get_csrf_whites stack-based overflowEPSS 1.0%CVE-2019-13156—NDrive(1.2.2).sys in Naver Cloud Explorer has a stack-based buffer overflow, which allows attackers to cause a denial of service when readinEPSS 1.0%CVE-2023-32139HIGHD-Link DAP-1360 webproc Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 1.0%CVE-2023-32144HIGHD-Link DAP-1360 webproc COMM_MakeCustomMsg Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 1.0%CVE-2026-74843CRITICALWavlink WN531P3/WN535M1 Export Pingortrace CGI export_pingortrace.cgi strcpy stack-based overflowEPSS 1.0%CVE-2025-8817HIGHLinksys RE6250/RE6300/RE6350/RE6500/RE7000/RE9000 setLan stack-based overflowEPSS 1.0%CVE-2025-8833HIGHLinksys RE6250/RE6300/RE6350/RE6500/RE7000/RE9000 langSwitchBack stack-based overflowEPSS 1.0%CVE-2024-45318HIGHA vulnerability in the SonicWall SMA100 SSLVPN web management interface allows remote attackers to cause Stack-based buffer overflow and potEPSS 1.0%CVE-2021-38430HIGHFATEK Automation WinProladderEPSS 1.0%CVE-2021-42705HIGHWECON PLC EditorEPSS 1.0%CVE-2025-11525HIGHTenda AC7 SetUpnpCfg stack-based overflowEPSS 1.0%CVE-2025-4810HIGHTenda AC7 SetRebootTimer formSetRebootTimer stack-based overflowEPSS 1.0%CVE-2025-5080HIGHTenda FH451 webExcptypemanFilter stack-based overflowEPSS 1.0%CVE-2025-1814HIGHTenda AC6 WifiExtraSet stack-based overflowEPSS 1.0%CVE-2010-10014HIGHOdin Secure FTP <= 4.1 Stack Buffer Overflow via LIST ResponseEPSS 1.0%