Falhas do tipo CWE-121

3.834 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-2026-68960MEDIUMA stack-based buffer overflow vulnerability exists in SKYSEA Client View and SKYMEC IT Manager. If this vulnerability is exploited, an attacEPSS 0.6%CVE-2022-33279CRITICALStack based buffer overflow in WLANEPSS 0.6%CVE-2025-15273HIGHFontForge PFB File Parsing Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.6%CVE-2026-8179HIGHMultiple vulnerabilities in Aspera applications.EPSS 0.6%CVE-2020-14393—A buffer overflow was found in perl-DBI < 1.643 in DBI.xs. A local attacker who is able to supply a string longer than 300 characters could EPSS 0.6%CVE-2024-32305HIGHTenda A18 v15.03.05.05 firmware has a stack overflow vulnerability located via the PPW parameter in the fromWizardHandle function.EPSS 0.6%CVE-2026-94003CRITICALComfast CF-N1-S Web Management mbox-config get_css_path_from_uri stack-based overflowEPSS 0.6%CVE-2026-2181HIGHTenda RX3 openSchedWifi stack-based overflowEPSS 0.6%CVE-2025-70239HIGHStack buffer overflow vulnerability in D-Link DIR-513 v1.10 via the curTime parameter to goform/formSetWAN_Wizard55.EPSS 0.6%CVE-2023-35749HIGHD-Link DAP-2622 DDP Firmware Upgrade Filename Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.6%CVE-2025-50661HIGHA buffer overflow vulnerability exists in D-Link DI-8003 16.07.26A1 due to improper handling of multiple parameters in the /url_rule.asp endEPSS 0.6%CVE-2023-35757HIGHD-Link DAP-2622 DDP Set Date-Time NTP Server Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.6%CVE-2024-31570CRITICALlibfreeimage in FreeImage 3.4.0 through 3.18.0 has a stack-based buffer overflow in the PluginXPM.cpp Load function via an XPM file.EPSS 0.6%CVE-2026-42469HIGHBuffer overflow vulnerability in Open Vehicle Monitoring System 3 (OVMS3) 3.3.005. In canformat_canswitch.cpp the parser does not properly vEPSS 0.6%CVE-2023-22363MEDIUMAccess Zone stack overflowEPSS 0.6%CVE-2025-70220CRITICALStack buffer overflow vulnerability in D-Link DIR-513 v1.10 via the curTime parameter to goform/formAutoDetecWAN_wizard4.EPSS 0.6%CVE-2025-50664HIGHA buffer overflow vulnerability exists in D-Link DI-8003 16.07.26A1 due to improper handling of parameters in the /user_group.asp endpoint. EPSS 0.6%CVE-2026-9669HIGHbz2.BZ2Decompressor reuse after error can cause a stack buffer overflowEPSS 0.6%CVE-2023-31030CRITICALCVEEPSS 0.6%CVE-2026-11734LOWDevice administrator can interrupt the normal operation of some NETGEAR Nighthawk devices.EPSS 0.6%