Both high and low blood sugar levels can harm the blood vessels of the brain.