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-22716MEDIUMVMware Workstation out-of-bounds write vulnerabilityEPSS 0.2%CVE-2026-64736HIGHAn out-of-bounds access issue was addressed with improved bounds checking. This issue is fixed in iOS 26.6.1 and iPadOS 26.6.1, macOS SequoiEPSS 0.2%CVE-2025-6631HIGHPRT File Parsing Out-of-Bounds Write VulnerabilityEPSS 0.2%CVE-2025-7675HIGH3DM File Parsing Out-of-Bounds Write VulnerabilityEPSS 0.2%CVE-2025-6637HIGHPRT File Parsing Out-of-Bounds Write VulnerabilityEPSS 0.2%CVE-2022-50406HIGHiomap: iomap: fix memory corruption when recording errors during writebackEPSS 0.2%CVE-2025-59299MEDIUMFile Parsing Out-Of-Bounds Write Vulnerability in DIAScreenEPSS 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-3154LOWOut-of-bounds array write due to invalid VerticesPerRow in Xpdf 4.05EPSS 0.2%CVE-2025-59298MEDIUMFile 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-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-64461HIGHOut of Bounds Write in mgocre_SH_25_3!RevBL() in NI LabVIEWEPSS 0.2%CVE-2023-21476HIGHOut-of-bounds Write vulnerability in libaudiosaplus_sec.so library prior to SMR Apr-2023 Release 1 allows local attacker to execute arbitrarEPSS 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-59730MEDIUMHeap-buffer-overflow write in FFmpeg SANM decoding due to lack of bounds-checking in old_codec48EPSS 0.2%CVE-2025-12875MEDIUMmruby array.c ary_fill_exec out-of-bounds writeEPSS 0.2%CVE-2026-43744MEDIUMAn out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in iOS 18.7.10 and iPadOS 18.7.10, iOS 26.6 anEPSS 0.2%CVE-2026-43816MEDIUMAn 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%