IMHO, that should be seen as a tangential right to repair.
Either the entity that sold you the software (or their successors) gives you standard access, tools, and specs to effect standard repairs.
Or if that entity cannot fulfill that responsibility (say, because they went bankrupt), their code is open-sourced.
The situation to avoid is "nobody cares about this thing, and nobody is available to service it."