CVE-2024-38217: LNK Stomping
- Vendor
- Microsoft Corporation
CVE-2024-38217, known as LNK Stomping, is a Windows Mark of the Web (MotW) security feature bypass. A specially crafted Windows shortcut can contain a malformed executable target with an additional trailing character, such as a period. When Windows normalizes the target, Windows Explorer saves the corrected shortcut through CShellLink::_SaveAsLink, inadvertently removing its MotW alternate data stream. Losing this untrusted-origin metadata allows the shortcut to evade security checks associated with downloaded files. The vulnerability was publicly disclosed and actively exploited before Microsoft released a fix in September 2024, with malicious samples suggesting abuse dating back to 2018.
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.
Exploitation bypasses MotW-dependent protections, including SmartScreen Application Reputation checks and Windows Attachment Services prompts, reducing scrutiny of malicious shortcuts and facilitating malware execution. Smart App Control protections may also be bypassed. This is a security feature bypass rather than an independent privilege-escalation vulnerability; subsequent payload behavior determines the resulting compromise.
Mitigation
If you can’t patch tonight, do this now.
Until patched, avoid opening untrusted or unexpected downloaded shortcuts and use security software capable of detecting malicious files and shortcut behavior independently of MotW. These measures reduce exposure but do not correct the vulnerable shortcut-saving behavior.
Remediation
Patch, then assume compromise.
Install Microsoft's September 10, 2024 Windows security updates addressing CVE-2024-38217, or subsequent cumulative updates containing the fix. Microsoft changed CShellLink::_SaveAsLink to use SHCreateStreamOnFileEx with an additional flag instead of SHCreateStreamOnFileW, preserving MotW when corrected shortcuts are saved. For certain legacy Windows versions no longer receiving Microsoft updates, 0patch offers functionally equivalent micropatches through its PRO and Enterprise subscriptions; verify platform coverage and successful deployment.
Exploits
No public exploits tracked yet. Mallory keeps watching.
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.
References
Frequently asked questions
- Is CVE-2024-38217 exploited in the wild?
- Yes. As of Oct 25, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Sep 10, 2024.
- Is there a public exploit for CVE-2024-38217?
- Yes. As of Oct 25, 2026, Mallory has reports of a public exploit for CVE-2024-38217.
- Is there a patch for CVE-2024-38217?
- Install Microsoft's September 10, 2024 Windows security updates addressing CVE-2024-38217, or subsequent cumulative updates containing the fix. Microsoft changed CShellLink::_SaveAsLink to use SHCreateStreamOnFileEx with an additional flag instead of SHCreateStreamOnFileW, preserving MotW when corrected shortcuts are saved.
- What products are affected by CVE-2024-38217?
- Microsoft Corporation Windows 10 1507, Microsoft Corporation Windows 10 1607, Microsoft Corporation Windows 10 1809, Microsoft Corporation Windows 10 21h2, Microsoft Corporation Windows 10 22h2, and 14 more.
- How severe is CVE-2024-38217?
- CVE-2024-38217 has a CVSS v3.1 score of 5.4 (Medium) and an EPSS score of 2.0% (81st percentile) as of Oct 25, 2026.
Recent activity
15 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.