Entries linking to squirm
Old English wurm, variant of wyrm "serpent, snake, dragon, reptile," also in later Old English "earthworm," from Proto-Germanic *wurmiz (source also of Old Saxon, Old High German, German wurm, Old Frisian and Dutch worm, Old Norse ormr, Gothic waurms "serpent, worm"), from PIE *wrmi- "worm" (source also of Greek rhomos, Latin vermis "worm," Old Russian vermie "insects," Lithuanian varmas "insect, gnat"), from PIE *wrmi- "worm," from root *wer- (2) "to turn, bend."
The ancient category of these was much more extensive than the modern, scientific, one and included serpents, scorpions, maggots, and the supposed causes of certain diseases. For substitution of -o- for -u-, see come. As an insult meaning "abject, miserable person" it dates from Old English. Worms "any disease arising from the presence of parasitic worms" is from late Old English. Can of worms figurative for "difficult problem" is from 1951, from the literal can of worms a fisherman might bring with him, on the image of something all tangled up.
"cloud of bees or other insects," Old English swearm "swarm, multitude," from Proto-Germanic *swarmaz (source also of Old Saxon, Middle Low German swarm, Danish sværm "a swarm," Swedish svärm, Middle Dutch swerm, Old High German swaram, German Schwarm "swarm;" Old Norse svarmr "tumult"), by Watkins, etc., derived from PIE imitative root *swer- "to buzz, whisper" (see susurration) on notion of humming sound, and thus probably originally of bees. But OED suggests possible connection with base of swerve and ground sense of "agitated, confused, or deflected motion." General sense "large, dense throng" is from early 15c.