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-3094HIGHFile Parsing Out-Of-Bounds Write in CNCSoft-G2EPSS 0.2%CVE-2026-81627HIGHQemu-kvm: vapic writable rom alias can escape the option-rom window and expose locked smramEPSS 0.2%CVE-2026-32860HIGHOut-of-Bounds Write Vulnerability in NI LabVIEW when loading lvlib fileEPSS 0.2%CVE-2026-68515HIGHOpenEXR: Heap out-of-bounds write in exrmultiview with subsampled channel unionEPSS 0.2%CVE-2019-25667MEDIUMTaskInfo 8.2.0.280 Denial of Service Buffer OverflowEPSS 0.2%CVE-2025-1292MEDIUMTPM2 Out-Of-Bounds Write Leading to Potential Operating System Verification Bypass in ChromeOSEPSS 0.2%CVE-2023-2569HIGH A CWE-787: Out-of-Bounds Write vulnerability exists that could cause local denial-of-service, elevation of privilege, and potentially kerneEPSS 0.2%CVE-2019-25546MEDIUMNetAware 1.20 Share Name Denial of ServiceEPSS 0.2%CVE-2019-25545MEDIUMTerminal Services Manager 3.2.1 Local Buffer Overflow Denial of ServiceEPSS 0.2%CVE-2019-25665MEDIUMRiver Past Ringtone Converter 2.7.6.1601 Buffer Overflow DoSEPSS 0.2%CVE-2019-25695HIGHR 3.4.4 Local Buffer Overflow Windows XP SP3EPSS 0.2%CVE-2026-20446MEDIUMIn sec boot, there is a possible out of bounds write due to an integer overflow. This could lead to local denial of service, if an attacker EPSS 0.2%CVE-2025-24185MEDIUMAn out-of-bounds write issue was addressed with improved input validation. This issue is fixed in macOS Sequoia 15.3, macOS Sonoma 14.7.3, mEPSS 0.2%CVE-2026-27692HIGHiccDEV has HBO in CIccTagTextDescription::Release()EPSS 0.2%CVE-2022-21804HIGHOut-of-bounds write in software for the Intel QAT Driver for Windows before version 1.9.0-0008 may allow an authenticated user to potentiallEPSS 0.2%CVE-2026-20416HIGHIn pcie, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege if a maliciEPSS 0.2%CVE-2023-21509MEDIUMOut-of-bounds Write vulnerability while processing BC_TUI_CMD_UPDATE_SCREEN in bc_tui trustlet from Samsung Blockchain Keystore prior to verEPSS 0.2%CVE-2019-25547MEDIUMNetAware 1.20 Denial of Service via Add Block Buffer OverflowEPSS 0.2%CVE-2025-59732HIGHHeap-buffer-overflow write in FFmpeg EXR dwa_uncompressEPSS 0.2%CVE-2026-40169MEDIUMImageMagick: Heap buffer overflow (WRITE) in the YAML and JSON encodersEPSS 0.2%