Oil based mud degradation due to hydrocarbon influx during HPHT drilling