Weaknesses of type CWE-121

3,833 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-2024-30589CRITICALTenda FH1202 v1.2.0.14(408) firmware has a stack overflow vulnerability in the entrys parameter of the fromAddressNat function.EPSS 0.7%CVE-2023-35748HIGHD-Link DAP-2622 DDP Firmware Upgrade Server IPv6 Address Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.7%CVE-2024-20307MEDIUMA vulnerability in the IKEv1 fragmentation code of Cisco IOS Software and Cisco IOS XE Software could allow an unauthenticated, remote attacEPSS 0.7%CVE-2026-24465CRITICALStack-based buffer overflow vulnerability exists in ELECOM wireless LAN access point devices. A crafted packet may lead to arbitrary code exEPSS 0.7%CVE-2023-5403HIGHServer hostname translation to IP address manipulation which could lead to an attacker performing remote code execution or causing a failureEPSS 0.7%CVE-2022-24973MEDIUMThis vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of TP-Link TL-WR940N 3.20.1 Build 2EPSS 0.7%CVE-2025-70247HIGHStack buffer overflow vulnerability in D-Link DIR-513 v1.10 via the curTime parameter to goform/formSetWizard1.EPSS 0.7%CVE-2025-70249HIGHStack buffer overflow vulnerability in D-Link DIR-513 v1.10 via the curTime parameter to goform/formSetWizard2.EPSS 0.7%CVE-2018-7527—A buffer overflow can be triggered in LeviStudio HMI Editor, Version 1.10 part of Wecon LeviStudioU 1.8.29, and PI Studio HMI Project PrograEPSS 0.7%CVE-2026-86509CRITICALD-Link DIR-895L udhcpcd serverpacket.c sendACK stack-based overflowEPSS 0.7%CVE-2026-43661HIGHA buffer overflow issue was addressed with improved memory handling. This issue is fixed in iOS 18.7.10 and iPadOS 18.7.10, iOS 26.5 and iPaEPSS 0.7%CVE-2024-52547HIGHLorex 2K Indoor Wi-Fi Security Camera - Stack buffer overflowEPSS 0.7%CVE-2022-0650MEDIUMThis vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of TP-Link TL-WR940N 3.20.1 Build 2EPSS 0.7%CVE-2023-27332HIGHTP-Link Archer AX21 tdpServer Logging Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.7%CVE-2024-27570HIGHLBT T300-T390 v2.2.1.8 were discovered to contain a stack overflow via the ApCliSsid parameter in the generate_conf_router function. This vuEPSS 0.7%CVE-2026-0792HIGHALGO 8180 IP Audio Alerter SIP INVITE Alert-Info Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.7%CVE-2024-27571HIGHLBT T300-T390 v2.2.1.8 were discovered to contain a stack overflow via the ApCliSsid parameter in the makeCurRemoteApList function. This vulEPSS 0.7%CVE-2025-70240HIGHStack buffer overflow vulnerability in D-Link DIR-513 v1.10 via the curTime parameter to goform/formSetWAN_Wizard51.EPSS 0.7%CVE-2026-2185HIGHTenda RX3 MAC Filtering Configuration Endpoint setBlackRule set_device_name stack-based overflowEPSS 0.7%CVE-2025-70237HIGHStack buffer overflow vulnerability in D-Link DIR-513 v1.10 via the curTime parameter to goform/formSetPortTr.EPSS 0.7%