Upvote:0
You will pay penalty fees while departure, in the passport control officer will direct you to pay the fees. You need to plan for more time before your flight.
Upvote:2
Your problem is not Dubai, your problem will be leaving Egypt. However, accordingly to anecdotal evidence, overstays of "several months" can be settled with a fine of LE 150 paid at the airport on departure. I'm not sure if a half a year is too much, but I would definitely go the airport nice and early, and with a large stack of cash on hand.