Defender for Endpoint
CVE-2025-59497
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local authenticated shell
-
DeliveryIdentify Defender check-then-use operation
-
ExploitWin TOCTOU race window
-
ExecutionCrash or hang Defender agent
-
ImpactLocal denial of protection service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
|
| Exploitation Conditions | Requires an existing authenticated local presence on a Linux endpoint running Microsoft Defender for Endpoint (PR:L, AV:L) - no remote or network path exists. Exploitation further depends on winning a time-of-check-to-time-of-use race condition (AC:H), meaning the attacker must reliably interleave their action within a narrow timing window during a Defender file/resource operation; this is non-deterministic and may require many attempts. No user interaction is needed (UI:N). Impact is limited strictly to availability of the Defender service on the local host (A:H); it cannot read or alter data and does not cross to other systems (S:U). |
| Impact | This is a genuinely low-priority issue despite being a flaw in widely-deployed security software. The CVSS 3.1 vector (AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H) scores 4.7 (Medium) and tells a consistent, limited story: local-only attack vector, high attack complexity (the TOCTOU window must be won in a race condition), low privileges already required, and the sole impact is availability (A:H) - denial of service of the Defender agent itself, with no confidentiality or integrity impact. EPSS reinforces this with a very low 0.21% exploitation probability (10th percentile), there is no CISA KEV listing, and no public exploit code has been identified. The one notable internal conflict is the input Tags, which label this 'Information Disclosure' - that directly contradicts the CVSS vector (C:N, A:H), the CWE-367 TOCTOU classification, and the description's explicit 'deny service' language. This is a data-labeling error, not a signal of broader impact. Net: a real but minor local DoS requiring an authenticated local foothold and a hard-to-win race, not an urgent remediation. |
| Exploit ScenarioDerived | An attacker who already has an authenticated low-privilege shell on a Linux host running Microsoft Defender for Endpoint races the gap between when Defender validates a file/resource (time-of-check) and when it acts on it (time-of-use), swapping the resource to crash or hang the Defender process. Winning this race reliably is difficult (AC:H), and success only disables the endpoint protection agent locally; no public exploit code exists. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 01, 2026
Local denial of service in Microsoft Defender for Endpoint on Linux allows an authenticated attacker with local access to disrupt the Defender service by winning a time-of-check time-of-use race condition. Exploitation requires an existing local presence (PR:L) and high attack complexity (AC:H), and no public exploit has been identified; EPSS is 0.21% (10th percentile). The flaw impacts only availability of the Defender service on the local host, with no confidentiality or integrity impact.
RemediationAI
Apply the vendor-released patch from Microsoft as detailed in the MSRC advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-59497; the advisory provides the exact fixed version. If immediate patching is not possible, restrict local login access to only trusted administrators and monitor Defender service health for unexpected crashes or restarts. Note that disabling Defender features to mitigate the race condition is not recommended as it would remove endpoint protection. Since the vulnerability requires an authenticated local attacker and high attack complexity, the risk is low, but timely patching remains the primary remediation.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a time-of-check time-of-use (TOCTOU) race condition (CWE-367) in Microsoft Defender for Endpoint on Linux. This class of flaw occurs when a program checks the state of a resource (e.g., a file or handle) and then uses that resource, but the state can change between the check and the use. In this case, an authenticated local attacker can interleave their actions during a Defender file or resource operation to cause a denial of service, likely by crashing or hanging the Defender service. The CVSS vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H confirms that the attack is local, requires low privileges, has high complexity, and results in high availability impact with no scope change. The CPE cpe:2.3:a:microsoft:defender_for_endpoint:*:*:*:*:*:linux:*:*:* indicates that all versions of Defender for Endpoint on Linux are potentially affected. Microsoft's advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-59497 provides further details and patch information.
Know when Defender For Endpoint gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Local authenticated attacker (AV:L/PR:L) must win a non-deterministic TOCTOU race (AC:H) to crash the Defender agent, yielding availability-only impact (A:H).
Primary rating from NVD.
CVSS VectorNVD
DescriptionNVD
Time-of-check time-of-use (toctou) race condition in Microsoft Defender for Linux allows an authorized attacker to deny service locally.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Affected Products (CPE)NVD
More in Defender For Endpoint
View allMicrosoft Defender for Endpoint on Linux contains a code injection vulnerability that enables adjacent network attackers
Microsoft Defender for Endpoint on Android Spoofing Vulnerability. Rated high severity (CVSS 8.1), this vulnerability is
Microsoft Defender for Endpoint Protection Elevation of Privilege Vulnerability. Rated high severity (CVSS 7.8), this vu
Microsoft Defender for Endpoint for Mac Elevation of Privilege Vulnerability. Rated high severity (CVSS 7.8), this vulne
Local privilege escalation in Microsoft Defender for Endpoint for Mac (versions 101.0.0 through 101.26042.0010) allows a
External control of file name or path in Microsoft Defender for Endpoint allows an authorized attacker to elevate privil
Improper authorization of an index that contains sensitive information from a Global Files search in Windows Defender al
Microsoft Defender for Endpoint Tampering Vulnerability. Rated medium severity (CVSS 6.5), this vulnerability is remotel
Microsoft Defender for Endpoint Spoofing Vulnerability. Rated medium severity (CVSS 5.9), this vulnerability is remotely
Microsoft Defender for Endpoint for Mac exposes sensitive information to low-privileged local users due to a CWE-200 acc
Relative path traversal in Microsoft Defender for Endpoint allows an authorized attacker to perform spoofing locally. Ra
Improper access control in Microsoft Defender for Endpoint allows an authorized attacker to elevate privileges locally.
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB