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-2025-65222MEDIUMTenda AC21 V16.03.08.16 is vulnerable to Buffer Overflow via the rebootTime parameter of /goform/SetSysAutoRebbotCfg.EPSS 2.4%CVE-2021-26729CRITICALspx_restservice Login_handler_func Command Injection and Multiple Stack-Based Buffer OverflowsEPSS 2.3%CVE-2021-26727CRITICALspx_restservice SubNet_handler_func Multiple Command Injections and Stack-Based Buffer OverflowsEPSS 2.3%CVE-2021-26728CRITICALspx_restservice KillDupUsr_func Command Injection and Stack-Based Buffer OverflowEPSS 2.3%CVE-2021-34830HIGHThis vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-1330 1.13B01 BETA rouEPSS 2.3%CVE-2021-34827HIGHThis vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-1330 1.13B01 BETA rouEPSS 2.3%CVE-2021-0276CRITICALSteel-Belted Radius Carrier Edition: Remote code execution vulnerability when EAP Authentication is configured.EPSS 2.3%CVE-2025-60751HIGHGeographicLib 2.5 is vulnerable to Buffer Overflow in GeoConvert DMS::InternalDecode.EPSS 2.3%CVE-2021-27382A vulnerability has been identified in Solid Edge SE2020 (All versions < SE2020MP13), Solid Edge SE2020 (All versions < SE2020MP14), Solid EEPSS 2.3%CVE-2020-2042HIGHPAN-OS: Buffer overflow in the management web interfaceEPSS 2.3%CVE-2022-20704CRITICALCisco Small Business RV Series Routers VulnerabilitiesEPSS 2.3%CVE-2025-53521CRITICALBigIP APM VulnerabilityEPSS 2.3%KEVCVE-2017-16739An issue was discovered in WECON Technology LEVI Studio HMI Editor v1.8.29 and prior. Specially-crafted malicious files may be able to causeEPSS 2.3%CVE-2025-54916HIGHWindows NTFS Remote Code Execution VulnerabilityEPSS 2.3%CVE-2020-16221Delta Electronics TPEditor Versions 1.97 and prior. A stack-based buffer overflow may be exploited by processing a specially crafted projectEPSS 2.2%CVE-2018-6349When receiving calls using WhatsApp for Android, a missing size check when parsing a sender-provided packet allowed for a stack-based overflEPSS 2.2%CVE-2022-40151MEDIUMStack Buffer Overflow in xstreamEPSS 2.2%CVE-2026-30872CRITICALOpenWrt Project has a Stack-based Buffer Overflow vulnerability via IPv6 reverse DNS lookupEPSS 2.2%CVE-2023-23902CRITICALA buffer overflow vulnerability exists in the uhttpd login functionality of Milesight UR32L v32.3.0.5. A specially crafted network request cEPSS 2.2%CVE-2021-36347MEDIUMiDRAC9 versions prior to 5.00.20.00 and iDRAC8 versions prior to 2.82.82.82 contain a stack-based buffer overflow vulnerability. An authentiEPSS 2.2%