Microsoft Visio
CVE-2025-59226
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver malicious Visio file via phishing
-
DeliveryUser opens file in Office
-
ExploitTrigger use-after-free in parser
-
ExecutionExecute arbitrary code as current user
-
ImpactCompromise 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). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (microsoft).
CVSS VectorVendor: microsoft
DescriptionCVE.org
Use after free in Microsoft Office Visio allows an unauthorized attacker to execute code locally.
Executive ViewAI
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.
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
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
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
Microsoft Outlook Remote Code Execution Vulnerability. Rated critical severity (CVSS 9.8), this vulnerability is remotel
Microsoft Excel Security Feature Bypass Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is no authenti
Microsoft Outlook Security Feature Bypass Vulnerability. Rated high severity (CVSS 8.8), this vulnerability is remotely
Microsoft Publisher Security Feature Bypass Vulnerability. Rated high severity (CVSS 7.3), this vulnerability is low att
Microsoft Office contains a security feature bypass (CVE-2026-21509, CVSS 7.8) where reliance on untrusted inputs in sec
Microsoft Office Word contains a security decision bypass (CVE-2026-21514, CVSS 7.8) through reliance on untrusted input
Microsoft Office Access Connectivity Engine Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vu
Microsoft Office Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is no authentic
Microsoft Excel Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is no authentica
Spoofing in Microsoft Outlook can be triggered when a user opens, previews, or otherwise acts on attacker-supplied conte
Microsoft Office Spoofing Vulnerability. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, n
Use-after-free vulnerability in Microsoft Office Word that allows local, unauthenticated attackers to execute arbitrary
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB