Pinworm is the most common worm infection in the United States. Humans are the only species that can transfer this parasite. Household pets like dogs and cats cannot become infected with human pinworms. Pinworm eggs can survive in the indoor environment for 2 to 3 weeks.