Eva Longoria suffered an embarrassing wardrobe malfunction while she was in Cannes, France for the Cannes Film Festival.

The former Desperate Housewives actress accidentally pulled her dress up too far on Saturday night, trying to avoid having it ruined by the rain. But as a result, she pulled it up so far that photographers got a crotch shot of the star, who wasn’t wearing underwear.

E! Online reports Longoria was attending the premiere of the Benicio del Tor-starring Jimmy P. (Psychotherapy of a Plains Indian) when the malfunction occurred.

On Sunday, she took to Twitter to make light of the situation, writing "Here's my dress for tonight! No wardrobe malfunctions tonight!!!" with a picture of herself in a black sequined gown.

This isn’t the first time Longoria has had a wardrobe malfunction, as The NY Daily News reports that back in January she accidentally exposed her breast to photographers at a Golden Globes after party.

Longoria is currently shooting Frontera, and her Hulu series Mother Up! will soon premiere.

image: YouTube