Attachment Issues

Fix Outlook or Exchange Flagging a PDF Attachment as Malware

Emma BrownEmma Brown Nov 19, 2026 868 views

Question details

Determine why Outlook or Exchange flags a PDF attachment as malware when VirusTotal reports no threat.

Fix Outlook or Exchange Flagging a PDF Attachment as Malware
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.
Before you start

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.

Solution 1Recommended

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.

1
Inspect the PDF

Open the PDF in a trusted PDF editor and check its attachments, forms, actions, and JavaScript for content you do not need.

2
Create a clean copy

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.

3
Verify and retest

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.

Recreate or sanitize the PDF and test it
Check interactive features: Recreating or sanitizing a PDF may remove forms, attachments, scripts, or other features. Confirm that the new file still meets the recipient's needs.
Free Microsoft Office alternative

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.

Export supported documents to PDF for email sharingWork with Microsoft Office formats including DOCX, XLSX, and PPTXUse familiar document editing tools for an easier transitionOpen and edit files in a lightweight office suite
microsoft office alternative - wps office

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.