Wellbore stability is affected by various factors other than far-field stresses and mud pressure. Some of the most important factors include: changes of temperature, changes of salinity in the resident brine within the pore space in the rock, and changes of pore pressure near the wellbore wall.