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-2023-32722CRITICALStack-buffer Overflow in library module zbxjsonEPSS 0.7%CVE-2026-2066HIGHUTT 进取 520W formIpGroupConfig strcpy buffer overflowEPSS 0.7%CVE-2026-76682HIGHUnauthenticated Denial-of-Service Vulnerabilities in HPE Networking EdgeConnect SD-WAN GatewaysEPSS 0.7%CVE-2026-2071HIGHUTT 进取 520W formP2PLimitConfig strcpy buffer overflowEPSS 0.7%CVE-2024-55194CRITICALOpenImageIO v3.1.0.0dev was discovered to contain a heap overflow via the component /OpenImageIO/fmath.h.EPSS 0.7%CVE-2026-2070HIGHUTT 进取 520W formPolicyRouteConf strcpy buffer overflowEPSS 0.7%CVE-2024-27128MEDIUMQTS, QuTS heroEPSS 0.7%CVE-2024-27129MEDIUMQTS, QuTS heroEPSS 0.7%CVE-2023-28116HIGHBuffer overflow in L2CAP due to misconfigured MTUEPSS 0.7%CVE-2025-12345HIGHLLM-Claw Agent Deployment initiate.c agent_deploy_init buffer overflowEPSS 0.7%CVE-2026-18279HIGHSony XAV-9500ES RTSP SETUP Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.7%CVE-2024-44331HIGHIncorrect Access Control in GStreamer RTSP server 1.25.0 in gst-rtsp-server/rtsp-media.c allows remote attackers to cause a denial of servicEPSS 0.7%CVE-2023-40830CRITICALTenda AC6 v15.03.05.19 is vulnerable to Buffer Overflow as the Index parameter does not verify the length.EPSS 0.7%CVE-2022-44232HIGHlibming 0.4.8 0.4.8 is vulnerable to Buffer Overflow. In getInt() in decompile.c unknown type may lead to denial of service. This is a diffeEPSS 0.7%CVE-2026-71941HIGHDrayTek VigorSwitch Multiple Models Buffer Overflow via diag_logmailEPSS 0.7%CVE-2025-12611HIGHTenda AC21 SetPptpServerCfg formSetPPTPServer buffer overflowEPSS 0.7%CVE-2026-71942HIGHDrayTek VigorSwitch Multiple Models Buffer Overflow via mail_mailalertEPSS 0.7%CVE-2026-71938HIGHDrayTek VigorSwitch Multiple Models Buffer Overflow via switch_lan_gvrpEPSS 0.7%CVE-2026-71935HIGHDrayTek VigorSwitch Multiple Models Buffer Overflow via webBackupActionEPSS 0.7%CVE-2026-71934HIGHDrayTek VigorSwitch Multiple Models Buffer Overflow via pingtraceEPSS 0.7%