Four people mourning a dead pal at a Brooklyn street memorial were struck by stray bullets fired by a masked gunman early Monday, according to police.

The victims — Rasheen Stewart, 24; Jeff McCall, 33; Syeitha Lomax, 49; and Regina Sherrod, 33 — were honoring the life of a friend who had died from a disease on Sterling Place and Buffalo Avenue in Crown Heights at 2 a.m., when the shooter blasted off at least eight rounds, cops said.

Some of the terrified mourners ran into a nearby apartment building and took cover, cops said.

McCall was found in a hallway of the building with a gunshot wound to the chest and Sherrod was found in an apartment, lying face-down — with a gunshot wound to her back and two to her hip. Lomax was struck in the left leg by a stray bullet and Stewart was also hit.

“We were just sitting out there talking. It happened so fast. All we heard was like gun shots. Then everybody hit the ground, just trying to avoid getting shot, ” said Sherrod’s brother, Timothy. “[I’m] shocked, hurt and confused.”

A witness told cops he heard gunshots and quickly ducked behind a car, and police later viewed surveillance video footage showing five attackers with their faces covered, cops said.

The attack happened near a corner known as hub for drug dealing, which may have been linked to the crime, according to police sources, who said the victims appeared to have been caught in the crossfire of an unrelated dispute, but added that cops were investigating whether the male victims were the intended targets.

The male victims were taken to Kings County Hospital, a police source said. The women were rushed to Brookdale Hospital, all four were in stable condition as of Monday morning, according to the NYPD.

The group of about 10 mourners had been paying respects to a neighborhood friend named Louie, who died after a battle with Hodgkins Lymphoma late last month, Timothy said.

Safe streets activists called for stricter gun laws in the wake of the attack Monday.

“Promises of a safe city are not enough, it’s time for New York to take real action and get tougher on gun violence!” activist Tony Herbert urged. “It’s apparent that those who are firing off these weapons didn’t get the memo that NY has tough gun laws, or really don’t feel that they are so tough.”