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-2024-7185HIGHTOTOLINK A3600R cstecgi.cgi setWebWlanIdx buffer overflowEPSS 1.1%CVE-2024-7176HIGHTOTOLINK A3600R cstecgi.cgi setIpQosRules buffer overflowEPSS 1.1%CVE-2025-43433HIGHThe issue was addressed with improved memory handling. This issue is fixed in Safari 26.1, iOS 18.7.2 and iPadOS 18.7.2, iOS 26.1 and iPadOSEPSS 1.1%CVE-2024-7180HIGHTOTOLINK A3600R cstecgi.cgi setPortForwardRules buffer overflowEPSS 1.1%CVE-2025-4147HIGHNetgear EX6200 sub_47F7C buffer overflowEPSS 1.1%CVE-2024-7182HIGHTOTOLINK A3600R cstecgi.cgi setUpgradeFW buffer overflowEPSS 1.1%CVE-2024-7173HIGHTOTOLINK A3600R cstecgi.cgi loginauth buffer overflowEPSS 1.1%CVE-2025-4141HIGHNetgear EX6200 sub_3C03C buffer overflowEPSS 1.1%CVE-2024-7179HIGHTOTOLINK A3600R cstecgi.cgi setParentalRules buffer overflowEPSS 1.1%CVE-2024-8577HIGHTOTOLINK AC1200 T8/AC1200 T10 cstecgi.cgi setStaticDhcpRules buffer overflowEPSS 1.1%CVE-2024-8575HIGHTOTOLINK AC1200 T8 cstecgi.cgi setWiFiScheduleCfg buffer overflowEPSS 1.1%CVE-2024-7184HIGHTOTOLINK A3600R cstecgi.cgi setUrlFilterRules buffer overflowEPSS 1.1%CVE-2024-7183HIGHTOTOLINK A3600R cstecgi.cgi setUploadSetting buffer overflowEPSS 1.1%CVE-2024-7178HIGHTOTOLINK A3600R cstecgi.cgi setMacQos buffer overflowEPSS 1.1%CVE-2024-8576HIGHTOTOLINK AC1200 T8/AC1200 T10 cstecgi.cgi setIpPortFilterRules buffer overflowEPSS 1.1%CVE-2024-7186HIGHTOTOLINK A3600R cstecgi.cgi setWiFiAclAddConfig buffer overflowEPSS 1.1%CVE-2024-8578HIGHTOTOLINK AC1200 T8 cstecgi.cgi setWiFiMeshName buffer overflowEPSS 1.1%CVE-2024-7213HIGHTOTOLINK A7000R cstecgi.cgi setWizardCfg buffer overflowEPSS 1.1%CVE-2025-4298HIGHTenda AC1206 setcfm formSetCfm buffer overflowEPSS 1.1%CVE-2025-11295HIGHBelkin F9K1015 formPPPoESetup buffer overflowEPSS 1.1%