No, he isn’t.
In fact, iirc, the Roman Catholic church doesn’t claim the Pope is infallible every time he speaks. My understanding is that he is only infallible if he speaks in a particular way on particular matters. Not being Roman Catholic, I don’t pay too much attention to the ins-and-outs of that belief.
The Bible is clear. There is no person who is good ENOUGH to earn their way into heaven. All our [own] righteousness is as filthy rags. We ALL need a savior and that is found in Christ Jesus. There is but one mediator between men and God, the man Christ Jesus.
If the Pope said anything else, and there is now evidence that the media got yet another thing wrong, the Pope is in error.
I know. I know. I was just making a joke. No man is infallible ... including the Pope. He is the head manager of the Catholic Church and that’s about it.