Fallos del tipo CWE-121

3820 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-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 HG7HG9/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-2022-27783HIGHAdobe After Effects Stack Buffer Overflow Could Lead To RCEEPSS 3.8%CVE-2022-27784HIGHAdobe After Effects Stack Buffer Overflow Could Lead To RCEEPSS 3.8%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-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-2019-10164HIGHPostgreSQL versions 10.x before 10.9 and versions 11.x before 11.4 are vulnerable to a stack-based buffer overflow. Any authenticated user cEPSS 3.7%CVE-2026-4567CRITICALTenda A15 UploadCfg stack-based overflowEPSS 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%CVE-2019-10947—Delta Industrial Automation CNCSoft, CNCSoft ScreenEditor Version 1.00.88 and prior. Multiple stack-based buffer overflow vulnerabilities maEPSS 3.7%CVE-2019-19333HIGHIn 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.6%CVE-2024-43630HIGHWindows Kernel Elevation of Privilege VulnerabilityEPSS 3.6%CVE-2019-3951—Advantech WebAccess before 8.4.3 allows unauthenticated remote attackers to execute arbitrary code or cause a denial of service (memory corrEPSS 3.6%CVE-2020-9725HIGHFrameMaker File Parsing Stack-based Buffer OverflowEPSS 3.6%CVE-2017-9638—Mitsubishi E-Designer, Version 7.52 Build 344 contains six code sections which may be exploited to overwrite the stack. This can result in aEPSS 3.6%CVE-2025-69700HIGHTenda FH1203 V2.0.1.6 contains a stack-based buffer overflow vulnerability in the modify_add_client_prio function, which is reachable via thEPSS 3.6%