Weaknesses of type CWE-121

3,839 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-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%