Java and trivially exploitable RCE are certainly believable.
I don't know if it's better or worse than other languages but let's not pretend it's not a problem.
https://www.sourceclear.com/vulnerability-database
Everything is a mess, no matter the language.