Skip to main content

Microsoft Visio CVE-2025-59226

HIGH
Use After Free (CWE-416)
2025-10-14 secure@microsoft.com
7.8
CVSS 3.1 · Vendor: microsoft
View

Attack ChainAIDerived

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

  1. Access
    Deliver malicious Visio file via phishing
  2. Delivery
    User opens file in Office
  3. Exploit
    Trigger use-after-free in parser
  4. Execution
    Execute arbitrary code as current user
  5. Impact
    Compromise user context and data

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the victim to open an attacker-supplied, specially crafted Visio/Office document in a vulnerable build (UI:R), and the attack executes locally (AV:L) - there is no network-remote or auto-triggered path, so the attacker cannot reach the host without first delivering the file and inducing the user to open it. No authentication or elevated privileges are needed on the attacker's part (PR:N), and the resulting code runs with the privileges of the user who opened the file (S:U, no privilege escalation). The primary limiting factor is the mandatory user interaction; Protected View / Mark-of-the-Web sandboxing and blocking of files from untrusted sources further reduce realistic exploitability.

Impact

The CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, base 7.8) describes a local, low-complexity, unauthenticated-but-user-interaction-dependent flaw with high confidentiality, integrity and availability impact - the classic profile of a malicious-document code-execution bug where the 'local' vector means the victim must open an attacker-supplied Visio file rather than the attacker reaching the host over a network. Exploitation signals are modest and consistent: EPSS is 0.38% (30th percentile), there is no CISA KEV listing and no public exploit identified, so this is not evidence of active or imminent widespread exploitation. No SSVC decision data was provided in the input. The honest read is a genuinely dangerous memory-corruption bug (CWE-416 use-after-free) in a ubiquitous product that is a plausible phishing/targeted-attack payload, but one that currently ranks as routine patch-cycle priority rather than emergency - the low EPSS and absence of KEV/POC argue against drop-everything urgency. Note one data conflict to verify: the description names 'Microsoft Office Visio' as the affected product, yet the supplied CPE strings list Microsoft 365 Apps and Office Long Term Servicing Channel (2021/2024), not a Visio-specific CPE - confirm exact affected SKUs against the Microsoft MSRC advisory.

Exploit ScenarioDerived

An attacker crafts a malicious Visio document and delivers it via phishing email or a shared/downloaded file. When the victim opens the file in a vulnerable Office/Visio build, a use-after-free is triggered in the parser and the attacker's code runs in the context of the current user. No public exploit code has been identified at time of analysis, and successful exploitation hinges on the user actually opening the file (UI:R).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 18, 2026

Use-after-free in Microsoft Visio allows code execution at the privileges of the user who opens a specially crafted document, affecting Microsoft 365 Apps for Enterprise and Office LTSC 2021/2024 on Windows x86/x64. Exploitation requires user interaction (the victim must open the malicious file) and no authentication, while the attacker must first deliver the document locally; no public exploit was identified at time of analysis and EPSS is 0.38% (30th percentile).

RemediationAI

Apply the Microsoft security update for CVE-2025-59226 from the MSRC Security Update Guide (https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-59226); because the input does not provide an exact fixed build number, verify the patched build for each affected channel (Microsoft 365 Apps Enterprise, Office LTSC 2021, Office LTSC 2024) on that advisory. Until patched, reduce exposure by keeping Protected View enabled for files from the Internet and email attachments, enforcing Mark-of-the-Web, and blocking Visio documents from untrusted locations; these controls may interfere with legitimate macros or embedded objects. Where supported, enable Office Attack Surface Reduction rules that block Office applications from creating child processes and from injecting code into other processes, accepting possible compatibility impact on legitimate automation.

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

CWE-416 use-after-free in Microsoft Office Visio's document parsing/rendering path. A malformed Visio file causes memory to be freed and then referenced, leading to memory corruption that can be steered into arbitrary code execution in the context of the opening user. The CVSS vector AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H reflects a local attack surface: the crafted file is the vector, there is no network service exploitation, no privileges are required, and there is no scope change. CPE data identifies Microsoft 365 Apps for Enterprise (x86/x64), Office LTSC 2021 (x86/x64), and Office LTSC 2024 (x86/x64) on Windows. The memory corruption and denial-of-service tags align with the use-after-free class, though the CVSS impact is high confidentiality, integrity, and availability. Protected View, Mark-of-the-Web, and untrusted-file blocking are relevant mitigations because they can keep a malicious document out of the vulnerable parsing path.

