Weaknesses of type CWE-120

3,163 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-2021-28548HIGHAdobe Photoshop parsing JS buffer overflow vulnerability could lead to arbitrary code executionEPSS 6.4%CVE-2025-5739HIGHTOTOLINK X15 HTTP POST Request formSaveConfig buffer overflowEPSS 6.3%CVE-2025-5850HIGHTenda AC15 HTTP POST Request SetLEDCf formsetschedled buffer overflowEPSS 6.2%CVE-2025-5907HIGHTOTOLINK EX1200T HTTP POST Request formFilter buffer overflowEPSS 6.2%CVE-2025-5901HIGHTOTOLINK T10 POST Request cstecgi.cgi UploadCustomModule buffer overflowEPSS 6.2%CVE-2025-4897HIGHTenda A15 HTTP POST Request multimodalAdd buffer overflowEPSS 6.1%CVE-2025-5785HIGHTOTOLINK X15 HTTP POST Request formWirelessTbl buffer overflowEPSS 6.0%CVE-2025-5788HIGHTOTOLINK X15 HTTP POST Request formReflashClientTbl buffer overflowEPSS 6.0%CVE-2025-5786HIGHTOTOLINK X15 HTTP POST Request formDMZ buffer overflowEPSS 6.0%CVE-2025-5787HIGHTOTOLINK X15 HTTP POST Request formWsc buffer overflowEPSS 6.0%CVE-2025-5790HIGHTOTOLINK X15 HTTP POST Request formIpQoS buffer overflowEPSS 6.0%CVE-2025-5902HIGHTOTOLINK T10 POST Request cstecgi.cgi setUpgradeFW buffer overflowEPSS 5.9%CVE-2026-7854CRITICALD-Link DI-8100 POST Parameter url_rule.asp url_rule_asp buffer overflowEPSS 5.9%CVE-2025-14709CRITICALShiguangwu sgwbox N3 WIRELESSCFGGET http_eshell_server buffer overflowEPSS 5.9%CVE-2024-52759LOWD-LINK DI-8003 v16.07.26A1 was discovered to contain a buffer overflow via the ip parameter in the ip_position_asp function.EPSS 5.8%CVE-2022-22728libapreq2 multipart form parse memory corruptionEPSS 5.8%CVE-2025-5792HIGHTOTOLINK EX1200T HTTP POST Request formWlanRedirect buffer overflowEPSS 5.8%CVE-2025-7945HIGHD-Link DIR-513 formSetWanDhcpplus buffer overflowEPSS 5.7%CVE-2025-14534CRITICALUTT 进取 512W Endpoint formNatStaticMap strcpy buffer overflowEPSS 5.7%CVE-2025-14535CRITICALUTT 进取 512W formConfigFastDirectionW strcpy buffer overflowEPSS 5.6%