Medicine

A young female patient with long history of sinusitis presented with frequent fever along with personality changes and headache of recent origin. The fundus examination revealed papilledema. The most likely diagnosis is -