The fire lasts longer than the immunity to fire, so if you can't move out of the flames you spawn, then when the effect wears off, you'll take damage. It can, indeed, kill you.
Is it a bug? Who knows. It's worked that way forever and people have mentioned it a lot, so Styg should certainly know about it.