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-84515HIGHAn out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in macOS Golden Gate 27, macOS Sequoia 15.8, mEPSS 0.2%CVE-2025-12050HIGHIn H2OFFT32.sys is potentially vulnerable to a buffer overflow.EPSS 0.2%CVE-2025-59731MEDIUMHeap-buffer-overflow write in FFmpeg EXR dwa_uncompressEPSS 0.2%CVE-2024-32056HIGHA vulnerability has been identified in Simcenter Femap (All versions < V2406). The affected application contains an out of bounds write pastEPSS 0.2%CVE-2026-88390HIGHAn out-of-bounds write vulnerability in jslGetTokenValueAsString() in Espruino 2v29 (commit bffc6d0) allows crafted JavaScript input containEPSS 0.2%CVE-2026-81334MEDIUMdarknet through 6.0 Out-of-Bounds Read and Write via Unchecked Layer Index in .cfg ParserEPSS 0.2%CVE-2025-20748MEDIUMIn wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local escalation of privilegEPSS 0.2%CVE-2023-53214HIGHf2fs: fix to avoid potential memory corruption in __update_iostat_latency()EPSS 0.2%CVE-2026-23715HIGHA vulnerability has been identified in Simcenter Femap (All versions < V2512), Simcenter Nastran (All versions < V2512). The affected applicEPSS 0.2%CVE-2026-64752HIGHA memory corruption issue was addressed by removing the vulnerable code. This issue is fixed in iOS 27 and iPadOS 27, macOS Golden Gate 27, EPSS 0.2%CVE-2026-71221HIGHGfs2-utils: gfs2-utils: stack out-of-bounds write via unchecked height in savemetaEPSS 0.2%CVE-2025-41432MEDIUMarkcompiler_ets_runtime has an out-of-bounds write vulnerabilityEPSS 0.2%CVE-2022-42518MEDIUMIn BroadcastSmsConfigsRequestData::encode of smsdata.cpp, there is a possible out of bounds write due to a missing bounds check. This could EPSS 0.2%CVE-2026-71220HIGHGfs2-utils: gfs2-utils: stack out-of-bounds write via unchecked di_height in gfs2_editEPSS 0.2%CVE-2026-59984MEDIUMOpenEXR: Scratch buffer overflow decoding B44-compressed InputFile on ILP32EPSS 0.2%CVE-2024-40810MEDIUMAn out-of-bounds write issue was addressed with improved input validation. This issue is fixed in macOS Sonoma 14.6. An app may be able to cEPSS 0.2%CVE-2026-77118HIGHOut-of-bounds write in GraphicsMagick PCD decoderEPSS 0.2%CVE-2021-25407—A possible out of bounds write vulnerability in NPU driver prior to SMR JUN-2021 Release 1 allows arbitrary memory write.EPSS 0.2%CVE-2026-84575HIGHAn out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in iOS 27 and iPadOS 27, macOS Golden Gate 27,EPSS 0.2%CVE-2022-42511MEDIUMIn EmbmsSessionData::encode of embmsdata.cpp, there is a possible out of bounds write due to a missing bounds check. This could lead to locaEPSS 0.2%