DHAKA, Bangladesh — A fire broke out on Thursday in a large office tower in Dhaka, the capital of Bangladesh, killing at least 25 people and injuring several dozen others, officials said.

Videos circulating on social media showed large flames burning through the 24-story building, F.R. Tower. On the ground, witnesses said several people had fallen while trying to descend using cables along the periphery of the building.