The code is open source and has been looked at by several people over the years.
It would be quite hard for the NSA to sneak in a backdoor but it is never out of the question.
However, the risk is so extremely minuscule when compared to other alternatives since they are not even open source.