Ask a landlord-tenant lawyer and get answers ASAP
Good morning. I am Loren, a licensed attorney, and I look forward to assisting you.
The tenant is liable to you for rent until the end of the lease term, unless you release them prior to the expiration. Assuming the physical damages to the property are not at issue, the security deposit may be used for unpaid rent.
If you have a new tenant then the current tenant is entitled to a credit for the rent you receive from the new tenant.
You may also have a claim to assert for damages for amortized brokerage commissions, removal of tenant improvements, etc.
You can also offer to release them from further obligation if they release the entire security deposit to you. Just make sure to get any settlement in writing.
If you still need help, feel free to reply and I'll respond as soon as possible.
If you have no further questions, and have not yet done so, please remember to leave a favorable rating (Excellent or Good) so that I am credited for assisting you. A bonus is not required, but is always appreciated.