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-2026-84515HIGHAn out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in macOS Golden Gate 27, macOS Sequoia 15.8, mEPSS 0.2%CVE-2025-8893HIGHPDF File Parsing Out-of-Bounds Write VulnerabilityEPSS 0.2%CVE-2025-12050HIGHIn H2OFFT32.sys is potentially vulnerable to a buffer overflow.EPSS 0.2%CVE-2026-84505HIGHAn out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in macOS Golden Gate 27, macOS Sequoia 15.8, mEPSS 0.2%CVE-2024-20079CRITICALIn gnss service, there is a possible out of bounds write due to improper input validation. This could lead to local escalation of privilege EPSS 0.2%CVE-2023-53214HIGHf2fs: fix to avoid potential memory corruption in __update_iostat_latency()EPSS 0.2%CVE-2026-64752HIGHA memory corruption issue was addressed by removing the vulnerable code. This issue is fixed in iOS 27 and iPadOS 27, macOS Golden Gate 27, EPSS 0.2%CVE-2026-71221HIGHGfs2-utils: gfs2-utils: stack out-of-bounds write via unchecked height in savemetaEPSS 0.2%CVE-2025-41432MEDIUMarkcompiler_ets_runtime has an out-of-bounds write vulnerabilityEPSS 0.2%CVE-2026-23715HIGHA vulnerability has been identified in Simcenter Femap (All versions < V2512), Simcenter Nastran (All versions < V2512). The affected applicEPSS 0.2%CVE-2026-81334MEDIUMdarknet through 6.0 Out-of-Bounds Read and Write via Unchecked Layer Index in .cfg ParserEPSS 0.2%CVE-2026-59984MEDIUMOpenEXR: Scratch buffer overflow decoding B44-compressed InputFile on ILP32EPSS 0.2%CVE-2025-20748MEDIUMIn wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local escalation of privilegEPSS 0.2%CVE-2022-42518MEDIUMIn BroadcastSmsConfigsRequestData::encode of smsdata.cpp, there is a possible out of bounds write due to a missing bounds check. This could EPSS 0.2%CVE-2026-71220HIGHGfs2-utils: gfs2-utils: stack out-of-bounds write via unchecked di_height in gfs2_editEPSS 0.2%CVE-2024-40810MEDIUMAn out-of-bounds write issue was addressed with improved input validation. This issue is fixed in macOS Sonoma 14.6. An app may be able to cEPSS 0.2%CVE-2021-25407—A possible out of bounds write vulnerability in NPU driver prior to SMR JUN-2021 Release 1 allows arbitrary memory write.EPSS 0.2%CVE-2022-42509MEDIUMIn CallDialReqData::encode of callreqdata.cpp, there is a possible out of bounds write due to a missing bounds check. This could lead to locEPSS 0.2%CVE-2026-77396MEDIUMPJSIP: Heap buffer overflow in the AVI parserEPSS 0.2%CVE-2026-84575HIGHAn out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in iOS 27 and iPadOS 27, macOS Golden Gate 27,EPSS 0.2%