Falhas do tipo CWE-121

3.851 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-2026-91826MEDIUMStack-based buffer overflow vulnerability in Samsung Opensource rLottie allows attackers to overflow buffers, leading to memory corruption wEPSS 0.1%CVE-2026-55980MEDIUMDenial-of-service vulnerability in CatchPulseEPSS 0.1%CVE-2025-7844LOWwolfTPM library wrapper function `wolfTPM2_RsaKey_TpmToWolf` copies external data to a fixed-size stack buffer without length validation potentially causing stack-based buffer overflowEPSS 0.1%CVE-2026-40949MEDIUMBuffer overflow in Windows clients prior to 14.50EPSS 0.1%CVE-2026-22923HIGHA vulnerability has been identified in NX (All versions < V2512), NX (Managed Mode) (All versions < V2512). The affected application containEPSS 0.1%CVE-2026-19477HIGHStack-based Buffer Overflow Vulnerability in Linux (uldaq)EPSS 0.1%CVE-2019-25437MEDIUMFoscam Video Management System 1.1.6.6 Buffer Overflow Denial of ServiceEPSS 0.1%CVE-2025-33092HIGHIBM Db2 for Linux code executionEPSS 0.1%CVE-2026-28422LOWVim has stack-buffer-overflow in build_stl_str_hl()EPSS 0.1%CVE-2026-18871HIGHPower System Buffer OverflowEPSS 0.1%CVE-2026-96415MEDIUMStack-based Buffer Overflow in WiresharkEPSS 0.1%CVE-2025-20717HIGHIn wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local escalation of privilegEPSS 0.1%CVE-2025-20714HIGHIn wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local escalation of privilegEPSS 0.1%CVE-2022-40517HIGHStack based buffer overflow in CoreEPSS 0.1%CVE-2025-20713HIGHIn wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local escalation of privilegEPSS 0.1%CVE-2026-4017HIGHBuffer overflow in the QNX Neutrino kernel impacts versions of the QNX Software Development Platform and QNX OS for SafetyEPSS 0.1%CVE-2025-20736MEDIUMIn wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local escalation of privilegEPSS 0.1%CVE-2026-22212MEDIUMTinyOS <= 2.1.2 Stack-Based Buffer Overflow in mcp2200gpioEPSS 0.1%CVE-2026-49760MEDIUMStack Buffer Overflow in ei_s_print_term at Very Large IntegerEPSS 0.1%CVE-2025-32766MEDIUMA stack-based buffer overflow vulnerability [CWE-121] in Fortinet FortiWeb CLI version 7.6.0 through 7.6.3 and before 7.4.8 allows a privileEPSS 0.1%