Falhas do tipo CWE-125

6.001 resultados

Leitura fora dos limites de memória

Ocorre quando o código tenta ler dados de uma posição de memória fora do intervalo alocado para um buffer ou array. O programa não valida o índice ou tamanho antes de acessar, causando leitura de dados inválidos, corrupção de informações ou revelação de dados sensíveis da memória adjacente.

Exemplo

Um processador de imagem PNG lê 4 bytes de um buffer de 2 bytes para validar uma assinatura, ou uma função copia uma string sem verificar se o índice fornecido pelo usuário extrapola o tamanho real do array. Em ambos os casos, dados fora do escopo pretendido são lidos.

Como mitigar

Sempre validar índices e comprimentos contra os limites reais do buffer antes de qualquer leitura. Usar funções seguras (ex: `strncpy` em vez de `strcpy`, bounds-checking em loops) e implementar testes com entradas extremas (size zero, índices negativos, valores muito grandes).

CVE-2026-94506MEDIUMMicrosoft Office Access Information Disclosure VulnerabilityEPSS 0.9%CVE-2022-29488HIGHHorner Automation Cscape CsfontEPSS 0.9%CVE-2026-88192MEDIUMMicrosoft Office Excel Information Disclosure VulnerabilityEPSS 0.9%CVE-2026-88172MEDIUMMicrosoft Office Excel Information Disclosure VulnerabilityEPSS 0.9%CVE-2026-69922MEDIUMMicrosoft Office Excel Information Disclosure VulnerabilityEPSS 0.9%CVE-2026-88154MEDIUMMicrosoft Office Excel Information Disclosure VulnerabilityEPSS 0.9%CVE-2026-70219MEDIUMMicrosoft Office Excel Information Disclosure VulnerabilityEPSS 0.9%CVE-2024-47598MEDIUMGHSL-2024-246: GStreamer has an OOB-read in qtdemux_merge_sample_tableEPSS 0.9%CVE-2026-88190MEDIUMMicrosoft Office Excel Information Disclosure VulnerabilityEPSS 0.9%CVE-2023-22845HIGHAn out-of-bounds read vulnerability exists in the TGAInput::decode_pixel() functionality of OpenImageIO Project OpenImageIO v2.4.7.1. A specEPSS 0.9%CVE-2022-0534—A vulnerability was found in htmldoc version 1.9.15 where the stack out-of-bounds read takes place in gif_get_code() and occurs when openingEPSS 0.9%CVE-2021-33650—When performing the inference shape operation of the SparseToDense operator, if the number of inputs is less than three, it will access dataEPSS 0.9%CVE-2021-33648—When performing the inference shape operation of Affine, Concat, MatMul, ArgMinMax, EmbeddingLookup, and Gather operators, if the input shapEPSS 0.9%CVE-2021-33649—When performing the inference shape operation of the Transpose operator, if the value in the perm element is greater than or equal to the siEPSS 0.9%CVE-2022-34874LOWThis vulnerability allows remote attackers to disclose sensitive information on affected installations of Foxit PDF Reader 11.2.2.53575. UseEPSS 0.9%CVE-2022-34873LOWThis vulnerability allows remote attackers to disclose sensitive information on affected installations of Foxit PDF Reader 11.2.1.53537. UseEPSS 0.9%CVE-2022-28647HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley MicroStation CONNECT 10.16.2.034. EPSS 0.9%CVE-2022-43640LOWThis vulnerability allows remote attackers to disclose sensitive information on affected installations of Foxit PDF Reader 12.0.1.12430. UseEPSS 0.9%CVE-2024-32614HIGHHDF5 Library through 1.14.3 has a SEGV in H5VM_memcpyvv in H5VM.c.EPSS 0.9%CVE-2021-27381—A vulnerability has been identified in Solid Edge SE2020 (All Versions < SE2020MP13), Solid Edge SE2021 (All Versions < SE2021MP3). AffectedEPSS 0.9%