I've had Two SD cards fail completely and without warning in the last 10 years. Media recovery failed to get the lost images.
SD readers are fairly simple.
CF cards: I've had bent pins using in computers, have straightened some myself. I've had CF slots custom designed for embedded systems to guarantee alignment. $100 per device.
Some internal memory is soldered to the board- can be replaced, but is more difficult. It would be nice to know how the memory is mounted. If it is socketed, would be easy. I've used both socketed solid-state disk-on-chip with PC104 and soldered with embedded computers. My engineer can replace the latter.
You can write David at Pixii and ask.