Uncontrolled diabetes can lead to cognitive impairment and memory loss, but the exact mechanism for the process is not unknown. A hypothesis suggests vascular impairment in the cranial blood vessels may be etiologic for brain damage.