Weaknesses of type CWE-121

3,834 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-2025-3482CRITICALMedDream PACS Server DICOM File Parsing Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.6%CVE-2026-2180HIGHTenda RX3 fast_setting_wifi_set stack-based overflowEPSS 0.6%CVE-2025-57218MEDIUMTenda AC10 v4.0 firmware v16.03.10.09_multi_TDE01 was discovered to contain a stack overflow via the security_5g parameter in the function sEPSS 0.6%CVE-2024-34203LOWTOTOLINK CP450 v4.1.0cu.747_B20191224 was discovered to contain a stack buffer overflow vulnerability in the setLanguageCfg function.EPSS 0.6%CVE-2020-37126HIGHFree Desktop Clock x86 Venetian Blinds Zipper 3.0 - Unicode Stack Overflow (SEH)EPSS 0.6%CVE-2026-28848HIGHA buffer overflow was addressed with improved bounds checking. This issue is fixed in macOS Sequoia 15.7.7, macOS Tahoe 26.5. A remote attacEPSS 0.6%CVE-2025-53843MEDIUMA stack-based buffer overflow vulnerability in Fortinet FortiOS 7.6.0 through 7.6.3, FortiOS 7.4.0 through 7.4.8, FortiOS 7.2 all versions, EPSS 0.6%CVE-2026-58158HIGHApache Traffic Server: PROXY protocol parsing has port truncation and a stack overflowEPSS 0.6%CVE-2026-33930HIGHApache Traffic Server: Buffer overflow via Host field that has a long string valueEPSS 0.6%CVE-2026-71979HIGHINDI indiserver 2.2.4.2 Stack Buffer Overflow via XML Tag ParsingEPSS 0.6%CVE-2018-11447—A vulnerability has been identified in SCALANCE M875 (All versions). The web interface on port 443/tcp could allow a Cross-Site Request ForgEPSS 0.6%CVE-2026-96257CRITICALFast FAC1203R Gigabit Edition Device Discovery Service copy_msg_element stack-based overflowEPSS 0.6%CVE-2025-70227HIGHStack buffer overflow vulnerability in D-Link DIR-513 v1.10 via the nextPage parameter to goform/formLanguageChange.EPSS 0.6%CVE-2025-70246HIGHStack buffer overflow vulnerability in D-Link DIR-513 v1.10 via the curTime parameter to goform/formVirtualServ.EPSS 0.6%CVE-2023-44448MEDIUMTP-Link Archer A54 libcmm.so dm_fillObjByStr Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.6%CVE-2023-52162MEDIUMMercusys MW325R EU V3 (Firmware MW325R(EU)_V3_1.11.0 Build 221019) is vulnerable to a stack-based buffer overflow, which could allow an attaEPSS 0.6%CVE-2025-3483CRITICALMedDream PACS Server DICOM File Parsing Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.6%CVE-2025-3481CRITICALMedDream PACS Server DICOM File Parsing Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.6%CVE-2021-38433MEDIUMRTI Connext DDS Professional and Connext DDS Secure Stack-based Buffer OverflowEPSS 0.6%CVE-2026-9150MEDIUMLibsolv: stack-based buffer overflow in libsolv's debian metadata parser when handling sha384/sha512 checksumsEPSS 0.6%