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-2025-7497HIGHPRT File Parsing Out-of-Bounds Write VulnerabilityEPSS 0.2%CVE-2022-50406HIGHiomap: iomap: fix memory corruption when recording errors during writebackEPSS 0.2%CVE-2026-91789HIGHFoxit PDF Editor/Reader U3D File Parsing Integer Overflow Remote Code Execution VulnerabilityEPSS 0.2%CVE-2026-91794HIGHFoxit PDF Editor/Reader DeviceN Colorspace Out-Of-Bounds Write Remote Code Execution VulnerabilityEPSS 0.2%CVE-2025-6637HIGHPRT File Parsing Out-of-Bounds Write VulnerabilityEPSS 0.2%CVE-2026-77236HIGHMissing size validation in SecureContext_AllocateContext in FreeRTOS-KernelEPSS 0.2%CVE-2025-3154LOWOut-of-bounds array write due to invalid VerticesPerRow in Xpdf 4.05EPSS 0.2%CVE-2021-26344HIGHAn out of bounds memory write when processing the AMD PSP1 Configuration Block (APCB) could allow an attacker with access the ability to modEPSS 0.2%CVE-2025-59299MEDIUMFile Parsing Out-Of-Bounds Write Vulnerability in DIAScreenEPSS 0.2%CVE-2024-47398HIGHLiteos_a has an out-of-bounds write vulnerabilityEPSS 0.2%CVE-2025-64461HIGHOut of Bounds Write in mgocre_SH_25_3!RevBL() in NI LabVIEWEPSS 0.2%CVE-2025-59297MEDIUMFile Parsing Out-Of-Bounds Write Vulnerability in DIAScreenEPSS 0.2%CVE-2026-10589MEDIUMA potential out of bounds write vulnerability could allow a local privileged attacker to execute code in System Management Mode.EPSS 0.2%CVE-2025-59298MEDIUMFile Parsing Out-Of-Bounds Write Vulnerability in DIAScreenEPSS 0.2%CVE-2025-12875MEDIUMmruby array.c ary_fill_exec out-of-bounds writeEPSS 0.2%CVE-2026-43739MEDIUMAn out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in iOS 26.6 and iPadOS 26.6, macOS Tahoe 26.6,EPSS 0.2%CVE-2025-59729MEDIUMHeap-buffer-overflow read in FFmpeg DHAV get_durationEPSS 0.2%CVE-2025-52458MEDIUMarkcompiler_ets_runtime has an out-of-bounds write vulnerabilityEPSS 0.2%CVE-2025-59730MEDIUMHeap-buffer-overflow write in FFmpeg SANM decoding due to lack of bounds-checking in old_codec48EPSS 0.2%CVE-2026-64754MEDIUMAn out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in iOS 26.6 and iPadOS 26.6, macOS Sequoia 15.EPSS 0.2%