Falhas do tipo CWE-125

5.104 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-2017-8872CRITICALThe htmlParseTryOrFinish function in HTMLparser.c in libxml2 2.9.4 allows attackers to cause a denial of service (buffer over-read) or inforEPSS 2.3%CVE-2020-36331A flaw was found in libwebp in versions before 1.0.1. An out-of-bounds read was found in function ChunkAssignData. The highest threat from tEPSS 2.3%CVE-2019-5090CRITICALAn exploitable information disclosure vulnerability exists in the DICOM packet-parsing functionality of LEADTOOLS libltdic.so, version 20.0.EPSS 2.3%CVE-2023-0668MEDIUMWireshark IEEE-C37.118 parsing buffer overflowEPSS 2.3%CVE-2019-8260UltraVNC revision 1199 has a out-of-bounds read vulnerability in VNC client RRE decoder code, caused by multiplication overflow. This attackEPSS 2.3%CVE-2021-45052LOWAdobe Bridge TIF File Parsing Out-Of-Bounds Read Information Disclosure VulnerabilityEPSS 2.3%CVE-2020-9744MEDIUMAdobe Media Encoder WMV File Parsing Out-Of-Bounds Read Information Disclosure VulnerabilityEPSS 2.2%CVE-2020-9739MEDIUMAdobe Media Encoder FLV File Parsing Out-Of-Bounds Read Information Disclosure VulnerabilityEPSS 2.2%CVE-2019-8261UltraVNC revision 1199 has a out-of-bounds read vulnerability in VNC code inside client CoRRE decoder, caused by multiplication overflow. ThEPSS 2.2%CVE-2026-7482HIGHOllama heap out-of-bounds read in GGUF tensor parsing leaks server process memory to unauthenticated remote attackersEPSS 2.2%CVE-2024-8929MEDIUMLeak partial content of the heap through heap buffer over-read in mysqlndEPSS 2.2%CVE-2023-3036HIGHOut of Bounds Slice index in cfnts leads to remote panicEPSS 2.2%CVE-2018-25010A heap-based buffer overflow was found in libwebp in versions before 1.0.1 in ApplyFilter().EPSS 2.2%CVE-2020-36330A flaw was found in libwebp in versions before 1.0.1. An out-of-bounds read was found in function ChunkVerifyAndAssign. The highest threat fEPSS 2.2%CVE-2020-9745MEDIUMAdobe Media Encoder PSD File Parsing Out-Of-Bounds Read Information Disclosure VulnerabilityEPSS 2.2%CVE-2018-10877HIGHLinux kernel ext4 filesystem is vulnerable to an out-of-bound access in the ext4_ext_drop_refs() function when operating on a crafted ext4 fEPSS 2.2%CVE-2017-9117MEDIUMIn LibTIFF 4.0.6 and possibly other versions, the program processes BMP images without verifying that biWidth and biHeight in the bitmap-infEPSS 2.2%CVE-2022-23193MEDIUMAdobe Illustrator Out-of-bounds Read could lead to Memory leakEPSS 2.2%CVE-2024-43565HIGHWindows Network Address Translation (NAT) Denial of Service VulnerabilityEPSS 2.2%CVE-2024-43562HIGHWindows Network Address Translation (NAT) Denial of Service VulnerabilityEPSS 2.2%