Have foot-in-mouth disease

To embarrass oneself through a silly mistake.

The man has foot-in-mouth disease and is always saying stupid things.