A wormtongue is someone who is skilled at using words in a maliciously insulting manner.
Worm refers to a serpent and tongue refers to the power of words/speech. It is a metaphor describing how the speaker's words could "bite" a person like a snake. It is not a reference to figurative meanings of the word "snake" such as a deceitful person, e.g. snake in the grass.