Definition: Unintentionally using a word or phrase that means something different to what you mean to say
One example is saying ‘literally’ when you really mean ‘figuratively’.
However, heterophemy can strike anyone at any time—no one is the suppository of all wisdom.
Yes, literally as well as figuratively.