Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2024-49040: Microsoft Exchange Server P2 FROM Header Spoofing

Published Nov 12, 2024 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.5High · v3.1
EPSS8.5%95th percentile
CISA KEVNoNot listed
In the wildReported1 exploitation record in Mallory
Vendor
Microsoft Corporation
IdentifiersCVE-2024-49040CWE-451 · User Interface (UI)…

CVE-2024-49040 is a spoofing vulnerability in Microsoft Exchange Server 2016 and 2019 caused by improper verification of the P2 FROM email header during mail transport. The vulnerable implementation accepts certain non-RFC 5322-compliant P2 FROM header formats, allowing an attacker to craft messages in which the sender address displayed to recipients differs from the address validated by Exchange. As a result, email clients such as Outlook can present a forged sender as if it were legitimate, particularly for local recipients, enabling convincing sender impersonation and trust abuse in enterprise mail flows.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows an unauthenticated remote attacker to send emails that appear to originate from a trusted or legitimate sender, including potentially internal identities. The primary impact is integrity loss in email communications, enabling phishing, business email compromise-style pretexting, social engineering, and fraudulent message delivery that can mislead recipients and downstream workflows that rely on displayed sender identity. No direct confidentiality or availability impact is indicated, but the flaw materially increases the likelihood of credential theft, malicious attachment delivery, and other follow-on attacks.

Mitigation

If you can’t patch tonight, do this now.

Where patch deployment is delayed, use Exchange Transport Rules and mail security controls to identify and handle messages flagged by the updated detection logic for suspicious P2 FROM patterns. The patched platform can prepend a warning disclaimer to suspicious messages and add a detection header that administrators can match on to quarantine, reject, or otherwise route suspect mail. Additional defensive measures include tightening anti-spoofing controls, increasing scrutiny of internally appearing sender identities, and monitoring for malformed or non-RFC 5322-compliant sender header patterns. Information about pre-patch mitigations is otherwise currently limited.

Remediation

Patch, then assume compromise.

Apply the Microsoft November 2024 security updates for supported Microsoft Exchange Server 2016 and 2019 deployments. Available fixes were released for Exchange Server 2016 Cumulative Update 23 and Exchange Server 2019 Cumulative Updates 13 and 14. The update corrects the vulnerable P2 FROM handling and introduces detection for suspicious malformed P2 FROM patterns.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Microsoft CorporationExchange Serverapplication
FAQ

Frequently asked questions

Is CVE-2024-49040 exploited in the wild?
Yes. As of Sep 25, 2026, Mallory has reports of exploitation in the wild.
Is there a public exploit for CVE-2024-49040?
Yes. As of Sep 25, 2026, Mallory has reports of a public exploit for CVE-2024-49040.
Is there a patch for CVE-2024-49040?
Apply the Microsoft November 2024 security updates for supported Microsoft Exchange Server 2016 and 2019 deployments. Available fixes were released for Exchange Server 2016 Cumulative Update 23 and Exchange Server 2019 Cumulative Updates 13 and 14.
What products are affected by CVE-2024-49040?
Microsoft Corporation Exchange Server.
How severe is CVE-2024-49040?
CVE-2024-49040 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 8.5% (95th percentile) as of Sep 25, 2026.
Activity feed

Recent activity

9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+4 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.