"Bad memory" or "poor memory" are common ways to describe someone who has a hard time remembering things. Another way to describe this could be "forgetful" or "having a short-term memory". You could also say that someone "has trouble retaining information" or "struggles with recall".