The fire, which broke out earlier in the day in the Wallerstein municipality, caused six tenants to require medical assistance, the Spiegel magazine said.
The German police detained a man suspected in the attack, the outlet added.
The local law enforcement has not ruled out xenophobic motives of the attack, as the injured come from the families of immigrants.