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-59948HIGHComposer: Arbitrary file write outside vendor via malicious transitive package nameEPSS 0.2%CVE-2024-27377MEDIUMAn issue was discovered in Samsung Mobile Processor Exynos 980, Exynos 850, Exynos 1280, Exynos 1380, and Exynos 1330. In the function slsi_EPSS 0.2%CVE-2023-44177MEDIUMJunos OS and Junos OS Evolved: Stack overflow vulnerability in CLI command processingEPSS 0.2%CVE-2022-23815HIGHImproper bounds checking in APCB firmware may allow an attacker to perform an out of bounds write, corrupting the APCB entry, potentially leEPSS 0.2%CVE-2025-39810HIGHbnxt_en: Fix memory corruption when FW resources change during ifdownEPSS 0.2%CVE-2025-12051HIGHH2OFFT64.sys is potentially vulnerable to a buffer overflow.EPSS 0.2%CVE-2023-44178MEDIUMJunos OS : Stack overflow vulnerability in CLI command processingEPSS 0.2%CVE-2024-36355HIGHImproper input validation in the SMM handler could allow an attacker with Ring0 access to write to SMRAM and modify execution flow for S3 (sEPSS 0.2%CVE-2026-4756HIGHOut-of-bounds Write in MolotovCherry Android-ImageMagick7EPSS 0.2%CVE-2025-12053HIGHegwindrvx64.sys is potentially vulnerable to a buffer overflowEPSS 0.2%CVE-2026-80113MEDIUMPassMark PerformanceTest, BurnInTest, and OSForensics Arbitrary Bit Clear via DirectIo64.sys IOCTLEPSS 0.2%CVE-2023-44176MEDIUMJunos OS : Stack overflow vulnerability in CLI command processingEPSS 0.2%CVE-2025-12052HIGHegwindrv.sys is potentially vulnerable to a buffer overflow.EPSS 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-7497HIGHPRT File Parsing Out-of-Bounds Write VulnerabilityEPSS 0.2%CVE-2024-38490MEDIUMDell iDRAC Service Module version 5.3.0.0 and prior, contain a Out of bound Write Vulnerability. A privileged local attacker could execute aEPSS 0.2%CVE-2022-50406HIGHiomap: iomap: fix memory corruption when recording errors during writebackEPSS 0.2%CVE-2025-22833MEDIUMFixupArray Pointer Validation in NTFSEPSS 0.2%CVE-2026-22716MEDIUMVMware Workstation out-of-bounds write vulnerabilityEPSS 0.2%CVE-2026-77236HIGHMissing size validation in SecureContext_AllocateContext in FreeRTOS-KernelEPSS 0.2%