Weaknesses of type CWE-121

3,820 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-2014-0765Advantech WebAccess Stack-based Buffer OverflowEPSS 2.7%CVE-2015-1007A specially crafted configuration file could be used to cause a stack-based buffer overflow condition in the OPCTest.exe, which may allow reEPSS 2.7%CVE-2022-38450HIGHAdobe Acrobat Reader DC XFA Parsing Stack Overflow Remote Code Execution VulnerabilityEPSS 2.7%CVE-2018-17937gpsd versions 2.90 to 3.17 and microjson versions 1.0 to 1.3, an open source project, allow a stack-based buffer overflow, which may allow rEPSS 2.7%CVE-2020-25189The affected product is vulnerable to three stack-based buffer overflows, which may allow an unauthenticated attacker to remotely execute arEPSS 2.6%CVE-2022-24673HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Canon imageCLASS MF644Cdw 10.02 printers. EPSS 2.6%CVE-2017-2630MEDIUMA stack buffer overflow flaw was found in the Quick Emulator (QEMU) before 2.9 built with the Network Block Device (NBD) client support. TheEPSS 2.6%CVE-2025-23311CRITICALNVIDIA Triton Inference Server contains a vulnerability where an attacker could cause a stack overflow through specially crafted HTTP requesEPSS 2.6%CVE-2020-15635HIGHThis vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of NETGEAR R6700 V1.0.4.84_10.0.58 EPSS 2.6%CVE-2021-21960CRITICALA stack-based buffer overflow vulnerability exists in both the LLMNR functionality of Sealevel Systems, Inc. SeaConnect 370W v1.3.34. A specEPSS 2.6%CVE-2021-21961CRITICALA stack-based buffer overflow vulnerability exists in the NBNS functionality of Sealevel Systems, Inc. SeaConnect 370W v1.3.34. A specially-EPSS 2.6%CVE-2020-25854The function DecWPA2KeyData() in the Realtek RTL8195A Wi-Fi Module prior to versions released in April 2020 (up to and excluding 2.08) does EPSS 2.6%CVE-2020-25855The function AES_UnWRAP() in the Realtek RTL8195A Wi-Fi Module prior to versions released in April 2020 (up to and excluding 2.08) does not EPSS 2.6%CVE-2014-0770Advantech WebAccess Stack-based Buffer OverflowEPSS 2.6%CVE-2017-12707A Stack-based Buffer Overflow issue was discovered in SpiderControl SCADA MicroBrowser Versions 1.6.30.144 and prior. Opening a maliciously EPSS 2.6%CVE-2026-4906HIGHTenda AC5 POST Request WizardHandle decodePwd stack-based overflowEPSS 2.6%CVE-2021-27248HIGHThis vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-2020 v1.01rc001 Wi-FiEPSS 2.6%CVE-2021-39845MEDIUMAdobe Acrobat Reader Page Tree Node Recursive Stack OverflowEPSS 2.6%CVE-2024-28038CRITICALThe web interface of the affected devices processes a cookie value improperly, leading to a stack buffer overflow. More precisely, giving toEPSS 2.6%CVE-2021-39846MEDIUMAdobe Acrobat Reader /Parent Property Recursive Stack OverflowEPSS 2.6%