Know when 365 Apps 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

Vendor (microsoft) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

File must be opened locally by the victim so AV:L and UI:R; no attacker privileges needed (PR:N); use-after-free yields full code execution in user context, so C:H/I:H/A:H, scope unchanged.

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

Primary rating from Vendor (microsoft).

CVSS VectorVendor: microsoft

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

DescriptionCVE.org

Use after free in Microsoft Office Visio allows an unauthorized attacker to execute code locally.

Executive ViewAI

Why It Matters

Microsoft Visio on Windows is affected by a high-severity code-execution flaw that could let a crafted document run code under the opening user's privileges across Microsoft 365 Apps for Enterprise and Office LTSC 2021/2024. The practical risk is concentrated among employees who open Visio diagrams from external or untrusted sources; a successful attack could compromise their endpoint and account-level access, creating data exposure and downstream lateral-movement risk. Leadership should care because remediation is not yet available and protection depends on user behavior and document-handling controls.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include blocking or quarantining untrusted Visio files, enforcing Protected View/Mark-of-the-Web and Office ASR rules, restricting Visio to trusted sources, disabling or tightly controlling macros and embedded objects, and monitoring for suspicious Visio-spawned processes.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Ubiquitous
Microsoft Office / 365 Apps deployed across a huge fraction of enterprise endpoints
Data Quality
3 sources
Confidence: Low

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 HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
High

Priority Score

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

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

cpe:2.3:a:microsoft:365_apps:-:*:*:*:enterprise:*:x64:*
cpe:2.3:a:microsoft:365_apps:-:*:*:*:enterprise:*:x86:*
cpe:2.3:a:microsoft:office_long_term_servicing_channel:2021:*:*:*:*:-:x64:*
cpe:2.3:a:microsoft:office_long_term_servicing_channel:2021:*:*:*:*:-:x86:*
cpe:2.3:a:microsoft:office_long_term_servicing_channel:2024:*:*:*:*:-:x64:*
cpe:2.3:a:microsoft:office_long_term_servicing_channel:2024:*:*:*:*:-:x86:*
CVE-2024-21413 CRITICAL POC
9.8 Feb 13

Microsoft Outlook Remote Code Execution Vulnerability. Rated critical severity (CVSS 9.8), this vulnerability is remotel

CVE-2021-42292 HIGH
7.8 Nov 10

Microsoft Excel Security Feature Bypass Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is no authenti

CVE-2023-35311 HIGH
8.8 Jul 11

Microsoft Outlook Security Feature Bypass Vulnerability. Rated high severity (CVSS 8.8), this vulnerability is remotely

CVE-2023-21715 HIGH
7.3 Feb 14

Microsoft Publisher Security Feature Bypass Vulnerability. Rated high severity (CVSS 7.3), this vulnerability is low att

CVE-2026-21509 HIGH POC
7.8 Jan 26

Microsoft Office contains a security feature bypass (CVE-2026-21509, CVSS 7.8) where reliance on untrusted inputs in sec

CVE-2026-21514 HIGH
7.8 Feb 10

Microsoft Office Word contains a security decision bypass (CVE-2026-21514, CVSS 7.8) through reliance on untrusted input

CVE-2021-38646 HIGH
7.8 Sep 15

Microsoft Office Access Connectivity Engine Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vu

CVE-2021-34478 HIGH
7.8 Aug 12

Microsoft Office Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is no authentic

CVE-2021-34501 HIGH
7.8 Jul 14

Microsoft Excel Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is no authentica

CVE-2026-124194 MEDIUM POC
6.5 Nov 10

Spoofing in Microsoft Outlook can be triggered when a user opens, previews, or otherwise acts on attacker-supplied conte

CVE-2024-38200 MEDIUM POC
6.5 Aug 12

Microsoft Office Spoofing Vulnerability. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, n

CVE-2025-47957 HIGH POC
8.4 Jun 10

Use-after-free vulnerability in Microsoft Office Word that allows local, unauthenticated attackers to execute arbitrary

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