Let's say that I have been sent some maliciously-crafted audio files by an attacker that use an unpatched security exploit somewhere in my system to compromise it. How can I reprocess the actual audio (or image, or text etc.) content of such a non-executable file to ensure that, regardless of whether or not the file is malicious or not, it is rendered safe?
For example, could this be done simply by opening the file in audacity and exporting the audio in the same format?