People with heart disease who use cocaine or methamphetamine are at higher risk of death by accidental overdose.