I really wish people stopped defending what is a glaring, Subaru-specific issue as a "feature" and writing it off as "the nature of the beast." It's just not. As a musician, record collector and avid music fan in general, I can attest to the fact that there are plenty of valid reasons to prefer a CD or a vinyl record over electronic music files, which are fraught with their own problems, from the hassle of ripping music media to file management, buggy music software and bluetooth connectivity issues.
More importantly, though, here's the deal: If a brand-new car comes with outdated, yet brand-new equipment such as a CD player, I expect that technology to work, flawlessly. Of course CD technology is "outdated," but so are combustion engines. If we accept Subaru's subbar CD player as a "feature," we might as well accept blown head gaskets as "features."
I observed the exact same issue immediately after buying my 2017 Forester and posted a virtually identical thread. In my lifetime, I've owned various slot-type CD players, and none of them had the issue. I noticed it in our brand-new Subaru at a time when the car was so new there was no way the slot could have accumulated dust and grime, never mind the fact that the scratches I discovered on my CDs were too regularly shaped and too significant to be caused by random dust and grime.
No, my hypothesis, unless convinced otherwise, is that Subaru is installing faulty CD players in their vehicles and nobody bothers to rectify the problem. If Subaru were to do away with CD players altogether, I'd be fine with that. But as long as they offer them, they need to offer hardware that lives up to its task.