Weaknesses of type CWE-121

3,824 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-2010-20112CRITICALAmlibweb NetOpacs webquery.dll Stack Buffer OverflowEPSS 1.1%CVE-2025-14136HIGHLinksys RE6500/RE6250/RE6300/RE6350/RE7000/RE9000 mod_form.so stack-based overflowEPSS 1.1%CVE-2026-2567HIGHWavlink WL-NU516U1 nas.cgi sub_401218 stack-based overflowEPSS 1.1%CVE-2022-42060HIGHTenda AC1200 Router Model W15Ev2 V15.11.0.10(1576) was discovered to contain a stack overflow via the setWanPpoe function. This vulnerabilitEPSS 1.1%CVE-2022-24674HIGHThis vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Canon imageCLASS MF644Cdw 10.02 EPSS 1.1%CVE-2024-6144HIGHActiontec WCB6200Q Multipart Boundary Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 1.1%CVE-2024-6146HIGHActiontec WCB6200Q uh_get_postdata_withupload Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 1.1%CVE-2024-5950HIGHDeep Sea Electronics DSE855 Multipart Value Handling Stack-Based Buffer Overflow Remote Code Execution VulnerabilityEPSS 1.1%CVE-2026-9105MEDIUMAuthenticated Stack-Based Buffer Overflow in TP-Link TL-WR841N Web InterfaceEPSS 1.1%CVE-2025-3259HIGHTenda RX3 SetOnlineDevName formSetDeviceName stack-based overflowEPSS 1.1%CVE-2024-7151HIGHTenda O3 setMacFilter fromMacFilterSet stack-based overflowEPSS 1.1%CVE-2024-39791CRITICALVonets WiFi Bridges Stack-based Buffer OverflowEPSS 1.1%CVE-2026-37541CRITICALBuffer overflow vulnerability in Open Vehicle Monitoring System 3 (OVMS3) 3.3.005. In canformat_gvret.cpp, the length field in GVRET binary EPSS 1.1%CVE-2026-4747HIGHRemote code execution via RPCSEC_GSS packet validationEPSS 1.1%CVE-2025-9298HIGHTenda M3 QuickIndex formQuickIndex stack-based overflowEPSS 1.1%CVE-2025-26506CRITICALCertain HP LaserJet Pro, HP LaserJet Enterprise, HP LaserJet Managed Printers – Potential Remote Code Execution and Potential Elevation of PrivilegeEPSS 1.1%CVE-2024-5948HIGHDeep Sea Electronics DSE855 Multipart Boundary Stack-Based Buffer Overflow Remote Code Execution VulnerabilityEPSS 1.1%CVE-2008-20001HIGHactivePDF WebGrabber ActiveX Control Buffer OverflowEPSS 1.1%CVE-2026-4226HIGHLB-LINK BL-WR9000 get_virtual_cfg sub_44E8D0 stack-based overflowEPSS 1.1%CVE-2020-8006HIGHThe server in Circontrol Raption through 5.11.2 has a pre-authentication stack-based buffer overflow that can be exploited to gain run-time EPSS 1.1%