to say sth that offends or embarrasses sb, although you did not intend to
drop a brick / clanger
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition