@JTT,
Snort.
Well, slightly more seriously, I figured out years ago that many priests in at least my area were gay, but I've no idea of percentages. Within the church precepts, a way a man could be a bachelor and fit in the catholic community is to be a priest.. This was pre seventies that I'm talking about, but I suppose some of that still goes on.
I blame celibacy compounded by that any acted out sexuality when not married is a sin, much less to be acted out by priests; lots of consequent deprivation and at least in my acquaintance, lots of alcoholism, in part re a lonely life.
I'm not saying this makes any priest of any sexuality a pedophile, but it could contribute.
But, further, I think celibacy is not all the saintly thing it is cracked up to be; rather a fear of women and their complications. Or occasionally, an opportunity for hairshirt type of fervor (see many 'saints' of both sexes' activities).
And... moving along, that this is all resting on a debasing of women and a controlling of them (us).