Context rot is a weakness of LLMs. It is a measurable loss in performance on a task as the amount of context grows.
A related concept is 'lost in the middle' where LLMs tend to follow information at the start and end of their prompts more than context in the middle of their prompts.