MULTAN, Pakistan — A massive fire caused by a cooking gas stove erupted Thursday on a train traveling in Pakistan's eastern Punjab province, killing at least 71 passengers, officials said.

Flames roared through the train cars as the train approached the town of Liaquatpur in Punjab, they said, the latest tragedy to hit Pakistan's dilapidated, poorly maintained and mismanaged rail system.

Survivors recounted horrific scenes of fellow passengers screaming as they jumped through the windows and off the train, flames billowing from the carriages.

Burnt-out train carriages sit on the rails after a passenger train caught on fire in Punjab on Thursday. Waleed Saddique / AFP - Getty Images

"We could hear people crying and screaming for help," said Chaudhry Shujaat who had boarded the train just a few hours earlier with his wife and two children. "I thought we would die. The next car was on fire. We felt so helpless."

Deputy Commissioner Jamil Ahmed said the fire broke out when a gas stove exploded as breakfast was being prepared on board. He added that the death toll had risen steadily since the early morning.

Kaleem Ullah, an official with the district emergency services, says of the 43 people injured, 11 were still in critical condition.

Several of the injured had jumped off the train — many to their deaths — after the fire broke out and before it eventually screeched to a halt, said Ahmed.

Survivors said it took the train nearly 20 minutes to come to a halt after the fire broke out and passengers began screaming for help. Some pulled at emergency cords that weave through the train to notify the conductor.

Ghulam Abbas, a passenger who had gotten on the train in the town of Nawabshah in neighboring Sindh province with his wife and two children, recounted watching panicked passengers jumping off.

"We learned afterward that most of them had died," he said.

His wife, Sulai Khan Bibi, said she was horrified what would happen to their two small children. "We were so close to death, but Allah saved us," she said, clutching the children.

In Pakistan, poor passengers often bring their own small gas stoves on the trains to cook their meals, despite rules to the contrary, according to Railways Minister Sheikh Rashid Ahmed. Safety regulations are often ignored in the overcrowded trains.

The fire burns after a gas canister train passengers were using to cook breakfast exploded. Asghar Bhawalpur / Reuters TV

Ahmed said in Thursday's tragedy, it was cooking oil carried on the train by a group of Islamic missionaries known as Tableeqi-e-Jamaat that had caught fire after the initial cooking stove exploded, contributing to the extent of the blaze and its speedy progress.

Railway official Shabir Ahmed said bodies of passengers were scattered over a mile-wide area around the site.

People from nearby villages rushed to the train, carrying buckets of water and shovels to help douse the flames. "But it was impossible," said Ahmed.

Through the morning hours, rescue workers and inspectors sifted through the charred wreckage, looking for survivors and aiding the injured. Local Pakistani TV footage from the scene showed a huge blaze raging as firefighters struggled to get it under control.

Train accidents in Pakistan are often the result of poor railway infrastructure and official negligence. Media reports on Thursday suggest that railways officials did not notice when passengers boarded the train, carrying individual gas stoves.

CORRECTION (Oct. 31, 2019, 7:49 a.m.): A previous version of this article misstated the number of those killed in the fire. It was 71, not 715.