Webster's Revised Unabridged Dictionary · 1913

Bug

Bug (bug) , noun

[Old English bugge, from Welsh bwg, bwgan, hobgoblin, scarecrow, bugbear. Compare Bogey, Boggle.]

1.
A bugbear; anything which terrifies. [Obsolete]
Sir, spare your threats: The bug which you would fright me with I seek. — Shakespeare
2.
(Zoology) A general name applied to various insects belonging to the Hemiptera; as, the squash bug; the chinch bug, etc.
3.
(Zoology) An insect of the genus Cimex, especially the bedbug (Cimex lectularius). See Bedbug.
4.
(Zoology) One of various species of Coleoptera; as, the ladybug; potato bug, etc.; loosely, any beetle.
5.
(Zoology) One of certain kinds of Crustacea; as, the sow bug; pill bug; bait bug; salve bug, etc.

According to popular usage in England and among housekeepers in America around 1900, bug, when not joined with some qualifying word, was used specifically for bedbug. As a general term it is now used very loosely in America as a colloquial term to mean any small crawling thing, such as an insect or arachnid, and was formerly used still more loosely in England. “God's rare workmanship in the ant, the poorest bug that creeps.” Rogers (Naaman). “This bug with gilded wings.” Pope.

6.
(Computers) An error in the coding of a computer program, especially one causing the program to malfunction or fail. See, for example, year 2000 bug.
That's not a bug, it's a feature!
7.
Any unexpected defect or flaw, such as in a machine or a plan.
8.
A hidden electronic listening device, used to hear or record conversations surreptitiously.
9.
An infectious microorganism; a germ{4}. [Colloquial]

In some communities in the 1990's, the incidence of AIDS is high and AIDS is referred to colloquially as “the bug”.

10.
An undiagnosed illness, usually mild, believed to be caused by an infectious organism. [Colloquial]
the bug
11.
An enthusiast; -- used mostly in combination, as a camera bug. [Colloquial]
Collocations (2)
Bait bug , See under Bait.
Bug word , swaggering or threatening language. [Obsolete] — Beau. & Fl

Bug (bug) , transitive verb

to annoy; to bother or pester.