Twenty-two firefighters were called in to rescue the unnamed student after he got stuck in a giant vagina sculpture outside the institute.
The Chacán-Pi (Making Love) red marble statue by Peruvian artist Fernando de la Jara weights 32 tons and has been outside the institute since 2001.
The sculpture is designed to represent "the gateway to the world."
Firefighters were able to deliver the student to freedom without injuring him or the statue.
"I was there!!! He just wanted to take a funny picture." witness Erick Guzman posted to Imgur. "The fire department was not really amused, and he was really embarrassed."