Falhas do tipo CWE-121

3.839 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-67248HIGHA stack-based buffer overflow vulnerability was found in the File Explorer on the ADMEPSS 0.5%CVE-2023-39281MEDIUMA stack buffer overflow vulnerability discovered in AsfSecureBootDxe in Insyde InsydeH2O with kernel 5.0 through 5.5 allows attackers to runEPSS 0.5%CVE-2025-70307HIGHA stack overflow in the dump_ttxt_sample function of GPAC v2.4.0 allows attackers to cause a Denial of Service (DoS) via a crafted packet.EPSS 0.5%CVE-2022-22281—A buffer overflow vulnerability in the SonicWall SSL-VPN NetExtender Windows Client (32 and 64 bit) in 10.2.322 and earlier versions, allowsEPSS 0.5%CVE-2025-70222CRITICALStack buffer overflow vulnerability in D-Link DIR-513 v1.10 via the curTime parameter to goform/formLogin,goform/getAuthCode.EPSS 0.5%CVE-2023-4263HIGHPotential buffer overflow vulnerability in the Zephyr IEEE 802.15.4 nRF 15.4 driverEPSS 0.5%CVE-2025-70226CRITICALStack buffer overflow vulnerability in D-Link DIR-513 v1.10 via the curTime parameter to goform/formEasySetupWizard.EPSS 0.5%CVE-2025-70225CRITICALStack buffer overflow vulnerability in D-Link DIR-513 v1.10 via the curtime parameter to the goform/formEasySetupWWConfig componentEPSS 0.5%CVE-2025-70221CRITICALStack buffer overflow vulnerability in D-Link DIR-513 v1.10 via the curTime parameter to goform/formLogin.EPSS 0.5%CVE-2026-10259HIGHH3C Magic B0 aspForm SetMobileAPInfoById stack-based overflowEPSS 0.5%CVE-2024-45415CRITICALThe HTTPD binary in multiple ZTE routers has a stack-based buffer overflow vulnerability in check_data_integrity function. This function is EPSS 0.5%CVE-2025-32387MEDIUMHelm Allows A Specially Crafted JSON Schema To Cause A Stack OverflowEPSS 0.5%CVE-2024-45414CRITICALThe HTTPD binary in multiple ZTE routers has a stack-based buffer overflow vulnerability in webPrivateDecrypt function. This function is resEPSS 0.5%CVE-2025-20350HIGHCisco Desk Phone 9800 Series, IP Phone 7800 and 8800 Series, and Video Phone 8875 with SIP Firmware Denial of Service VulnerabilityEPSS 0.5%CVE-2024-40723MEDIUMCHANGING Information Technology HWATAIServiSign Windows Version - Stack-based Buffer OverflowEPSS 0.5%CVE-2024-40722MEDIUMCHANGING Information Technology TCBServiSign Windows Version - Stack-based Buffer OverflowEPSS 0.5%CVE-2024-32312MEDIUMTenda F1203 V2.0.1.6 firmware has a stack overflow vulnerability located in the adslPwd parameter of the formWanParameterSetting function.EPSS 0.5%CVE-2020-37120HIGHRubo DICOM Viewer 2.0 - Buffer Overflow (SEH)EPSS 0.5%CVE-2026-11413HIGHJingDong JD Cloud Box AX6600 jdcweb_rpc set_macfilter stack-based overflowEPSS 0.5%CVE-2026-17138HIGHVulnerabilities in IBM AIX and PowerVM VIOSEPSS 0.5%