BROOKLYN, N.Y. — At least six people were injured overnight and dozens displaced after an explosion and three-alarm fire broke out inside a Brooklyn home.

The FDNY says crews responded to the call just after 12 a.m. at 58 Vermont Street in Cypress Hills.

When they arrived, firefighters encountered heavy fire in the cellar, first and second floors of the home.

Flames also spread to neighboring homes on both sides as well as a building behind the home located at 112 Jamaica Avenue.

The FDNY says two residents were inside the Vermont Street home on an upper floor when an explosion erupted in the basement.

Both were able to evacuate on their own with non-life threatening injuries.

The FDNY says over 33 units and 138 firefighters were called to the scene.

Con Edison was also called to investigate a possible gas emergency.

The FDNY says two people at the scene were transported to Brookdale Hospital and four others refused medical care.

At least 54 people who were displaced from their homes are receiving assistance from the American Red Cross and NYC Office of Emergency Management.

The cause of the fire is under investigation.