Shares of the cybersecurity firm, which had a market value of around $5 billion, jumped on news of the discussions.