The Seal of the Confessional must not be breached!
Years ago I used to do marriage counseling under the auspices of the Church, I was informed that the same sort of rules applied to what I heard.
I was not a Catholic, but a priest asked me to do counseling, and based on our friendship, I agreed.