The wiki says 1 block down, 1 block sideways (including diagonals), and 4 blocks up. Seems a little smaller than I remember, but I guess it's been a while since I've let anything burn down. Do note that's the area in which the fire can spawn, so a wooden wall 2 blocks away could still catch fire...