Falhas do tipo CWE-121

4.132 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-2021-42532HIGHXMP-Toolkit SDK Stack-based Buffer Overflow Could Lead To Arbitrary Code ExecutionEPSS 3.9%CVE-2021-42529HIGHXMP-Toolkit SDK Stack-based Buffer Overflow Could Lead To Arbitrary Code ExecutionEPSS 3.9%CVE-2021-42531HIGHXMP-Toolkit SDK Stack-based Buffer Overflow Could Lead To Arbitrary Code ExecutionEPSS 3.9%CVE-2022-27784HIGHAdobe After Effects Stack Buffer Overflow Could Lead To RCEEPSS 3.9%CVE-2022-27783HIGHAdobe After Effects Stack Buffer Overflow Could Lead To RCEEPSS 3.9%CVE-2024-20154HIGHIn Modem, there is a possible out of bounds write due to a missing bounds check. This could lead to remote code execution, if a UE has conneEPSS 3.9%CVE-2018-14823—Fuji Electric V-Server 4.0.3.0 and prior, A stack-based buffer overflow vulnerability has been identified, which may allow remote code execuEPSS 3.9%CVE-2025-70219CRITICALStack buffer overflow vulnerability in D-Link DIR-513 v1.10 via the goform/formDeviceReboot.EPSS 3.9%CVE-2019-19334HIGHIn all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of tEPSS 3.9%CVE-2020-5344HIGHDell EMC iDRAC7, iDRAC8 and iDRAC9 versions prior to 2.65.65.65, 2.70.70.70, 4.00.00.00 contain a stack-based buffer overflow vulnerability.EPSS 3.8%CVE-2022-20709CRITICALCisco Small Business RV Series Routers VulnerabilitiesEPSS 3.8%CVE-2026-11498HIGHTenda HG7/HG9/HG10 Web Management voip_other_set asp_voip_OtherSet stack-based overflowEPSS 3.8%CVE-2018-5475—A Stack-based Buffer Overflow issue was discovered in GE D60 Line Distance Relay devices running firmware Version 7.11 and prior. Multiple sEPSS 3.8%CVE-2018-5442—A Stack-based Buffer Overflow issue was discovered in Fuji Electric V-Server VPR 4.0.1.0 and prior. The stack-based buffer overflow vulnerabEPSS 3.8%CVE-2023-42116HIGHExim SMTP Challenge Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 3.8%CVE-2024-43630HIGHWindows Kernel Elevation of Privilege VulnerabilityEPSS 3.8%CVE-2026-4567CRITICALTenda A15 UploadCfg stack-based overflowEPSS 3.8%CVE-2018-17916—InduSoft Web Studio versions prior to 8.1 SP2, and InTouch Edge HMI (formerly InTouch Machine Edition) versions prior to 2017 SP2. A remote EPSS 3.7%CVE-2018-7499—In Advantech WebAccess versions V8.2_20170817 and prior, WebAccess versions V8.3.0 and prior, WebAccess Dashboard versions V.2.0.15 and prioEPSS 3.7%CVE-2019-10967—In Emerson Ovation OCR400 Controller 3.3.1 and earlier, a stack-based buffer overflow vulnerability in the embedded third-party FTP server iEPSS 3.7%