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-2018-14645HIGHA flaw was discovered in the HPACK decoder of HAProxy, before 1.8.14, that is used for HTTP/2. An out-of-bounds read access in hpack_valid_iEPSS 3.1%CVE-2020-24426LOWAcrobat Reader DC Out-Of-Bounds Read Information Disclosure VulnerabilityEPSS 3.1%CVE-2020-24434LOWAcrobat Pro DC Out-Of-Bounds Read Vulnerability Could Lead to Information DisclosureEPSS 3.1%CVE-2022-34239MEDIUMAdobe Acrobat Reader DC Font Parsing Out-Of-Bounds Read Information Disclosure VulnerabilityEPSS 3.1%CVE-2023-31122—Apache HTTP Server: mod_macro buffer over-readEPSS 3.0%CVE-2018-17622—This vulnerability allows remote attackers to disclose sensitive information on vulnerable installations of Foxit Reader 9.1.0.5096. User inEPSS 3.0%CVE-2020-17435LOWThis vulnerability allows remote attackers to disclose sensitive information on affected installations of Foxit Studio Photo 3.6.6.922. UserEPSS 3.0%CVE-2020-17436LOWThis vulnerability allows remote attackers to disclose sensitive information on affected installations of Foxit Studio Photo 3.6.6.922. UserEPSS 3.0%CVE-2020-27856LOWThis vulnerability allows remote attackers to disclose sensitive information on affected installations of Foxit Studio Photo 3.6.6.922. UserEPSS 3.0%CVE-2020-17432LOWThis vulnerability allows remote attackers to disclose sensitive information on affected installations of Foxit Studio Photo 3.6.6.922. UserEPSS 3.0%CVE-2020-27855LOWThis vulnerability allows remote attackers to disclose sensitive information on affected installations of Foxit Studio Photo 3.6.6.922. UserEPSS 3.0%CVE-2020-17433LOWThis vulnerability allows remote attackers to disclose sensitive information on affected installations of Foxit Studio Photo 3.6.6.922. UserEPSS 3.0%CVE-2020-17434LOWThis vulnerability allows remote attackers to disclose sensitive information on affected installations of Foxit Studio Photo 3.6.6.922. UserEPSS 3.0%CVE-2020-17429LOWThis vulnerability allows remote attackers to disclose sensitive information on affected installations of Foxit Studio Photo 3.6.6.922. UserEPSS 3.0%CVE-2023-26397MEDIUM[ZS-VR-22-112] Adobe Acrobat Out-of-bounds Read Memory leakEPSS 2.9%CVE-2021-41556CRITICALsqclass.cpp in Squirrel through 2.2.5 and 3.x through 3.1 allows an out-of-bounds read (in the core interpreter) that can lead to Code ExecuEPSS 2.9%CVE-2021-27263LOWThis vulnerability allows remote attackers to disclose sensitive information on affected installations of Foxit PhantomPDF 10.1.0.37527. UseEPSS 2.9%CVE-2013-3245MEDIUMplugins/demux/libmkv_plugin.dll in VideoLAN VLC Media Player 2.0.7, and possibly other versions, allows remote attackers to cause a denial oEPSS 2.9%CVE-2021-28637HIGHAdobe Acrobat Pro DC PDFLibTool Out-of-Bounds Read Remote Code Execution VulnerabilityEPSS 2.9%CVE-2022-28274HIGHAdobe Photoshop Font Parsing Out-Of-Bounds Read Remote Code Execution VulnerabilityEPSS 2.8%