It happened around 1 a.m. on the 3100 block of Custer Street in Kensington.
Investigators said someone fired into the car causing the driver to crash and the car to overturn.
Some of the bullets hit a nearby home.
Both the driver and the suspect fled the scene, police said.
Anyone with information is asked to contact the police.