Engine light came on with cruise control light flashing
Have the codes read and post them here and we will try to help. Most auto parts stores will read them for free.
Get a cheap scanner so YOU can decode CELs as they occur, as you'll be getting them often as your Subie ages. Most prominent will be a PO420 code that you'll learn to ignore.
Search Subaru Outback Questions
Subaru Outback Experts