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-2023-21632HIGHStack-based Buffer Overflow in Automotive GPUEPSS 0.1%CVE-2023-24854HIGHStack-based Buffer Overflow in WLAN HOSTEPSS 0.1%CVE-2026-88047HIGHTesseract: ReadNormProtos stack buffer overflowEPSS 0.1%CVE-2022-33264HIGHStack-based buffer overflow in ModemEPSS 0.1%CVE-2024-51395MEDIUMBuffer Overflow vulnerability in Ardupiot Copter Latest commit 92693e023793133e49a035daf37c14433e484778 allows a local attacker to cause a dEPSS 0.1%CVE-2025-7019MEDIUMAvast antivirus stack overflow when scanning a malformed Office Open XML fileEPSS 0.1%CVE-2026-18909MEDIUMA stack-based buffer overflow vulnerability exists in ELAN Microelectronics Corp. ELAN Smart-Pad on Windows (ETD.sys and ETDSMBus.sys). DuriEPSS 0.1%CVE-2023-43549HIGHStack-based Buffer Overflow in WLAN HALEPSS 0.1%CVE-2024-21474HIGHStack-based Buffer Overflow in PMICEPSS 0.1%CVE-2026-58008HIGHUnchecked HKDF key-size input in EL3 causes a stack buffer overflowEPSS 0.1%CVE-2024-23374MEDIUMStack-based Buffer Overflow in Power Management ICEPSS 0.1%CVE-2026-13465HIGHEL3 Stack Buffer Overflow in FCS HKDF RequestEPSS 0.1%CVE-2026-25268HIGHStack-based Buffer Overflow in WLAN HostEPSS 0.1%CVE-2024-48519MEDIUMBuffer Overflow vulnerability in Ardupilot rover commit v.c56439b045162058df0ff136afea3081fcd06d38 allows a local attacker to cause a denialEPSS 0.1%CVE-2024-43048HIGHStack-based Buffer Overflow in PerformanceEPSS 0.1%CVE-2024-43050HIGHStack-based Buffer Overflow in WLAN Windows HostEPSS 0.1%CVE-2024-38410HIGHStack-based Buffer Overflow in WLAN Windows HostEPSS 0.1%CVE-2026-0819LOWStack buffer overflow in PKCS7 SignedData encoding with custom signed attributesEPSS 0.1%CVE-2026-24085HIGHStack-based Buffer Overflow in DisplayEPSS 0.1%CVE-2025-47391HIGHStack-based Buffer Overflow in Camera DriverEPSS 0.1%