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-2024-27373MEDIUMAn 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-2026-10643HIGHOut-of-bounds heap write in Zephyr `recvmsg()` ancillary-data path (`insert_pktinfo` undersizes the control-buffer capacity check)EPSS 0.2%CVE-2023-44176MEDIUMJunos OS : 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-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-2025-39810HIGHbnxt_en: Fix memory corruption when FW resources change during ifdownEPSS 0.2%CVE-2025-12052HIGHegwindrv.sys is potentially vulnerable to a buffer overflow.EPSS 0.2%CVE-2023-44177MEDIUMJunos OS and Junos OS Evolved: Stack overflow vulnerability in CLI command processingEPSS 0.2%CVE-2026-4756HIGHOut-of-bounds Write in MolotovCherry Android-ImageMagick7EPSS 0.2%CVE-2023-44178MEDIUMJunos OS : Stack overflow vulnerability in CLI command processingEPSS 0.2%CVE-2025-12051HIGHH2OFFT64.sys is potentially vulnerable to a buffer overflow.EPSS 0.2%CVE-2026-80113MEDIUMPassMark PerformanceTest, BurnInTest, and OSForensics Arbitrary Bit Clear via DirectIo64.sys IOCTLEPSS 0.2%CVE-2025-12053HIGHegwindrvx64.sys is potentially vulnerable to a buffer overflowEPSS 0.2%CVE-2022-50406HIGHiomap: iomap: fix memory corruption when recording errors during writebackEPSS 0.2%CVE-2025-6631HIGHPRT File Parsing Out-of-Bounds Write VulnerabilityEPSS 0.2%CVE-2026-91789HIGHFoxit PDF Editor/Reader U3D File Parsing Integer Overflow Remote Code Execution VulnerabilityEPSS 0.2%CVE-2025-22833MEDIUMFixupArray Pointer Validation in NTFSEPSS 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-2025-7675HIGH3DM File Parsing Out-of-Bounds Write VulnerabilityEPSS 0.2%CVE-2026-91794HIGHFoxit PDF Editor/Reader DeviceN Colorspace Out-Of-Bounds Write Remote Code Execution VulnerabilityEPSS 0.2%