Falhas do tipo CWE-120

3.248 resultados

Estouro de buffer clássico

A aplicação copia dados em um buffer sem validar o tamanho, permitindo que um atacante sobrescreva memória adjacente. Isso pode corromper variáveis, desviar o fluxo de execução ou injetar código malicioso que será executado com os mesmos privilégios da aplicação.

Exemplo

Um formulário web aceita um nome de usuário e o copia direto em um array de 32 bytes sem checar comprimento. Um atacante envia 200 bytes; o excesso sobrescreve o endereço de retorno da função, desviando a execução para código dele. Comum em CGI antigos, serviços network e binários C/C++ mal escritos.

Como mitigar

Use funções seguras (strncpy, strlcpy em vez de strcpy; snprintf em vez de sprintf) que respeitam limites. Sempre valide e sanitize entrada externa antes de copiar. Em C moderno, considere AddressSanitizer ou ferramentas estáticas para detectar cópias inseguras em tempo de compilação.

CVE-2024-7338HIGHTOTOLINK EX1200L cstecgi.cgi setParentalRules buffer overflowEPSS 1.2%CVE-2023-38823CRITICALBuffer Overflow vulnerability in Tenda Ac19 v.1.0, AC18, AC9 v.1.0, AC6 v.2.0 and v.1.0 allows a remote attacker to execute arbitrary code vEPSS 1.2%CVE-2011-10022HIGHSPlayer 3.7 Content-Type Header Buffer OverflowEPSS 1.2%CVE-2024-7334HIGHTOTOLINK EX1200L cstecgi.cgi UploadCustomModule buffer overflowEPSS 1.2%CVE-2023-3618MEDIUMSegmentation fault in fax3encode in libtiff/tif_fax3.cEPSS 1.2%CVE-2024-24736HIGHThe POP3 service in YahooPOPs (aka YPOPs!) 1.6 allows a remote denial of service (reboot) via a long string to TCP port 110, a related issueEPSS 1.2%CVE-2025-4147HIGHNetgear EX6200 sub_47F7C buffer overflowEPSS 1.2%CVE-2025-4141HIGHNetgear EX6200 sub_3C03C buffer overflowEPSS 1.2%CVE-2024-7174HIGHTOTOLINK A3600R cstecgi.cgi setdeviceName buffer overflowEPSS 1.2%CVE-2024-7177HIGHTOTOLINK A3600R cstecgi.cgi setLanguageCfg buffer overflowEPSS 1.2%CVE-2025-4298HIGHTenda AC1206 setcfm formSetCfm buffer overflowEPSS 1.2%CVE-2020-7564MEDIUMA CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability exists in the Web Server on Modicon M340, MoEPSS 1.2%CVE-2020-27507CRITICALThe Kamailio SIP before 5.5.0 server mishandles INVITE requests with duplicated fields and overlength tag, leading to a buffer overflow thatEPSS 1.2%CVE-2025-5910HIGHTOTOLINK EX1200T HTTP POST Request formWsc buffer overflowEPSS 1.2%CVE-2025-5911HIGHTOTOLINK EX1200T HTTP POST Request formDMZ buffer overflowEPSS 1.2%CVE-2024-40494CRITICALBuffer Overflow in coap_msg.c in FreeCoAP allows remote attackers to execute arbitrary code or cause a denial of service (stack buffer overfEPSS 1.2%CVE-2024-7849HIGHD-Link DNS-1550-04 photocenter_mgr.cgi cgi_create_album buffer overflowEPSS 1.2%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.2%CVE-2025-9962CRITICALUnauthenticated Buffer OverflowEPSS 1.2%CVE-2022-20886MEDIUMCisco Small Business RV110W, RV130, RV130W, and RV215W Routers Remote Command Execution and Denial of Service VulnerabilitiesEPSS 1.2%