Fallos del tipo CWE-121

3823 resultados

Estouro de buffer na pilha

Ocorre quando código escreve dados além dos limites de um buffer alocado na pilha (stack), sobrescrevendo informações críticas como endereços de retorno ou variáveis locais. Um atacante pode explorar isso para executar código arbitrário ou causar crash da aplicação.

Ejemplo

Uma função copia uma string de entrada diretamente em um array de 64 bytes sem validar o tamanho: `char buffer[64]; strcpy(buffer, user_input);` Se o usuário enviar uma string com 200 bytes, ela sobrescreverá o endereço de retorno e pode redirecionar a execução para código malicioso.

Cómo mitigar

Use funções seguras com limite de tamanho (`strncpy`, `snprintf`), valide e sanitize entradas antes de copiar, implemente proteções em tempo de execução (stack canaries, ASLR, DEP) e considere usar linguagens com verificação de limites automática quando possível.

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-1896—A 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-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.4%KEVCVE-2020-4044HIGHLocal users can perform a buffer overflow attack against the xrdp-sesman service and then impersonate itEPSS 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-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-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-33019—A 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-43300—Stack overflow in PJSUA API when calling pjsua_recorder_create. An attacker-controlled 'filename' argument may cause a buffer overflow sinceEPSS 2.4%