Customs deputy director-general Shaharuddin Ibrahim was rushed to hospital by his driver after the attack in the administrative capital of Putrajaya.
Reports said two men on a motorcycle pulled up along side the car and the pillion driver shot the official in the neck.
No other details were immediately available.