Weaknesses of type CWE-787

5,212 results

Escrita fora dos limites da memória

Ocorre quando o código escreve dados em um endereço de memória fora do intervalo alocado para uma estrutura (array, buffer, objeto). O programa não valida o tamanho ou índice antes de escrever, permitindo sobrescrever memória adjacente — causando corrupção de dados, queda da aplicação ou execução arbitrária de código.

Example

Um formulário web que copia o valor de um campo do usuário para um buffer de 64 bytes sem verificar o comprimento: se o atacante enviar 200 caracteres, a escrita invade a memória vizinha e pode sobrescrever um ponteiro de função ou variável crítica.

How to mitigate

Sempre validar tamanhos de entrada antes de copiar (usar `strncpy` em vez de `strcpy`, ou bibliotecas seguras como `bounds-checking`); usar linguagens com verificação automática de limites (Java, Rust); aplicar testes de fuzzing e análise estática de código para detectar escritas desprotegidas.

CVE-2026-54758HIGHNotepad++: Stack Buffer Overflow in expandNppEnvironmentStrsEPSS 0.2%CVE-2025-54187HIGHSubstance3D - Painter | Out-of-bounds Write (CWE-787)EPSS 0.2%CVE-2026-68513HIGHOpenEXR: Heap buffer overflow in PyOpenEXR from literal/prefixed RGB channel name collisionEPSS 0.2%CVE-2024-8894HIGHOut-of-bounds Write vulnerability in ODA SDK versions < 2025.10EPSS 0.2%CVE-2022-48188MEDIUMA buffer overflow vulnerability in the SecureBootDXE BIOS driver of some Lenovo Desktop and ThinkStation models could allow an attacker withEPSS 0.2%CVE-2025-49569HIGHSubstance3D - Viewer | Out-of-bounds Write (CWE-787)EPSS 0.2%CVE-2022-48181MEDIUMAn ErrorMessage driver stack-based buffer overflow vulnerability in BIOS of some ThinkPad models could allow an attacker with local access tEPSS 0.2%CVE-2018-25214MEDIUMMegaPing Local Buffer Overflow Denial of ServiceEPSS 0.2%CVE-2025-54273HIGHSubstance3D - Viewer | Out-of-bounds Write (CWE-787)EPSS 0.2%CVE-2025-54280HIGHSubstance3D - Viewer | Out-of-bounds Write (CWE-787)EPSS 0.2%CVE-2026-8454MEDIUMImager::File::GIF versions through 1.002 for Perl allow a heap out of bounds (OOB) write on crafted multi-frame GIF filesEPSS 0.2%CVE-2026-8325HIGHPDF File Parsing Out-of-Bounds Write Vulnerability in Certain Autodesk Desktop ProductsEPSS 0.2%CVE-2026-7451HIGHTIF File Parsing Out-of-Bounds Write in Autodesk 3ds MaxEPSS 0.2%CVE-2026-7455HIGHFLT File Parsing Out-of-Bounds Write Vulnerability in Autodesk 3ds MaxEPSS 0.2%CVE-2026-3094HIGHFile Parsing Out-Of-Bounds Write in CNCSoft-G2EPSS 0.2%CVE-2026-41989MEDIUMLibgcrypt before 1.12.2 sometimes allows a heap-based buffer overflow and denial of service via crafted ECDH ciphertext to gcry_pk_decrypt.EPSS 0.2%CVE-2023-5180HIGHOut-of-bounds Write vulnerability exists in ODA Drawings SDK before 2024.12EPSS 0.2%CVE-2026-47876CRITICALVMXNET3 out-of-bounds write vulnerabilityEPSS 0.2%CVE-2019-25554MEDIUMTomabo MP4 Converter 3.25.22 Denial of Service via Name FieldEPSS 0.2%CVE-2026-81627HIGHQemu-kvm: vapic writable rom alias can escape the option-rom window and expose locked smramEPSS 0.2%