These difficulties may be related to brain injury stemming from the cancer itself, such as a brain tumor or central nervous system metastasis or from side effects of cancer treatments such as chemotherapy and radiation therapy.