put your foot in your mouth
Meaning
to say something embarrassing or tactless
Example
βI put my foot in my mouth when I asked about her ex.β
How to use it
About accidental social mistakes, not deliberate rudeness.
A literal picture
A shoe is wedged between a pair of lips