No, an EMP attack would not disable all vehicles. According to a study conducted by the United States EMP Commission, only about 1 out of 50 vehicles are likely to be rendered inoperable. The effects of an EMP on hybrid and electric vehicles, however, have yet to be studied and is currently unknown.
Link here