Falhas do tipo CWE-125

6.000 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-2024-37371CRITICALIn MIT Kerberos 5 (aka krb5) before 1.21.3, an attacker can cause invalid memory reads during GSS message token handling by sending message EPSS 1.9%CVE-2021-34889LOWThis vulnerability allows remote attackers to disclose sensitive information on affected installations of Bentley View 10.15.0.75. User inteEPSS 1.9%CVE-2021-44698LOWAdobe Audition MP4 File Parsing Out-Of-Bounds Read Information Disclosure VulnerabilityEPSS 1.9%CVE-2021-44699LOWAdobe Audition MP4 File Parsing Out-Of-Bounds Read Information Disclosure VulnerabilityEPSS 1.9%CVE-2021-44697LOWAdobe Audition MOV File Parsing Out-Of-Bounds Read Information Disclosure VulnerabilityEPSS 1.9%CVE-2022-0128HIGHOut-of-bounds Read in vim/vimEPSS 1.9%CVE-2021-3504—A flaw was found in the hivex library in versions before 1.3.20. It is caused due to a lack of bounds check within the hivex_open function. EPSS 1.8%CVE-2023-21741HIGHMicrosoft Office Visio Information Disclosure VulnerabilityEPSS 1.8%CVE-2024-21343MEDIUMWindows Network Address Translation (NAT) Denial of Service VulnerabilityEPSS 1.8%CVE-2020-11018MEDIUMOut of bound read in cliprdr_server_receive_capabilities in FreeRDPEPSS 1.8%CVE-2021-46623LOWThis vulnerability allows remote attackers to disclose sensitive information on affected installations of Bentley View 10.15.0.75. User inteEPSS 1.8%CVE-2021-46628LOWThis vulnerability allows remote attackers to disclose sensitive information on affected installations of Bentley View 10.15.0.75. User inteEPSS 1.8%CVE-2021-31512HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of OpenText Brava! Desktop Build 16.6.4.55. UEPSS 1.8%CVE-2021-31510HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of OpenText Brava! Desktop Build 16.6.4.55. UEPSS 1.8%CVE-2023-39356MEDIUMMissing offset validation leading to Out-of-Bounds Read in FreeRDPEPSS 1.8%CVE-2020-4033LOWOOB Read in RLEDECOMPRESS in FreeRDPEPSS 1.8%CVE-2024-26226MEDIUMWindows Distributed File System (DFS) Information Disclosure VulnerabilityEPSS 1.8%CVE-2021-46602LOWThis vulnerability allows remote attackers to disclose sensitive information on affected installations of Bentley MicroStation CONNECT 10.16EPSS 1.8%CVE-2021-28557MEDIUMAdobe Acrobat Reader out-of-bounds read in PDFLibTool could lead to information exposureEPSS 1.8%CVE-2021-44182LOWAdobe Dimension SVG File Parsing Out-Of-Bounds Read Information Disclosure VulnerabilityEPSS 1.8%