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-2025-11651HIGHUTT 进取 518G formRemoteControl sub_4247AC buffer overflowEPSS 0.8%CVE-2023-27705HIGHAPNG_Optimizer v1.4 was discovered to contain a buffer overflow via the component /apngopt/ubuntu.png.EPSS 0.8%CVE-2025-41769CRITICALUnauthenticated Buffer Overflow in PROFINET ServiceEPSS 0.8%CVE-2025-4896HIGHTenda AC10 UserCongratulationsExec buffer overflowEPSS 0.8%CVE-2025-11652HIGHUTT 进取 518G formTaskEdit_ap buffer overflowEPSS 0.8%CVE-2024-37047MEDIUMQTS, QuTS heroEPSS 0.8%CVE-2024-37049MEDIUMQTS, QuTS heroEPSS 0.8%CVE-2024-37050MEDIUMQTS, QuTS heroEPSS 0.8%CVE-2026-7218HIGHTotolink N300RT libapmib.so formWsc is_cmd_string_valid buffer overflowEPSS 0.8%CVE-2026-7219HIGHTotolink N300RT formIpQoS buffer overflowEPSS 0.8%CVE-2025-1896HIGHTenda TX3 SetStaticRouteCfg buffer overflowEPSS 0.8%CVE-2025-1898HIGHTenda TX3 openSchedWifi buffer overflowEPSS 0.8%CVE-2024-33278CRITICALBuffer Overflow vulnerability in ASUS router RT-AX88U with firmware versions v3.0.0.4.388_24198 allows a remote attacker to execute arbitrarEPSS 0.8%CVE-2026-45100CRITICALOpenSIPS: Buffer Overflow in Base64 Encode TransformationEPSS 0.8%CVE-2023-44832HIGHD-Link DIR-823G A1V1.0.2B05 was discovered to contain a buffer overflow via the MacAddress parameter in the SetWanSettings function. This vuEPSS 0.8%CVE-2022-45652CRITICALTenda AC6V1.0 V15.03.05.19 was discovered to contain a buffer overflow via the startIp parameter in the formSetPPTPServer function.EPSS 0.8%CVE-2025-10815HIGHTenda AC20 HTTP POST Request SetPptpServerCfg strcpy buffer overflowEPSS 0.8%CVE-2022-45651CRITICALTenda AC6V1.0 V15.03.05.19 was discovered to contain a buffer overflow via the list parameter in the formSetVirtualSer function.EPSS 0.8%CVE-2025-11355HIGHUTT 1250GW aspChangeChannel strcpy buffer overflowEPSS 0.8%CVE-2024-12988MEDIUMNetgear R6900P/R7000P HTTP Header sub_16C4C buffer overflowEPSS 0.8%