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-4160MEDIUMPCMan FTP Server LS Command buffer overflowEPSS 0.7%CVE-2025-4792MEDIUMFreeFloat FTP Server MDELETE Command buffer overflowEPSS 0.7%CVE-2025-4161MEDIUMPCMan FTP Server VERBOSE Command buffer overflowEPSS 0.7%CVE-2025-5076MEDIUMFreeFloat FTP Server SEND Command buffer overflowEPSS 0.7%CVE-2025-5049MEDIUMFreeFloat FTP Server APPEND Command buffer overflowEPSS 0.7%CVE-2025-5112MEDIUMFreeFloat FTP Server MGET Command buffer overflowEPSS 0.7%CVE-2025-5050MEDIUMFreeFloat FTP Server BELL Command buffer overflowEPSS 0.7%CVE-2025-5111MEDIUMFreeFloat FTP Server TYPE Command buffer overflowEPSS 0.7%CVE-2025-4159MEDIUMPCMan FTP Server GLOB Command buffer overflowEPSS 0.7%CVE-2026-75124HIGHPLANET GS-4210-16P2S V3 Memory Corruption via dispatcher.cgi _readHttpParamEPSS 0.7%CVE-2024-48150CRITICALD-Link DIR-820L 1.05B03 has a stack overflow vulnerability in the sub_451208 function.EPSS 0.7%CVE-2025-24157MEDIUMA buffer overflow issue was addressed with improved memory handling. This issue is fixed in macOS Sequoia 15.4, macOS Sonoma 14.7.5, macOS VEPSS 0.7%CVE-2025-5220MEDIUMFreeFloat FTP Server GET Command buffer overflowEPSS 0.7%CVE-2024-38952HIGHPX4-Autopilot v1.14.3 was discovered to contain a buffer overflow via the topic_name parameter at /logger/logged_topics.cpp.EPSS 0.7%CVE-2026-24660HIGHA heap-based buffer overflow vulnerability exists in the x3f_load_huffman functionality of LibRaw Commit d20315b. A specially crafted maliciEPSS 0.7%CVE-2023-36358HIGHTP-Link TL-WR940N V2/V3/V4, TL-WR941ND V5/V6, TL-WR743ND V1 and TL-WR841N V8 were discovered to contain a buffer overflow in the component /EPSS 0.7%CVE-2025-5075MEDIUMFreeFloat FTP Server DEBUG Command buffer overflowEPSS 0.7%CVE-2025-13553HIGHD-Link DWR-M920 formPinManageSetup sub_41C7FC buffer overflowEPSS 0.7%CVE-2025-15215HIGHTenda AC10U HTTP POST Request setPptpUserList formSetPPTPUserList buffer overflowEPSS 0.7%CVE-2026-51380CRITICALBuffer Overflow vulnerability in Tenda AC10 v3 (firmware V03.03.16.09) allows attackers to cause a permanent Denial of Service (DoS) or poteEPSS 0.7%