The Kennedy “curse” strikes again, but in this case we’re inclined to think the curse has more to do with the Kennedy men’s cheating ways.

Robert F. Kennedy Jr.’s estranged wife, Mary, who battled her husband’s rumored philandering by turning to alcohol and prescription drugs, hanged herself in a barn on their Westchester estate yesterday, sources told The Post.

The 52-year-old mother of four — the latest victim of a family dynasty cursed with tragedies — may have taken her own life because she was haunted by her broken marriage, her friends lamented.

“She was deeply troubled, abusing alcohol and prescription meds,” a close family friend said. “She had cause. She was used up and tossed away by Bobby. That was awful.”

Bedford police responded at 1:36 p.m. to a report of a “possible unattended death” — meaning there were no witnesses — at the estate.

After authorities arrived, they cut her down and tried to revive her. She was found by a housekeeper, ABC News reported.

Mary was found “inside an out-building on that property,” police said in a statement.

She left behind a note, and none of her children were home at the time, sources said.

The Kennedy family dealt stoically with the latest in the long line of shocking deaths.

“We deeply regret the death of our beloved sister Mary, whose radiant and creative spirit will be sorely missed by those who loved her,” the family said in a statement.

“Our heart goes out to her children, who she loved without reservation. We have no further comment at this time.”

A grim-faced RFK Jr. showed up at the house at around 8 p.m.

The third of 11 children of former US Sen., Attorney General and presidential candidate Robert Francis Kennedy, he married Mary Richardson in 1994, one month after his first marriage ended following 12 years.

The ceremony took place aboard a research vessel on the Hudson River, a fitting spot for the couple, who were environmental advocates.

A family friend said Mary had known the Kennedy clan long before she married Bobby, and had been a close pal of his sister — also named Mary, but known as Kerry — since they were 15-year-olds.

“She had grown up with the Kennedy family, having been Kerry’s best friend since they were teenagers,” the friend said.

The marriage broke down amid reports of her addiction and rumors of his involvement with other women.

“She knew Bobby her whole life, and now he rejected her. Tragic,” the family friend said.

Kennedy, 58, filed for divorce on May 12, 2010, two days after Mary called police to complain about her husband — but she appeared “visibly intoxicated” when officers arrived, according to police reports.

As of yesterday, the divorce was not finalized, TMZ.com reported. But Kennedy has since been dating actress Cheryl Hines, sources said.

A day after the divorce filing, Bedford police were again called to the home because of a report of a “domestic incident” in which Mary was reportedly drunk.

Two days later, she was charged with driving under the influence when she was caught speeding down the Taconic State Parkway. Her license was suspended.

Ethel Kennedy, her mother-in-law, sent a handwritten letter, seeking leniency and calling Mary a “kind, loving and generous person.”

Cops confirmed then that they had been called to the estate several times in the previous years. Mary’s close friend pointed to the strain of her 18-year marriage.

“She was lovely. She always looked out for you,” she said, but added, “She did not have it easy, being Bobby’s wife.

“I remember being seated at a dinner next to Bobby around 10 years ago that she was also at — it was the first time I had met either of them — and he put his hand on my thigh under the table. We hadn’t even spoken but to say hello. He is such a dog that way.”

The friend, who requested anonymity, alluded to the problems of other women who have married into the fabled clan: “Like all Kennedy wives, she was expected to tow the line. Stay quiet, take care of the kids, tolerate the affairs and look happy. She took solace in yoga and meditation.”

Still, the philandering took “a terrible toll,” the source said, adding, “He got all the glory, and she got no acknowledgment for what she did: holding it all together at home.”

Kennedy rarely spoke about his private life, but opened up to Oprah Winfrey in a 2007 interview.

“Pretty soon after my dad died” — referring to his father’s assassination in 1968 — “I started taking drugs,” he said. After overcoming his addiction he became an environmental advocate.

Mary, who had worked as an architect before her marriage, took up the same environmental causes and tried to turn the Bedford estate into a showcase, according to her friend.

“She was a gentle soul. She was very proud of how she had turned their family home into the truly greenest/eco-friendly home ever,” she said.

The friend said Mary took over caring for the two children from her husband’s first marriage — and then raised four of her own.

“Like so many parents of Kennedy kids, she was dealing with a wild bunch,” she said. “The kids were always getting into scrapes, and Mary was forever rescuing them.”

It sounds like this woman had an incredibly hard life. 18 years of marriage to someone who doesn’t treat you right can’t be easy and it sounds like she had her hands full with the kids.