Weaknesses of type CWE-120

3,164 results

Estouro de buffer clássico

A aplicação copia dados para um buffer sem validar o tamanho, permitindo que um atacante sobrescreva memória adjacente, incluindo endereços de retorno ou ponteiros de função. Isso resulta na execução de código arbitrário com os privilégios da aplicação.

Example

Um programa lê uma entrada do usuário com gets() ou strcpy() sem limitar quantos bytes podem ser copiados. Um atacante fornece uma entrada maior que o buffer, sobrescrevendo a pilha e injetando código malicioso que será executado quando a função retornar.

How to mitigate

Use funções seguras que validam limites (strncpy, snprintf, fgets) e compile com proteções de pilha ativadas (-fstack-protector-all no GCC). Além disso, implemente validação de entrada no tamanho esperado e considere linguagens com gerenciamento automático de memória para novos projetos.

CVE-2026-3398HIGHTenda F453 httpd AdvSetWan fromAdvSetWan buffer overflowEPSS 1.0%CVE-2026-4976HIGHTotolink LR350 cstecgi.cgi setWiFiGuestCfg buffer overflowEPSS 1.0%CVE-2026-7099HIGHTenda F456 httpd QuickIndex formQuickIndex buffer overflowEPSS 1.0%CVE-2026-3275HIGHTenda F453 httpd addressNat fromAddressNat buffer overflowEPSS 1.0%CVE-2026-3380HIGHTenda F453 L7Im frmL7ImForm buffer overflowEPSS 1.0%CVE-2026-7078HIGHTenda F456 httpd SetIpBind fromSetIpBind buffer overflowEPSS 1.0%CVE-2026-7054HIGHTenda F456 httpd PPTPDClient fromPptpUserAdd buffer overflowEPSS 1.0%CVE-2026-7100HIGHTenda F456 httpd Natlimit fromNatlimitof buffer overflowEPSS 1.0%CVE-2026-6988HIGHTenda HG10 Boa Service formRouting formRoute buffer overflowEPSS 1.0%CVE-2026-7032HIGHTenda F456 SafeEmailFilter buffer overflowEPSS 1.0%CVE-2026-7079HIGHTenda F456 httpd AdvSetWan fromAdvSetWan buffer overflowEPSS 1.0%CVE-2026-3379HIGHTenda F453 SetIpBind fromSetIpBind buffer overflowEPSS 1.0%CVE-2026-7607HIGHTRENDnet TEW-821DAP Firmware Udpate auto_update_firmware buffer overflowEPSS 1.0%CVE-2026-7101HIGHTenda F456 httpd WrlclientSet fromWrlclientSet buffer overflowEPSS 1.0%CVE-2026-7029HIGHTenda F456 addressNat fromaddressNat buffer overflowEPSS 1.0%CVE-2026-7081HIGHTenda F456 httpd GstDhcpSetSer fromGstDhcpSetSer buffer overflowEPSS 1.0%CVE-2026-3376HIGHTenda F453 SafeMacFilter fromSafeMacFilter buffer overflowEPSS 1.0%CVE-2026-3377HIGHTenda F453 SafeUrlFilter fromSafeUrlFilter buffer overflowEPSS 1.0%CVE-2026-7053HIGHTenda F456 httpd L7Prot frmL7ProtForm buffer overflowEPSS 1.0%CVE-2026-3399HIGHTenda F453 httpd GstDhcpSetSer fromGstDhcpSetSer buffer overflowEPSS 1.0%