more than likely it is a vacuum leak. I have a propane blow torch that I use to check for leaks, just dont ignite the flame, and when the engine rpm changes from the gas entering the leak area that how you know. an exhaust leak could do the same thing, but wouldn't cause any random misfires.