Security Resilience

CVE-2025-21402

Microsoft Office 2024

Published
14 January 2025
Modified
19 May 2026
Patch / advisory
CVSS Score v3.1 7.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Score 0.0068 53th percentile
Risk Priority 58 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-21402 is a high-severity Improper Restriction of Names for Files and Other Resources (CWE-641) vulnerability in Microsoft Office. Its CVSS base score is 7.8 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique PubPrn (T1216.001); ranked in the top 47% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2025-21402 is a Remote Code Execution vulnerability in Microsoft Office OneNote. Published on January 14, 2025, it carries a CVSS v3.1 base score of 7.8 (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) and is associated with CWE-641 and NVD-CWE-noinfo.

The vulnerability requires local access (AV:L), low attack complexity (AC:L), no privileges (PR:N), and user interaction (UI:R), such as opening a malicious file. An attacker who can convince a user to interact with a specially crafted OneNote document can achieve remote code execution, resulting in high impacts to confidentiality, integrity, and availability (C:H/I:H/A:H) within the affected scope (S:U).

Microsoft's advisory on the MSRC Update Guide at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-21402 provides details on mitigation, including available patches and security updates for affected OneNote versions.

EU & UK References

Vulnerability Data

Microsoft Office OneNote Remote Code Execution Vulnerability

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1216.001 PubPrn Stealth
Adversaries may use PubPrn to proxy execution of malicious remote files.
T1221 Template Injection Stealth
Adversaries may create or modify references in user document templates to conceal malicious code or force authentication attempts.
T1187 Forced Authentication Credential Access
Adversaries may gather credential material by invoking or forcing a user to automatically provide authentication information through a mechanism in which they can intercept.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-47173Same product: Microsoft Office
CVE-2025-21361Same product: Microsoft Office
CVE-2025-47953Same product: Microsoft Office
CVE-2026-85864Same vendor: Microsoft
CVE-2026-25177Same vendor: Microsoft
CVE-2024-30063Same vendor: Microsoft
CVE-2026-50510Same vendor: Microsoft
CVE-2024-49059Same product: Microsoft Office
CVE-2023-33148Same product: Microsoft Office
CVE-2024-30104Same product: Microsoft Office

Affected Assets

microsoft
office
2024
microsoft
office long term servicing channel
2021
microsoft
onenote
all versions

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

SI-10 requires validation of inputs used to construct resource names, directly stopping malformed or dangerous names from being accepted.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require input validation and sanitization to restrict resource names derived from untrusted data.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect improper filename handling but does not itself prevent the weakness.

prevents

Training developers about secure file/resource name handling and input validation reduces instances of this code-level defect, but the practice is fallible and the weakness requires careful implementation discipline that training alone does not guarantee, matching the A.6.3 -> CWE-598 anchor's `partial` rung for developer-introduced weaknesses.

prevents

Secure coding standards explicitly require validation and sanitization of filenames derived from external input.

prevents

A.8.30 carries its effect through the secure-design, coding and testing practices its contract requires of the supplier (8.25–8.29), which would reduce instances of CWE-641 in delivered code the way those practices do, but the clause depends on the supplier's implementation and human practice is fallible, leaving a nameable remainder.

References