If the 1st is foreclosing the 2nd can sue you for the $25k. The 1st cannot if they complete a non-judicial foreclosure on your primary residence. The 2nd has 4 years to sue you from the date of the breach.
If the home sells at auction for less than the mortgage, they have up to 4 years to sue you for a deficiency judgment.
THESE COMMENTS ARE NOT LEGAL ADVICE. They are provided for informational purposes only. Actual legal advice can only be provided after consultation by an attorney licensed in your jurisdiction. Answering this question does not create an attorney-client relationship or otherwise require further consultation.