By CHELSEA HUANG
Jennifer Garner had a terrible, horrible, no good very bad Monday night when she suffered a rare wardrobe malfunction.
The typically picture-perfect actress, 42, accidentally flashed a pair of nude Spanx under her little black dress as she stood beside co-star Steve Carrell at the premiere of "Alexander and the Terrible, Horrible, No Good, Very Bad Day" in Hollywood.
Oddly enough, InStyle Magazine asked Garner what she would do if her dress ripped on the red carpet in their October 2014 issue -- and the actress answered in true Jennifer Garner style.
"Laugh -- and reach for my boobs!" she said.
The mother of three definitely took the incident in stride and smiled for the cameras. Garner looked gorgeous in an elegant Valentino number, black Jimmy Choo ankle-strap heels and an Oscar de la Renta bag. She finished off her G-rated ensemble with a flirty ponytail and pink glossy lips.
October has already become a month of "rare moments" for the "Alias" star. She was photographed on Sunday sharing some PDA with "Batman" hubby Ben Affleck, 42, as the pair picked up some fresh produce and pizza, according to Us Magazine.
Garner recently told Kelly Ripa and Michael Strahan how she feels about her husband's hot new "Batman" bod.
"He looks pretty good. It's a little bit like, 'Whoa! Who are you?' It feels like I'm having an affair. But I don't mind, I'm not complaining!"
See her full premiere look below:
More on AOL.com
J.K. Rowling tweets cryptic riddle, sends fans into a frenzy
Kanye West buys bubbly for bachelorette party
Chris Martin purchases home across street from ex Gwyneth Paltrow
Jimmy Fallon and will.i.am make Ew! show music video