An 80-year-old patient scores 18/30 on the Mini-Mental State Examination (MMSE).This score indicates: