A 2-year-old child and two adults were injured in an Oakland freeway shooting Sunday night, authorities said.

The 2-year-old, a 28-year-old male and a 23-year-old female were traveling on the eastbound Interstate 580 transition to eastbound Highway 24 when their car was struck by gunfire just after 6 p.m., according to the California Highway Patrol. All three sustained moderate gunshot wounds and were transported to a local hospital for treatment.

Information on suspects was not available. Detectives from the CHP Golden Gate Division are investigating the shooting. Anyone with information is asked to call the agency’s tip line at 707-917-4491.

Matt Kawahara is a San Francisco Chronicle staff writer. Email: mkawahara@sfchronicle.com Twitter: @matthewkawahara