A bed bug is technically an insect.  It therefore has six legs; this is part of the definition of an insect.  Some common species of pests, such as spiders, are called insects when in fact they are no such thing due to their possession of eight legs.  Technically, spiders are arachnids.  Bed bugs, however, are indeed insects and as such possess six legs.