Fix Outlook or Exchange Flagging a PDF Attachment as Malware
Question details
Determine why Outlook or Exchange flags a PDF attachment as malware when VirusTotal reports no threat.

- Product
- Microsoft Outlook and Exchange
- Device & OS
- not provided
- Scenario
- A user needs to send or receive a PDF attachment through an Outlook or Exchange mail system.
- Observed behavior
- The mail security system rejects or flags the PDF as malware, although VirusTotal finds no threat.
Confirm how the PDF was created and whether it contains forms, embedded files, or other interactive content. Keep the rejection message or quarantine details available for the mail administrator.
Recreate or sanitize the PDF and test it
Use this approach when the PDF may contain active or hidden content that the mail filter considers suspicious.
A clean VirusTotal result does not guarantee that every mail security product or organization policy will accept the file.
Open the PDF in a trusted PDF editor and check its attachments, forms, actions, and JavaScript for content you do not need.
Return to the trusted source document and use its Export or Save as PDF command. Alternatively, use Adobe Acrobat's Sanitize Document or Remove Hidden Information tools, if available, to remove unwanted content.
Open the new PDF to check its contents, then attach it to a test message sent through an approved email service. Do not upload sensitive files to an external service without authorization.

Ask an administrator to investigate the mail security verdict
Use this approach if a newly generated PDF is still blocked or the rejection message points to a mail security policy.
Create PDF files from documents with WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working with Office documents and exporting them to PDF. It can help you create a new PDF from a trusted source, but it cannot fix Outlook or Exchange security verdicts.

Frequently Asked Questions
Why is my PDF blocked if VirusTotal found nothing?
Mail security products use different detection methods and policies. A PDF's structure, embedded content, or an organization-specific rule may trigger a verdict that VirusTotal did not report.
How can I remove hidden content from a PDF?
If available in your version of Adobe Acrobat, use Sanitize Document or Remove Hidden Information. Then open the resulting PDF and verify that required content and features remain.
Where can an administrator check a quarantined attachment?
An authorized administrator can open Quarantine in the Microsoft Defender portal and review the message and its security verdict.
Should I test the PDF with another email service?
An administrator-approved test with another email service can help identify whether the issue is specific to one mail system. Do not send sensitive files through an unapproved service.




