Weaknesses of type CWE-121

4,132 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-2020-25854—The function DecWPA2KeyData() in the Realtek RTL8195A Wi-Fi Module prior to versions released in April 2020 (up to and excluding 2.08) does EPSS 2.8%CVE-2020-25855—The function AES_UnWRAP() in the Realtek RTL8195A Wi-Fi Module prior to versions released in April 2020 (up to and excluding 2.08) does not EPSS 2.8%CVE-2014-0753—Ecava IntegraXor Stack-based Buffer OverflowEPSS 2.7%CVE-2026-7273HIGHA stack-based buffer overflow vulnerability in the CGI program of Zyxel GS1900-48HPv2 firmware versions through 2.90(ABTQ.1)C0 could allow aEPSS 2.7%KEVCVE-2018-7494—WPLSoft in Delta Electronics versions 2.45.0 and prior utilizes a fixed length stack buffer where a value larger than the buffer can be readEPSS 2.7%CVE-2019-5038HIGHAn exploitable command execution vulnerability exists in the print-tlv command of Weave tool. A specially crafted weave TLV can trigger a stEPSS 2.7%CVE-2025-5630CRITICALD-Link DIR-816 form2lansetup.cgi stack-based overflowEPSS 2.7%CVE-2021-35474—Dynamic stack buffer overflow in cachekey pluginEPSS 2.7%CVE-2022-38752MEDIUMDoS in SnakeYAMLEPSS 2.7%CVE-2021-26731CRITICALspx_restservice modifyUserb_func Command Injection and Multiple Stack-Based Buffer OverflowsEPSS 2.7%CVE-2014-0768—Advantech WebAccess Stack-based Buffer OverflowEPSS 2.7%CVE-2014-0765—Advantech WebAccess Stack-based Buffer OverflowEPSS 2.7%CVE-2021-44165—A vulnerability has been identified in POWER METER SICAM Q100 (All versions < V2.41), POWER METER SICAM Q100 (All versions < V2.41), POWER MEPSS 2.7%CVE-2014-0764—Advantech WebAccess Stack-based Buffer OverflowEPSS 2.7%CVE-2014-0767—Advantech WebAccess Stack-based Buffer OverflowEPSS 2.7%CVE-2014-0766—Advantech WebAccess Stack-based Buffer OverflowEPSS 2.7%CVE-2015-1007—A specially crafted configuration file could be used to cause a stack-based buffer overflow condition in the OPCTest.exe, which may allow reEPSS 2.7%CVE-2022-38450HIGHAdobe Acrobat Reader DC XFA Parsing Stack Overflow Remote Code Execution VulnerabilityEPSS 2.7%CVE-2018-17937—gpsd versions 2.90 to 3.17 and microjson versions 1.0 to 1.3, an open source project, allow a stack-based buffer overflow, which may allow rEPSS 2.7%CVE-2021-26728CRITICALspx_restservice KillDupUsr_func Command Injection and Stack-Based Buffer OverflowEPSS 2.7%