Poor or unregulated engine timing is often a cause of intake backfires, but can also be responsible for exhaust backfires
Improper wiring in the ignition can also lead to timing issues and backfires
Low fuel pressure, clogged fuel filters, and weak fuel pumps could cause a severe lean air-to-fuel ratio during fuel injection
Missing or damaged catalytic converter can result in backfires out the tailpipe
These are some of the causes I've researched. I would check for intake leakes and maybe your cats have gone bad like the forementioned. Clean your MAF also. Might be some unmetered air.
Don't drive your car anymore until you figure this one out, b/c, early detonation will destroy pistons.
What octane of gas are you using?