Falhas do tipo CWE-121

3.825 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-2017-16256HIGHMultiple exploitable buffer overflow vulnerabilities exist in the PubNub message handler for the "cc" channel of Insteon Hub running firmwarEPSS 0.9%CVE-2017-16299HIGHMultiple exploitable buffer overflow vulnerabilities exist in the PubNub message handler for the "cc" channel of Insteon Hub running firmwarEPSS 0.9%CVE-2017-16260HIGHMultiple exploitable buffer overflow vulnerabilities exist in the PubNub message handler for the "cc" channel of Insteon Hub running firmwarEPSS 0.9%CVE-2017-16266HIGHMultiple exploitable buffer overflow vulnerabilities exist in the PubNub message handler for the "cc" channel of Insteon Hub running firmwarEPSS 0.9%CVE-2017-16327HIGHMultiple exploitable buffer overflow vulnerabilities exist in the PubNub message handler for the "cc" channel of Insteon Hub running firmwarEPSS 0.9%CVE-2026-76689HIGHAuthenticated Buffer Overflow Vulnerability leads to Remote Code Execution or Denial-of-Service in HPE Networking EdgeConnect SD-WAN GatewaysEPSS 0.9%CVE-2026-64831HIGHFFmpeg 8.0 - 8.1.2 Stack Buffer Overflow in Vulkan HEVC DecoderEPSS 0.9%CVE-2026-4172HIGHTRENDnet TEW-632BRP HTTP POST Request ping_response.cgi stack-based overflowEPSS 0.9%CVE-2025-3887HIGHGStreamer H265 Codec Parsing Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.9%CVE-2025-7853HIGHTenda FH451 SetIpBind fromSetIpBind stack-based overflowEPSS 0.8%CVE-2026-80146CRITICALLantronix Autonomous Out-of-Band Devices Stack-Based Buffer Overflow via mfc eeprom readEPSS 0.8%CVE-2026-80147CRITICALLantronix Autonomous Out-of-Band Devices Stack-Based Buffer Overflow via mfc eeprom writeEPSS 0.8%CVE-2026-51846CRITICALIn Tenda AC7 v15.03.06.44, the wanSpeed parameter of the route /goform/AdvSetMacMtuWan has a stack buffer overflow vulnerability that can leEPSS 0.8%CVE-2025-9748HIGHTenda CH22 httpd IPSECsave fromIpsecitem stack-based overflowEPSS 0.8%CVE-2026-4188HIGHD-Link DIR-619L boa formSchedule stack-based overflowEPSS 0.8%CVE-2024-0927MEDIUMTenda AC10U fromAddressNat stack-based overflowEPSS 0.8%CVE-2024-28551HIGHTenda AC18 V15.03.05.05 has a stack overflow vulnerability in the ssid parameter of form_fast_setting_wifi_set function.EPSS 0.8%CVE-2026-5548HIGHTenda AC10 httpd fromSysToolChangePwd stack-based overflowEPSS 0.8%CVE-2025-60699MEDIUMA buffer overflow vulnerability exists in the TOTOLINK A950RG Router firmware V5.9c.4592_B20191022_ALL within the `global.so` binary. The `gEPSS 0.8%CVE-2024-37049MEDIUMQTS, QuTS heroEPSS 0.8%