As a man of mature years myself, I'm confident that the nature of male sexuality is the "elephant in the room" in this context. We all understandably denounce the perverts without often asking: why are there always so many perverts?
Men of pretty much any age tend to be sexually attracted to pubescent and post-pubescent youth, as they were in their own adolescence and young adulthood, a time when male sexual urges tend to be particularly strong, tuning the brain for the attractions of the future. This may make sense from an evolutionary perspective, but it's also why male sexuality needs to be strongly socially controlled by age-of-consent laws, and widespread disapproval of sexualisation of early teens etc.
Men who are most attracted to pre-pubescent children presumably "failed" the adolescent phase for some reason, and reverted to previous attractions from the age when all such feelings were "naughty". Other paraphiliac men of an anti-social bent may be particularly turned on by transgression, and court paedophilia specifically for its "forbidden" status.
Is there any long term solution to the problematic aspects of male sexuality? Social progress, understanding and ethical engineering will play a role, but I suspect the final answer will rely on future biotech capabilities.