The United States and Iran may discuss possible cooperation on halting a Sunni militant offensive in Iraq on the sidelines of nuclear talks in Vienna, a senior US administration official said Monday.