Skip to main content

Defender for Endpoint CVE-2025-59497

MEDIUM
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
2025-10-14 secure@microsoft.com
4.7
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local authenticated shell
  2. Delivery
    Identify Defender check-then-use operation
  3. Exploit
    Win TOCTOU race window
  4. Execution
    Crash or hang Defender agent
  5. Impact
    Local 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

NVD PRIMARY 4.7 MEDIUM
AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 4.7 MEDIUM

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).

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Medium
widely-used enterprise EDR, but Linux agent is a smaller deployment subset
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Affected Products (CPE)NVD

cpe:2.3:a:microsoft:defender_for_endpoint:*:*:*:*:*:linux:*:*
CVE-2026-21537 HIGH
8.8 Feb 10

Microsoft Defender for Endpoint on Linux contains a code injection vulnerability that enables adjacent network attackers

CVE-2024-49057 HIGH
8.1 Dec 12

Microsoft Defender for Endpoint on Android Spoofing Vulnerability. Rated high severity (CVSS 8.1), this vulnerability is

CVE-2024-21315 HIGH
7.8 Feb 13

Microsoft Defender for Endpoint Protection Elevation of Privilege Vulnerability. Rated high severity (CVSS 7.8), this vu

CVE-2022-35828 HIGH
7.8 Sep 13

Microsoft Defender for Endpoint for Mac Elevation of Privilege Vulnerability. Rated high severity (CVSS 7.8), this vulne

CVE-2026-45647 HIGH
7.0 Jun 09

Local privilege escalation in Microsoft Defender for Endpoint for Mac (versions 101.0.0 through 101.26042.0010) allows a

CVE-2025-26684 MEDIUM
6.7 May 13

External control of file name or path in Microsoft Defender for Endpoint allows an authorized attacker to elevate privil

CVE-2024-49071 MEDIUM
6.5 Dec 12

Improper authorization of an index that contains sensitive information from a Global Files search in Windows Defender al

CVE-2022-33637 MEDIUM
6.5 Jul 12

Microsoft Defender for Endpoint Tampering Vulnerability. Rated medium severity (CVSS 6.5), this vulnerability is remotel

CVE-2022-23278 MEDIUM
5.9 Mar 09

Microsoft Defender for Endpoint Spoofing Vulnerability. Rated medium severity (CVSS 5.9), this vulnerability is remotely

CVE-2026-54123 MEDIUM
5.5 Aug 11

Microsoft Defender for Endpoint for Mac exposes sensitive information to low-privileged local users due to a CWE-200 acc

CVE-2024-43614 MEDIUM
5.5 Oct 08

Relative path traversal in Microsoft Defender for Endpoint allows an authorized attacker to perform spoofing locally. Ra

CVE-2025-47161 HIGH POC
7.8 May 15

Improper access control in Microsoft Defender for Endpoint allows an authorized attacker to elevate privileges locally.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy