Can wine as a whole or the windows applications installed via wine pose some kind of risk to an Ubuntu installation? This question arose in my mind when I read this answer to my earlier question Accessing IE only sites:

Try installing PlayonLinux from playonlinux.org and install IE via PlayonLinux. and use IE only for those pesky sites :) - Received 1 downvote

And enjoying the risks of IE? No thanks - This comment received 2 upvotes

I believe this PlayOnLinux works as a frontend to wine making installing tasks easier.

In totality, I want to know if it is safe to install Internet connecting applications like IE via Wine? Is there any remote possibility of being subject to more online attacks and virus threats this route. I plan to use IE only for browsing websites not accessible with other browsers, like the one in earlier question.


Wine is just a compatibility layer, programs run in it have the same privileges as the logged in user.

From their FAQ:

7.5. How good is Wine at sandboxing Windows apps?

Wine does not sandbox in any way at all. When run under Wine, a Windows app can do anything your user can. Wine does not (and cannot) stop a Windows app directly making native syscalls, messing with your files, altering your startup scripts, or doing other nasty things.

Also read 7.4, especially:

  1. Never run executables from sites you don't trust. Infections have already happened.

Wine has to possibility to share your documents (or even your home directory or /) with the application. Even if programs are not malicious, it could still put junk on your system, like desktop.ini (controls the view of folders in Explorer).

  • 1
    To this date, Wine FAQ has been updated. So the quoted link "Also read 10.1" now points to "11.1. Wine is malware-compatible" and the previously quoted entry "10.2. How good..." is now titled as "11.2. How good is Wine at sandboxing Windows apps?". The contents are more or less the same when compared to older FAQ snapshot on Wayback Machine. – user37165 Oct 15 '15 at 15:47
  • @clearkimura and they changed it again, now to 7.4 and 7.5. – muru Aug 18 '17 at 6:54
  • But with winecfg one can remove the Z / drive (making drive_c the only path accessible to wine progs). In this case, is the Linux (all but drive_c/*) environment at risk? – e2-e4 Mar 11 '19 at 1:44

Viruses that are run in wine will generally stay within the C drive which wine creates, however, they can still cause harm to your system through startup entries and other method used by malware. However, they generally will not affect specifically Linux portions of your computer. This does not mean that it is impossible. A virus can be made specifically for wine to infect unprotected Linux binaries or attempt to escalate privileges on your system.


Using Wine with Internet Explorer or other programs will only have potential malware reach your wine "drive", which is a folder structure inside of ~/.wine, as well as any other mapped folders.

And regarding viruses. The viruses may infect only those Windows' files, but Windows viruses do not run on Linux effectively - i.e. they won't infect your Linux system files unless its an actual Linux virus.

  • 1
    / is a mapped folder (`Z:`), so this is quite misleading. And since Wine can run Windows services, being infected with some Windows malware really could be a serious concern. – Eliah Kagan Oct 28 '12 at 15:30
  • True, although i thought sudo requirements for / still applied? – Thomas Ward Nov 1 '12 at 13:10
  • The user running Wine certainly has access to some things contained within / but not within ~/.wine, such as all of ~. That could be a big problem! Besides that, Windows malware running as a limited user via Wine would have the same limitations of any program running as a limited user on an Ubuntu system. (Except there is a lot of Windows malware out there, and while this will almost certainly change in the future, right now there is very little malware written specifically to target Ubuntu and other GNU/Linux operating systems.) – Eliah Kagan Nov 3 '12 at 13:55

Windows malware needs to be executed to work, so if you download a corrupted version of some Program that in turn downloads and executes some Malware, then nothing would happen. The reason being is that instead of executing some Malware into Windows, for the malware to work it would need to be initiated by WINE, and therefore by you. Installing WINE does not open your computer up to any "Windows malware" because you are directly in control of what exe's, batch, and com's WINE executes. The only theoretical danger is if you download a Linux program that downloads a windows virus, and then calls WINE to execute that virus, and then fixes everything to work out of the WINE sandbox.

In the long run, your Linux computer is completely safe with WINE. The only real danger is what you install,

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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