Falhas do tipo CWE-121

3.825 resultados

Estouro de buffer na pilha

Ocorre quando código escreve mais dados em um buffer alocado na pilha do que sua capacidade permite, sobrescrevendo dados adjacentes (variáveis, endereços de retorno). Um atacante pode explorar isso para executar código arbitrário ou crashar a aplicação alterando o fluxo de execução.

Exemplo

Uma função C que copia uma string do usuário diretamente em um array local sem validar tamanho: `char buffer[10]; strcpy(buffer, user_input);`. Se user_input tiver 50 caracteres, os 40 extras sobrescrevem a pilha, incluindo potencialmente o endereço de retorno da função.

Como mitigar

Use funções seguras que limitam escrita (strncpy, snprintf em vez de strcpy/sprintf), valide tamanho de entrada antes de copiar, ative proteções do compilador (stack canaries, ASLR) e use ferramentas de análise estática para detectar cópias sem limite.

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-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-32144HIGHD-Link DAP-1360 webproc COMM_MakeCustomMsg Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 1.0%CVE-2026-7834CRITICALEFM ipTIME NAS1dual misc_main.cgi get_csrf_whites stack-based overflowEPSS 1.0%CVE-2026-74843CRITICALWavlink WN531P3/WN535M1 Export Pingortrace CGI export_pingortrace.cgi strcpy stack-based overflowEPSS 1.0%CVE-2023-32139HIGHD-Link DAP-1360 webproc Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 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-2021-38430HIGHFATEK Automation WinProladderEPSS 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-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-2022-41981HIGHA stack-based buffer overflow vulnerability exists in the TGA file format parser of OpenImageIO v2.3.19.0. A specially-crafted targa file caEPSS 1.0%CVE-2010-10014HIGHOdin Secure FTP <= 4.1 Stack Buffer Overflow via LIST ResponseEPSS 1.0%