Fallos del tipo CWE-787

5212 resultados

Escrita fora dos limites de memória

Ocorre quando um programa escreve dados em uma posição de memória fora do intervalo alocado para um buffer, array ou estrutura. O atacante aproveita para sobrescrever dados adjacentes (variáveis, ponteiros, pilha de retorno), alterando o comportamento da aplicação ou assumindo controle total do sistema.

Ejemplo

Um programa lê 256 bytes de entrada do usuário e copia para um buffer de 64 bytes sem validação. O atacante envia 300 bytes, que transbordam o buffer e sobrescrevem o endereço de retorno na pilha, permitindo execução de código arbitrário.

Cómo mitigar

Sempre validar tamanho de entrada contra o limite do buffer antes de copiar (usar strncpy, snprintf em vez de strcpy, sprintf). Em linguagens modernas, usar estruturas bounds-checked (Rust, C# arrays) ou linters que detectem padrões perigosos.

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%