If this is true, she's lucky to be alive!

Demi Lovato's near-fatal overdose on July 24th was likely caused by Oxycontin laced with fentanyl, TMZ reports. Fentanyl was the same substance that killed both Prince and rapper Lil Peep, and it's so dangerous, authorities have to wear gloves when seizing it in drug busts. Yikes!

The "Skyscraper" songstress allegedly called her dealer at 4am after partying all night for a friend's birthday at Saddle Ranch on the Sunset Strip, and she was unaware that her guy gets dirty pills from Mexico, which are often laced with the lethal substance. They proceeded to freebase the drugs off tin foil, and that's when things took a turn for the worse.

Her dealer, who had been supplying her since she relapsed in April, noticed that her breathing was labored and she was in trouble, and rather than calling 911, he booked it out of her Hollywood Hills mansion. Her assistant eventually found her unconscious in bed around 11:30am, not a moment too soon.

The chart topper is now getting treatment at a rehab in Arizona, and is expected to stay for at least a couple months.

Thank God she's OK!