Skip to main content
Share Your Experience: Take the 2024 Developer Survey
54 votes
Accepted

Is .txt the only email attachment type that can always be opened without risk?

There is no such thing as a "file that can be opened without risk". A file can be one of two things: it can be instructions that get executed, or it can be data. Data itself can be used by a ...
nvoigt's user avatar
  • 1,653
36 votes

Is .txt the only email attachment type that can always be opened without risk?

Of course not. Text file readers can have vulnerabilities: https://www.kaspersky.co.uk/blog/is-txt-file-safe/22557/ CVE-2019-8761 https://www.cisecurity.org/advisory/multiple-vulnerabilities-in-...
schroeder's user avatar
  • 131k
5 votes

Is .txt the only email attachment type that can always be opened without risk?

No file type can be opened without risks. Of course some types are associated with a bigger risk than others. For example, anything that includes executable code like Microsoft Office files with VBA ...
Ja1024's user avatar
  • 7,636
5 votes

Is .txt the only email attachment type that can always be opened without risk?

People have said that implicitly, but to say it explicitly: The ending of a file is just politeness. There's nothing stopping you from renaming virus.exe to cookie_recipe.txt. So just because it has a ...
haxor789's user avatar
  • 161
1 vote

Is .txt the only email attachment type that can always be opened without risk?

The answers by fellow community members nvoigt and schroeder are superb. There is one critical point I would like to add to both of those excellent answers: When one talks about "opening" a ...
End Antisemitic Hate's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible