Weaknesses of type CWE-121

3,851 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-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%