Falhas do tipo CWE-121

3.848 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-21574HIGHDell BIOSConnect feature contains a buffer overflow vulnerability. An authenticated malicious admin user with local access to the system mayEPSS 0.3%CVE-2024-28574MEDIUMBuffer Overflow vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local attacker to cause a denial of service (DoS) via the oEPSS 0.3%CVE-2024-41166MEDIUMStack-based buffer overflow in some Intel(R) PROSet/Wireless WiFi and Killerâ„¢ WiFi software for Windows before version 23.80 may allow an EPSS 0.3%CVE-2026-4682HIGHCertain HP DeskJet All In One (AIO) Devices – Potential Remote Code Execution & Potential Buffer OverflowEPSS 0.3%CVE-2025-3007MEDIUMNovastar CX40 NetFilter Utility netconfig getopt stack-based overflowEPSS 0.3%CVE-2026-71265HIGHDomoticz MochadTCP Stack Buffer Overflow via MOCHAD_RFSEC strcpy()EPSS 0.3%CVE-2024-11790HIGHFuji Electric Monitouch V-SFT V10 File Parsing Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.3%CVE-2025-43025MEDIUMHP Universal Print Driver – Potential Denial of ServiceEPSS 0.3%CVE-2025-11678HIGHStack-based Buffer Overflow in libwebsockets DNS response parsingEPSS 0.3%CVE-2024-28575HIGHBuffer Overflow vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local attacker to cause a denial of service (DoS) via the oEPSS 0.3%CVE-2024-7013HIGHStack-based buffer overflow in Control FPWIN Pro version 7.7.2.0 and all previous versions may allow attackers to execute arbitrary code viaEPSS 0.3%CVE-2025-6857MEDIUMHDF5 H5Gnode.c H5G__node_cmp3 stack-based overflowEPSS 0.3%CVE-2023-28728HIGHA stack-based buffer overflow in Panasonic Control FPWIN Pro versions 7.6.0.3 and all previous versions may allow arbitrary code execution wEPSS 0.3%CVE-2025-8477HIGHAlpine iLX-507 vCard Parsing Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.3%CVE-2026-11793MEDIUM389-ds-base: 389-ds-base: stack buffer overflow in checkprefix() algorithm id parsingEPSS 0.3%CVE-2026-6868MEDIUMStack-based Buffer Overflow in WiresharkEPSS 0.3%CVE-2024-23110HIGHA stack-based buffer overflow in Fortinet FortiOS version 7.4.0 through 7.4.2, 7.2.0 through 7.2.6, 7.0.0 through 7.0.13, 6.4.0 through 6.4.EPSS 0.3%CVE-2026-32705MEDIUMPX4 autopilot BST Device Name Length Can Overflow Driver BufferEPSS 0.3%CVE-2023-46720MEDIUMA stack-based buffer overflow in Fortinet FortiOS version 7.4.0 through 7.4.1 and 7.2.0 through 7.2.7 and 7.0.0 through 7.0.12 and 6.4.6 thrEPSS 0.3%CVE-2025-44172MEDIUMTenda AC6 V15.03.05.16 was discovered to contain a stack overflow via the time parameter in the setSmartPowerManagement function.EPSS 0.3%