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-42266HIGHAdobe Animate FLA File Parsing Memory Corruption Arbitrary Code ExecutionEPSS 2.5%CVE-2021-35999HIGHAdobe Prelude Memory Corruption Remote Code Execution VulnerabilityEPSS 2.4%CVE-2021-35996HIGHAdobe After Effects Memory Corruption Could Lead To Arbitrary Code ExecutionEPSS 2.4%CVE-2021-42726HIGHAdobe Bridge Memory Corruption could lead to Arbitrary code executionEPSS 2.3%CVE-2021-43023HIGHAdobe Premiere Rush EPS/TIFF File Memory Corruption Remote Code ExecutionEPSS 2.3%CVE-2021-43025HIGHAdobe Premiere Rush SVG File Memory Corruption Remote Code ExecutionEPSS 2.3%CVE-2021-43028HIGHAdobe Premiere Rush M4A File Memory Corruption Remote Code ExecutionEPSS 2.3%CVE-2021-43747HIGHAdobe Premiere Rush WAV File Memory Corruption Remote Code ExecutionEPSS 2.3%CVE-2021-43022HIGHAdobe Premiere Rush PNG File Memory Corruption Remote Code ExecutionEPSS 2.3%CVE-2021-43021HIGHAdobe Premiere Rush EXR File Memory Corruption Remote Code ExecutionEPSS 2.3%CVE-2021-43026HIGHAdobe Premiere Rush MXF File Memory Corruption Remote Code ExecutionEPSS 2.3%CVE-2021-43029HIGHAdobe Premiere Rush M4A File Memory Corruption Remote Code ExecutionEPSS 2.3%CVE-2021-36000HIGHAdobe Character Animator Memory Corruption Arbitrary Code Execution VulnerabilityEPSS 2.3%CVE-2021-36017HIGHAdobe After Effects PDF File Parsing Memory Corruption Remote Code Execution VulnerabilityEPSS 2.2%CVE-2021-40754HIGHAdobe After Effects WAV File Parsing Memory Corruption Arbitrary Code ExecutionEPSS 2.2%CVE-2021-40751HIGHAdobe After Effects M4A File Parsing Memory Corruption Arbitrary Code ExecutionEPSS 2.2%CVE-2021-40752HIGHAdobe After Effects M4A File Parsing Memory Corruption Arbitrary Code ExecutionEPSS 2.2%CVE-2021-40753HIGHAdobe After Effects SVG File Parsing Memory Corruption Arbitrary Code ExecutionEPSS 2.2%CVE-2021-44712MEDIUMAdobe Acrobat Reader Memory Corruption could lead to Application denial-of-serviceEPSS 2.2%CVE-2021-42735HIGHAdobe Photoshop Memory Corruption could lead to Arbitrary code executionEPSS 2.1%