The incident occurred during a gathering in Brooklyn Homes neighborhood, according to reports.
Nineteen people with injuries sought hospitalization on their own and 10 others had to be transported to hospitals by the police, US broadcaster's Baltimore branch said, citing the police.
Early information not yet confirmed by the police suggests the number of fatalities in the shooting was four, media reported.
The police have launched an investigation, the broadcaster said.