Weaknesses of type CWE-787

5,137 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-2020-27275—Delta Electronics DOPSoft Version 4.0.8.21 and prior is vulnerable to an out-of-bounds write while processing project files, which may allowEPSS 3.3%CVE-2025-14766HIGHOut of bounds read and write in V8 in Google Chrome prior to 143.0.7499.147 allowed a remote attacker to potentially exploit heap corruptionEPSS 3.2%CVE-2019-5133CRITICALAn exploitable out-of-bounds write vulnerability exists in the igcore19d.dll BMP parser of the ImageGear 19.3.0 library. A specially craftedEPSS 3.2%CVE-2020-17528—Apache NuttX (incubating) Out of Bound Write from invalid TCP Urgent lengthEPSS 3.2%CVE-2021-44180HIGHAdobe Dimension PCX File Parsing Out-Of-Bounds Write Remote Code Execution VulnerabilityEPSS 3.1%CVE-2021-44181HIGHAdobe Dimension GIF File Parsing Out-Of-Bounds Write Remote Code Execution VulnerabilityEPSS 3.1%CVE-2023-48692CRITICALAzure RTOS NetX Duo Remote Code Execution VulnerabilityEPSS 3.1%CVE-2023-48691HIGHAzure RTOS NetX Duo Remote Code Execution VulnerabilityEPSS 3.1%CVE-2021-27562MEDIUMIn Arm Trusted Firmware M through 1.2, the NS world may trigger a system halt, an overwrite of secure data, or the printing out of secure daEPSS 3.1%KEVCVE-2020-26984—A vulnerability has been identified in JT2Go (All versions < V13.1.0), Teamcenter Visualization (All versions < V13.1.0). Affected applicatiEPSS 3.1%CVE-2020-26988—A vulnerability has been identified in JT2Go (All versions < V13.1.0), Teamcenter Visualization (All versions < V13.1.0). Affected applicatiEPSS 3.1%CVE-2021-28586HIGHAdobe After Effects PDF file parsing out-of-bounds write could lead to remote code execution vulnerabilityEPSS 3.1%CVE-2019-1193MEDIUMMicrosoft Browser Memory Corruption VulnerabilityEPSS 3.1%CVE-2022-34217HIGHAdobe Acrobat Reader DC Font Parsing Out-Of-Bounds Write Remote Code Execution VulnerabilityEPSS 3.0%CVE-2022-41125HIGHWindows CNG Key Isolation Service Elevation of Privilege VulnerabilityEPSS 3.0%KEVCVE-2021-21047HIGHAdobe Photoshop Out-Of-Bounds Write Vulnerability Could Lead To Remote Code ExecutionEPSS 3.0%CVE-2020-26982—A vulnerability has been identified in JT2Go (All versions < V13.1.0), Teamcenter Visualization (All versions < V13.1.0). Affected applicatiEPSS 3.0%CVE-2020-26983—A vulnerability has been identified in JT2Go (All versions < V13.1.0), Teamcenter Visualization (All versions < V13.1.0). Affected applicatiEPSS 3.0%CVE-2025-9132HIGHOut of bounds write in V8 in Google Chrome prior to 139.0.7258.138 allowed a remote attacker to potentially exploit heap corruption via a crEPSS 3.0%CVE-2022-42920—Apache Commons BCEL prior to 6.6.0 allows producing arbitrary bytecode via out-of-bounds writingEPSS 3.0%