Possible Duplicate:
Can avi files contain a virus?

Can mp3 file contain an executable virus?
I mean .mp3 files only (not .mp3.exe , not an .exe renamed to .mp3 and smtg like that).


I suppose it's POSSIBLE to contain a virus, but it would have to be specifically engineered to exploit a flaw in a specific media player, or in the OS itself when it generates a preview (if it does). Since it usually just shoves the data through a player, I can't see this happening.

| improve this answer | |
  • It wouldn't be because the file was executed, it would be because the file exploited a weakness in the software playing it. Buffer overruns, things like that. – UtahJarhead Oct 2 '12 at 13:23
  • It means that music/video stream files can't contain a virus, which can execute himself (while running it). Isn't it? – Searush Oct 2 '12 at 13:28
  • A virus is not always executable. – UtahJarhead Oct 2 '12 at 13:40

The music player doesn't compile or run any type of executable commands on the OS. So even if a .mp3 had a virus, it can't be run/executed. So, the answer is no, it doesn't contain an executable virus (of course, if you wanted to write a music player which could also execute that would be a different matter :) but I don't think it would be popular ).

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.