Falhas do tipo CWE-125

5.119 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-2022-26380—A vulnerability has been identified in SCALANCE X302-7 EEC (230V), SCALANCE X302-7 EEC (230V, coated), SCALANCE X302-7 EEC (24V), SCALANCE XEPSS 0.9%CVE-2024-47598MEDIUMGHSL-2024-246: GStreamer has an OOB-read in qtdemux_merge_sample_tableEPSS 0.9%CVE-2023-45229MEDIUMOut-of-Bounds Read in EDK II Network PackageEPSS 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-3576MEDIUMA vulnerability regarding out-of-bounds read is found in the session processing functionality of Out-of-Band (OOB) Management. This allows rEPSS 0.9%CVE-2026-69562MEDIUMMicrosoft SQL Server Information Disclosure VulnerabilityEPSS 0.9%CVE-2022-23493CRITICALOut of Bound Read in xrdpEPSS 0.9%CVE-2025-24265CRITICALAn out-of-bounds read was addressed with improved bounds checking. This issue is fixed in macOS Sequoia 15.4, macOS Sonoma 14.7.5, macOS VenEPSS 0.9%CVE-2026-33857MEDIUMApache HTTP Server: Off-by-one OOB reads in AJP getter functionsEPSS 0.9%CVE-2026-34032MEDIUMApache HTTP Server: mod_proxy_ajp: Heap Buffer Over-Read Due to Missing Null-Termination Check (ajp_msg_get_string)EPSS 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-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-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-28647HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley MicroStation CONNECT 10.16.2.034. EPSS 0.9%CVE-2025-43383MEDIUMAn out-of-bounds access issue was addressed with improved bounds checking. This issue is fixed in iOS 18.7.2 and iPadOS 18.7.2, iOS 26.1 andEPSS 0.9%CVE-2024-32614HIGHHDF5 Library through 1.14.3 has a SEGV in H5VM_memcpyvv in H5VM.c.EPSS 0.9%CVE-2025-43385MEDIUMAn out-of-bounds access issue was addressed with improved bounds checking. This issue is fixed in iOS 18.7.2 and iPadOS 18.7.2, iOS 26.1 andEPSS 0.9%CVE-2025-43384MEDIUMAn out-of-bounds access issue was addressed with improved bounds checking. This issue is fixed in iOS 18.7.2 and iPadOS 18.7.2, iOS 26.1 andEPSS 0.9%CVE-2025-50163HIGHWindows Routing and Remote Access Service (RRAS) Remote Code Execution VulnerabilityEPSS 0.9%CVE-2026-50682HIGHActive Directory Denial of Service VulnerabilityEPSS 0.9%