Falhas do tipo CWE-787

5.133 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-2022-31003CRITICALHeap-based Buffer Overflow and Out-of-bounds Write in Sofia-SIPEPSS 3.8%CVE-2020-9676HIGHAdobe Bridge versions 10.0.3 and earlier have an out-of-bounds write vulnerability. Successful exploitation could lead to arbitrary code exeEPSS 3.8%CVE-2021-21052HIGHAdobe Animate Out-of-Bounds Write Vulnerability Could Lead To Arbitrary Code ExecutionEPSS 3.8%CVE-2024-0519HIGHOut of bounds memory access in V8 in Google Chrome prior to 120.0.6099.224 allowed a remote attacker to potentially exploit heap corruption EPSS 3.8%KEVCVE-2020-27857HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Studio Photo 3.6.6.922. User interacEPSS 3.8%CVE-2025-24201CRITICALAn out-of-bounds write issue was addressed with improved checks to prevent unauthorized actions. This issue is fixed in Safari 18.3.1, iOS 1EPSS 3.8%KEVCVE-2021-35990HIGHAdobe Bridge JPEG2000 Parsing Out-Of-Bounds Write Remote Code Execution VulnerabilityEPSS 3.7%CVE-2025-24118CRITICALThe issue was addressed with improved memory handling. This issue is fixed in iPadOS 17.7.4, macOS Sequoia 15.3, macOS Sonoma 14.7.3. An appEPSS 3.7%CVE-2021-35989HIGHAdobe Bridge PDF File Parsing Out-Of-Bounds Write Remote Code Execution VulnerabilityEPSS 3.7%CVE-2021-21066HIGHAdobe Bridge Font Parsing Out-Of-Bounds Write Arbitrary Code Execution VulnerabilityEPSS 3.7%CVE-2021-21065HIGHAdobe Bridge Font Parsing Out-Of-Bounds Write Arbitrary Code Execution VulnerabilityEPSS 3.7%CVE-2020-17419HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Studio Photo 3.6.6.922. User interacEPSS 3.7%CVE-2020-17424HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Studio Photo 3.6.6.922. User interacEPSS 3.7%CVE-2020-17431HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Studio Photo 3.6.6.922. User interacEPSS 3.7%CVE-2020-17421HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Studio Photo 3.6.6.922. User interacEPSS 3.7%CVE-2020-17430HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Studio Photo 3.6.6.922. User interacEPSS 3.7%CVE-2021-28642HIGHAdobe Acrobat Pro DC Out-of-Bounds Write Arbitrary Code Execution VulnerabilityEPSS 3.7%CVE-2019-5132CRITICALAn exploitable out-of-bounds write vulnerability exists in the igcore19d.dll GEM Raster parser of the Accusoft ImageGear 19.3.0 library. A sEPSS 3.7%CVE-2019-5187CRITICALAn exploitable out-of-bounds write vulnerability exists in the TIFreadstripdata function of the igcore19d.dll library of Accusoft ImageGear EPSS 3.7%CVE-2019-5076CRITICALAn exploitable out-of-bounds write vulnerability exists in the igcore19d.dll PNG header-parser of the Accusoft ImageGear 19.3.0 library. A sEPSS 3.7%