Exposure to drug companies with potential liabilities stemming from widespread opioid addiction is damaging investment returns at several money managers as pain from the national drug crisis spreads.

So far this month, at least five mutual-fund companies have told investors that their holdings in businesses with connections to opioid painkillers have detracted from overall returns, making money managers one of the latest sectors to feel the effects of growing attention on the addiction problem.

The...