Falhas do tipo CWE-120

3.164 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-2022-44283CRITICALAVS Audio Converter 10.3 is vulnerable to Buffer Overflow.EPSS 1.2%CVE-2025-4496HIGHTOTOLINK T10/A3100R/A950RG/A800R/N600R/A3000RU/A810R cstecgi.cgi CloudACMunualUpdate buffer overflowEPSS 1.2%CVE-2026-6014HIGHD-Link DIR-513 POST Request formAdvanceSetup buffer overflowEPSS 1.2%CVE-2026-8260HIGHD-Link DCS-935L HNAP Service hnap_service SetDeviceSettings buffer overflowEPSS 1.2%CVE-2024-7335HIGHTOTOLINK EX200 getSaveConfig buffer overflowEPSS 1.2%CVE-2025-7345HIGHGdk‑pixbuf: heap‑buffer‑overflow in gdk‑pixbufEPSS 1.2%CVE-2021-28196MEDIUMASUS BMC's firmware: buffer overflow - Generate SSL certificate functionEPSS 1.2%CVE-2021-28190MEDIUMASUS BMC's firmware: buffer overflow - Generate new certificate functionEPSS 1.2%CVE-2021-28187MEDIUMASUS BMC's firmware: buffer overflow - Generate new SSL certificateEPSS 1.2%CVE-2026-51934CRITICALBuffer Overflow vulnerability in Shenzhen Jixiang Tengda Technology Co., Ltd. Tenda A18 v.15.13.07.09 allows a remote attacker to execute arEPSS 1.2%CVE-2024-7187HIGHTOTOLINK A3600R cstecgi.cgi UploadCustomModule 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.1%CVE-2021-21827HIGHA heap-based buffer overflow vulnerability exists in the XML Decompression DecodeTreeBlock functionality of AT&T Labs Xmill 0.7. Within `DecEPSS 1.1%CVE-2021-21826HIGHA heap-based buffer overflow vulnerability exists in the XML Decompression DecodeTreeBlock functionality of AT&T Labs Xmill 0.7. Within `DecEPSS 1.1%CVE-2021-21828HIGHA heap-based buffer overflow vulnerability exists in the XML Decompression DecodeTreeBlock functionality of AT&T Labs Xmill 0.7. In the defaEPSS 1.1%CVE-2023-39206LOWBuffer overflow in some Zoom clients may allow an unauthenticated user to conduct a denial of service via network access.EPSS 1.1%CVE-2022-43343HIGHN-Prolog v1.91 was discovered to contain a global buffer overflow vulnerability in the function gettoken() at Main.c.EPSS 1.1%CVE-2022-20880MEDIUMCisco Small Business RV110W, RV130, RV130W, and RV215W Routers Remote Command Execution and Denial of Service VulnerabilitiesEPSS 1.1%CVE-2022-20886MEDIUMCisco Small Business RV110W, RV130, RV130W, and RV215W Routers Remote Command Execution and Denial of Service VulnerabilitiesEPSS 1.1%CVE-2022-20873MEDIUMCisco Small Business RV110W, RV130, RV130W, and RV215W Routers Remote Command Execution and Denial of Service VulnerabilitiesEPSS 1.1%