Surging 2004 Subaru Forester

Forester surges under acceleration in any gear.

It may be an issue with the drive-by-wire system. https://www.thesubaruforums.com/threads/surging-forester.5846/ A dealer might be able to do a reset that will allow the system to “relearn” but it probably won’t solve the problem completely.