Nail matrix dystrophy
However these are two basal cell skin cancers which have been neglected and are destroying the nail apparatus.
These tumours will have to be excised down to bone with consequent loss of the nail. Squamous cell carcinoma is more common than basal cell in this area but biopsies have confirmed the diagnosis.
BCCs will generally not involve the underlying bone but the same cannot be said for SCCs. If they had been diagnosed in this area then x-rays of the underlying bone would have