Fallos del tipo CWE-121

3851 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-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%