More than 100 of the injured are still being treated in hospital, local media report on Tuesday evening local time. Many are said to have severe burns and breathing difficulties.
The fire spread quickly from the gas pipeline to several buildings and forced a large number of residents to evacuate. 190 houses and 148 cars are reported to have been damaged, writes the news agency AP.
I rushed out of my house, but fell and got burned due to the heat from the fire, says 42-year-old Lee Weng Ken, whose roof collapsed, to the Singapore-based news channel CNA.
49-year-old Nizam Mohamad Asnizam, who lives about 100 meters from the fire, took his car and fled the scene with his family.
When I woke up, I saw the fire raging and heard a strange sound. I have never experienced a fire with that kind of noise. The sound was terrifying, like a jet plane was right next to me, he says to AFP.
Stepping on the floor was like stepping on a hot wok pan. The heat felt like putting my head in an oven, it felt like I was burning.
The inferno in the Kuala Lumpur suburb of Putra Heights was visible from several kilometers away. At its peak, the flames reached 500 meters into the air, reports CNA.
Malaysia's state-owned oil company Petronas reports that the fire in one of the company's gas pipelines broke out at 8 am on Tuesday morning, local time.