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-2021-28196MEDIUMASUS BMC's firmware: buffer overflow - Generate SSL certificate functionEPSS 1.1%CVE-2021-28190MEDIUMASUS BMC's firmware: buffer overflow - Generate new certificate functionEPSS 1.1%CVE-2025-9006HIGHTenda CH22 delFileName formdelFileName buffer overflowEPSS 1.1%CVE-2023-26320HIGHXiaomi Router external request interface vulnerability leads to stack overflowEPSS 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-2025-3786HIGHTenda AC15 WifiExtraSet fromSetWirelessRepeat buffer overflowEPSS 1.1%CVE-2026-86165CRITICALTenda HG10 formURL buffer overflowEPSS 1.1%CVE-2021-45423CRITICALA Buffer Overflow vulnerabilityexists in Pev 0.81 via the pe_exports function from exports.c.. The array offsets_to_Names is dynamically allEPSS 1.1%CVE-2024-33454MEDIUMBuffer Overflow vulnerability in esp-idf v.5.1 allows a remote attacker to execute arbitrary code via a crafted script to the Bluetooth stacEPSS 1.1%CVE-2024-6143HIGHActiontec WCB6200Q uh_tcp_recv_header Buffer Overflow Remote Code Execution VulnerabilityEPSS 1.1%CVE-2024-6142HIGHActiontec WCB6200Q uh_tcp_recv_content Buffer Overflow Remote Code Execution VulnerabilityEPSS 1.1%CVE-2021-31845HIGHRemote Code Execution in McAfee DLP DiscoverEPSS 1.1%CVE-2020-5136—A buffer overflow vulnerability in SonicOS allows an authenticated attacker to cause Denial of Service (DoS) in the SSL-VPN and virtual assiEPSS 1.1%CVE-2025-4114HIGHNetgear JWNR2000v2 check_language_file buffer overflowEPSS 1.1%CVE-2023-36321HIGHConnected Vehicle Systems Alliance (COVESA) up to v2.18.8 was discovered to contain a buffer overflow via the component /shared/dlt_common.cEPSS 1.1%CVE-2023-37457HIGHAsterisk's PJSIP_HEADER dialplan function can overwrite memory/cause crash when using 'update'EPSS 1.1%CVE-2010-10016CRITICALBS.Player 2.57 Buffer Overflow via M3U Playlist ImportEPSS 1.1%