There are a few competing schools of thought regarding the effects of powerful electromagnetic pulses, either in the form of an electromagnetic pulse (EMP) attack or a natural phenomenon such as a coronal mass ejection, on cars and trucks.
The Shocking Reality: EMP vs. Cars – YOU MUST BE READY!
The prevailing opinion is that if your car relies on sensitive electronics, it would be toast after an EMP attack. This is the origin of the idea that cars built in and after the 1980s are not EMP-safe. However, real-world testing with EMP simulators has produced mixed results.
Regardless of which camp you belong to, the bigger problem is that after a large-scale EMP attack or a devastating coronal mass ejection, fuel production and distribution systems will most likely be taken offline.
If an alternative fuel source is not available, you are likely to be stranded even if your car survives an EMP attack.