Buddha taught that attachment and craving are the roots of all suffering, so for those addicted to drugs or alcohol, Buddha would say that their addiction is a severe attachment, and thus harmful, the teachings of Buddha state that all individuals want to avoid pain and seek pleasure. Hope this helped!