I just replaced 2 medicine cabinets in my house. I had to modify the
rough openings slightly. You might get lucky and not have to do any
changes at all, but like the other poster said, you could buy a surface
mount one and cover the hole.
I used the Home Depot brand, Keystone medicine cabinets: