Falhas do tipo CWE-121

3.820 resultados

Estouro de buffer na pilha

Ocorre quando código escreve mais dados em um buffer alocado na pilha do que sua capacidade permite, sobrescrevendo dados adjacentes (variáveis, endereços de retorno). Um atacante pode explorar isso para executar código arbitrário ou crashar a aplicação alterando o fluxo de execução.

Exemplo

Uma função C que copia uma string do usuário diretamente em um array local sem validar tamanho: `char buffer[10]; strcpy(buffer, user_input);`. Se user_input tiver 50 caracteres, os 40 extras sobrescrevem a pilha, incluindo potencialmente o endereço de retorno da função.

Como mitigar

Use funções seguras que limitam escrita (strncpy, snprintf em vez de strcpy/sprintf), valide tamanho de entrada antes de copiar, ative proteções do compilador (stack canaries, ASLR) e use ferramentas de análise estática para detectar cópias sem limite.

CVE-2013-10042CRITICALfreeFTPd <= 1.0.10 PASS Command Stack-Based Buffer OverflowEPSS 2.5%CVE-2025-13188CRITICALD-Link DIR-816L authentication.cgi authenticationcgi_main stack-based overflowEPSS 2.4%CVE-2026-56766HIGHHydra - Stack Buffer Overflow in NTLM Authentication HandlerEPSS 2.4%CVE-2022-20710CRITICALCisco Small Business RV Series Routers VulnerabilitiesEPSS 2.4%CVE-2020-1896A stack overflow vulnerability in Facebook Hermes 'builtin apply' prior to commit 86543ac47e59c522976b5632b8bf9a2a4583c7d2 (https://github.cEPSS 2.4%CVE-2024-28934HIGHMicrosoft ODBC Driver for SQL Server Remote Code Execution VulnerabilityEPSS 2.4%CVE-2021-29097HIGHArcGIS general raster security update: buffer overflowEPSS 2.4%CVE-2020-4044HIGHLocal users can perform a buffer overflow attack against the xrdp-sesman service and then impersonate itEPSS 2.4%CVE-2024-39757CRITICALA stack-based buffer overflow vulnerability exists in the wireless.cgi AddMac() functionality of Wavlink AC3000 M33A8.V5030.210505. A speciaEPSS 2.4%CVE-2024-39603CRITICALA stack-based buffer overflow vulnerability exists in the wireless.cgi set_wifi_basic_mesh() functionality of Wavlink AC3000 M33A8.V5030.210EPSS 2.4%CVE-2024-39357CRITICALA stack-based buffer overflow vulnerability exists in the wireless.cgi SetName() functionality of Wavlink AC3000 M33A8.V5030.210505. A speciEPSS 2.4%CVE-2024-39359CRITICALA stack-based buffer overflow vulnerability exists in the wireless.cgi DeleteMac() functionality of Wavlink AC3000 M33A8.V5030.210505. A speEPSS 2.4%CVE-2024-34026CRITICALA stack-based buffer overflow vulnerability exists in the OpenPLC Runtime EtherNet/IP parser functionality of OpenPLC _v3 b4702061dc14d10248EPSS 2.4%CVE-2022-24764HIGHStack buffer overflow in pjprojectEPSS 2.4%CVE-2021-33019A stack-based buffer overflow vulnerability in Delta Electronics DOPSoft Version 4.00.11 and prior may be exploited by processing a speciallEPSS 2.4%CVE-2021-26731CRITICALspx_restservice modifyUserb_func Command Injection and Multiple Stack-Based Buffer OverflowsEPSS 2.4%CVE-2024-46313HIGHTP-Link WR941ND V6 has a stack overflow vulnerability in the ssid parameter in /userRpm/popupSiteSurveyRpm.htm.EPSS 2.4%CVE-2026-73522HIGHCOVESA Open1722 0.9.2 Stack Buffer Overflow via avtp_to_can() in acf-can-listenerEPSS 2.4%CVE-2021-43300Stack overflow in PJSUA API when calling pjsua_recorder_create. An attacker-controlled 'filename' argument may cause a buffer overflow sinceEPSS 2.4%CVE-2021-43301Stack overflow in PJSUA API when calling pjsua_playlist_create. An attacker-controlled 'file_names' argument may cause a buffer overflow sinEPSS 2.4%