Fallos del tipo CWE-121

3821 resultados

Estouro de buffer na pilha

Ocorre quando código escreve dados além dos limites de um buffer alocado na pilha (stack), sobrescrevendo informações críticas como endereços de retorno ou variáveis locais. Um atacante pode explorar isso para executar código arbitrário ou causar crash da aplicação.

Ejemplo

Uma função copia uma string de entrada diretamente em um array de 64 bytes sem validar o tamanho: `char buffer[64]; strcpy(buffer, user_input);` Se o usuário enviar uma string com 200 bytes, ela sobrescreverá o endereço de retorno e pode redirecionar a execução para código malicioso.

Cómo mitigar

Use funções seguras com limite de tamanho (`strncpy`, `snprintf`), valide e sanitize entradas antes de copiar, implemente proteções em tempo de execução (stack canaries, ASLR, DEP) e considere usar linguagens com verificação de limites automática quando possível.

CVE-2015-1007—A 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-17937—gpsd 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-25189—The 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-2018-10494—This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit Reader 9.0.1.1049. User interactioEPSS 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-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-2020-25854—The 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-25855—The 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-0770—Advantech WebAccess Stack-based Buffer OverflowEPSS 2.6%CVE-2017-12707—A 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%