Dementia after infection is a rare disease that causes changes in the brain in people who have had an infectious disease (such as pneumonia or malaria). However, the symptoms of this disease can be varied and cause much confusion in the medical literature.