Weaknesses of type CWE-788

147 results

Acesso de memória além do limite do buffer

Ocorre quando o código tenta ler ou escrever em um endereço de memória que fica além do espaço alocado para uma estrutura de dados (array, string, struct). O programa não valida se o índice ou o ponteiro está dentro dos limites, causando leitura de dados arbitrários ou corrupção de memória adjacente.

Example

Um buffer de 100 bytes é alocado, mas o código acessa o índice 150 sem checar. Isso pode expor dados sensíveis da memória (variáveis de outras estruturas, credenciais) ou causar crash da aplicação. Comum em parsers de formatos e manipulação de strings em C/C++.

How to mitigate

Sempre validar índices e offsets antes de acessar: usar `if (index < buffer_size)` ou funções seguras (`strncpy`, `snprintf`). Em linguagens como Rust e Python, o bounds-checking é automático. Para C/C++, considerar instrumentação (AddressSanitizer) e revisão de código em operações com buffers.

CVE-2021-40757HIGHAdobe After Effects MXF File Parsing Memory Corruption Arbitrary Code ExecutionEPSS 2.1%CVE-2021-40710HIGHAdobe Premiere Pro 2021 SVG File Parsing Leads to Memory CorruptionEPSS 2.1%CVE-2021-40755HIGHAdobe After Effects SGI File Parsing Memory Corruption Arbitrary Code ExecutionEPSS 2.1%CVE-2021-40715HIGHAdobe Premiere Pro 2021 EXR File Parsing Leads to Memory CorruptionEPSS 2.1%CVE-2021-43012HIGHAdobe Prelude M4A file memory corruption vulnerability could lead to remote code executionEPSS 2.1%CVE-2021-43011HIGHAdobe Prelude M4A file memory corruption vulnerability could lead to remote code executionEPSS 2.1%CVE-2021-40758HIGHAdobe After Effects WAV File Parsing Memory Corruption Arbitrary Code ExecutionEPSS 2.0%CVE-2021-40760HIGHAdobe After Effects M4A File Parsing Memory Corruption Arbitrary Code ExecutionEPSS 2.0%CVE-2021-40759HIGHAdobe After Effects M4A File Parsing Memory Corruption Arbitrary Code ExecutionEPSS 2.0%CVE-2021-43013HIGHAdobe Media Encoder memory corruption vulnerability could lead to remote code executionEPSS 2.0%CVE-2021-42738HIGHAdobe Prelude MXF File Parsing Memory Corruption Arbitrary Code ExecutionEPSS 2.0%CVE-2021-40784HIGHAdobe Premiere Rush WAV File Memory Corruption Remote Code ExecutionEPSS 2.0%CVE-2021-40783HIGHAdobe Premiere Rush WAV File Memory Corruption Remote Code ExecutionEPSS 2.0%CVE-2021-40779HIGHAdobe Media Encoder WAV file memory corruption vulnerability could lead to arbitrary code executionEPSS 2.0%CVE-2021-40780HIGHAdobe Media Encoder MXF file memory corruption vulnerability could lead to arbitrary code executionEPSS 2.0%CVE-2021-42732HIGHAdobe InDesign crashes when parsing the GIF fileEPSS 2.0%CVE-2021-42725HIGHAdobe Bridge Memory Corruption could lead to Arbitrary code executionEPSS 2.0%CVE-2021-39832HIGHAdobe FrameMaker PDF File Parsing Memory Corruption Remote Code Execution VulnerabilityEPSS 2.0%CVE-2021-39830HIGHAdobe FrameMaker PDF File Parsing Memory Corruption Remote Code Execution VulnerabilityEPSS 2.0%CVE-2021-40735HIGHAdobe Audition Memory Corruption could lead to Arbitrary code executionEPSS 1.8%