If closed source solution of bankrupt company used closed source solution of a non-bankrupt company then you just need a new licence. If non-bankrupt company is not issuing new licences then it is not supporting its software -> it needs to open source it. You can apply this rule recursively.
The only problem I see is the licence cost (or should it cost anything for existing licence owners of bankrupt company).