Falhas do tipo CWE-787

5.212 resultados

Escrita fora dos limites de memória

Ocorre quando um programa escreve dados em um endereço de memória fora da área alocada para um buffer ou variável. O código não valida o tamanho ou índice antes de gravar, permitindo sobrescrita de dados adjacentes, corrupção de estruturas críticas ou execução de código arbitrário.

Exemplo

Um formulário web que copia dados do usuário para um buffer de 256 bytes sem validar o tamanho da entrada. Se o atacante envia 500 bytes, a escrita transborda e sobrescreve a pilha, podendo hijackear o endereço de retorno da função.

Como mitigar

Use funções seguras de cópia (strncpy, strlcpy ao invés de strcpy; memcpy com tamanho máximo explícito) e sempre valide comprimento e índices antes de escrever. Em linguagens modernas, prefira estruturas com bounds-checking automático (arrays em Java, Rust, etc).

CVE-2026-81893MEDIUMGdk-pixbuf: gdk-pixbuf: invalid write in jpeg icc profile parser on error recoveryEPSS 0.2%CVE-2026-25781HIGHkernel_liteos_a has an out-of-bounds write vulnerabilityEPSS 0.2%CVE-2026-59857MEDIUMVim: Out-of-bounds Write in SAL SoundfoldingEPSS 0.2%CVE-2018-9340HIGHIn ResStringPool::setTo of ResourceTypes.cpp, it's possible for an attacker to control the value of mStringPoolSize to be out of bounds, cauEPSS 0.2%CVE-2022-41592LOWThe phones have the heap overflow, out-of-bounds read, and null pointer vulnerabilities in the fingerprint trusted application (TA).SuccessfEPSS 0.2%CVE-2026-58304MEDIUMOut-of-bounds read, Out-of-bounds write vulnerability in Samsung Open Source Escargot allows Overflow Buffers. This issue affects Escargot:EPSS 0.2%CVE-2022-41598LOWThe phones have the heap overflow, out-of-bounds read, and null pointer vulnerabilities in the fingerprint trusted application (TA).SuccessfEPSS 0.2%CVE-2022-41595LOWThe phones have the heap overflow, out-of-bounds read, and null pointer vulnerabilities in the fingerprint trusted application (TA).SuccessfEPSS 0.2%CVE-2022-41593LOWThe phones have the heap overflow, out-of-bounds read, and null pointer vulnerabilities in the fingerprint trusted application (TA).SuccessfEPSS 0.2%CVE-2025-39917HIGHbpf: Fix out-of-bounds dynptr write in bpf_crypto_cryptEPSS 0.2%CVE-2019-25466HIGHEasy File Sharing Web Server 7.2 Local SEH OverflowEPSS 0.2%CVE-2022-41603LOWThe phones have the heap overflow, out-of-bounds read, and null pointer vulnerabilities in the fingerprint trusted application (TA).SuccessfEPSS 0.2%CVE-2023-53320HIGHscsi: mpi3mr: Fix issues in mpi3mr_get_all_tgt_info()EPSS 0.2%CVE-2019-25607HIGHAxessh 4.2 Local Stack-based Buffer Overflow via Log File NameEPSS 0.2%CVE-2016-20046HIGHzFTP Client 20061220+dfsg3-4.1 Local Buffer OverflowEPSS 0.1%CVE-2019-25611HIGHMiniFtp parseconf_load_setting Buffer Overflow via ConfigurationEPSS 0.1%CVE-2016-20047HIGHEKG Gadu 1.9 Local Buffer Overflow via Username ParameterEPSS 0.1%CVE-2025-22832MEDIUMBuffer Overflow in NTFS when parsing the ATTRIBUTE_LISTEPSS 0.1%CVE-2017-20226HIGHMapscrn 2.0.3 Stack-Based Buffer OverflowEPSS 0.1%CVE-2026-88050MEDIUMTesseract: Out-of-bounds write in UnicharCompress via unvalidated recoder code valuesEPSS 0.1%