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-2019-6759HIGHThis vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit Reader 9.3.10826. User interactionEPSS 3.5%CVE-2021-21101HIGHAdobe Illustrator TTF font parsing out-of-bounds write vulnerability could lead to remote code executionEPSS 3.5%CVE-2019-6755HIGHThis vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit Reader 9.3.10826. User interactionEPSS 3.5%CVE-2021-39820HIGHAdobe InDesign Memory Corruption Vulnerability Could Lead to Arbitrary Code ExecutionEPSS 3.5%CVE-2019-6751HIGHThis vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit Studio Photo 3.6.6.779. User interEPSS 3.5%CVE-2019-6749HIGHThis vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit Studio Photo 3.6.6. User interactiEPSS 3.5%CVE-2019-6750HIGHThis vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit Studio Photo 3.6.6. User interactiEPSS 3.5%CVE-2021-28607HIGHAdobe After Effects heap corruption vulnerability could lead to arbitrary code executionEPSS 3.4%CVE-2020-28383A vulnerability has been identified in JT2Go (All versions < V13.1.0.1), Solid Edge SE2020 (All Versions < SE2020MP12), Solid Edge SE2021 (AEPSS 3.4%CVE-2019-3863HIGHA flaw was found in libssh2 before 1.8.1 creating a vulnerability on the SSH client side. A server could send a multiple keyboard interactivEPSS 3.4%CVE-2019-6748HIGHThis vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit Studio Photo 3.6.6. User interactiEPSS 3.4%CVE-2019-6747HIGHThis vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit Studio Photo 3.6.6. User interactiEPSS 3.4%CVE-2024-53104HIGHmedia: uvcvideo: Skip parsing frames of type UVC_VS_UNDEFINED in uvc_parse_formatEPSS 3.4%KEVCVE-2023-42789CRITICALA out-of-bounds write vulnerability in Fortinet FortiOS 7.4.0 through 7.4.1, FortiOS 7.2.0 through 7.2.5, FortiOS 7.0.0 through 7.0.12, FortEPSS 3.3%CVE-2022-32894HIGHAn out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in iOS 15.6.1 and iPadOS 15.6.1, macOS MontereEPSS 3.3%KEVCVE-2021-20294A flaw was found in binutils readelf 2.35 program. An attacker who is able to convince a victim using readelf to read a crafted file could tEPSS 3.3%CVE-2021-21038HIGHAcrobat Reader DC Out-Of-Bounds Write Vulnerability Could Lead To Arbitrary Code ExecutionEPSS 3.3%CVE-2021-28561HIGHAdobe Acrobat Reader memory corruption vulnerability could lead to remote code executionEPSS 3.3%CVE-2021-28602HIGHAdobe After Effects Memory corruption could lead to code execution vulnerabilityEPSS 3.3%CVE-2022-39260HIGHGit vulnerable to Remote Code Execution via Heap overflow in `git shell`EPSS 3.3%