Cyber Resilience

CVE-2025-25003

Microsoft Visual Studio 2022 17.8.0 – 17.8.19

Published
11 March 2025
Modified
01 July 2025
Patch / advisory
CVSS Score v3.1 7.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
EPSS Score 0.0045 37th percentile
Risk Priority 55 floored blend · peak EPSS

Summary

CVE-2025-25003 is a high-severity Uncontrolled Search Path Element (CWE-427) vulnerability in Microsoft Visual Studio 2022. Its CVSS base score is 7.3 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Path Interception (T1034); ranked at the 37th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to CM-6 (Configuration Settings) and AC-3 (Access Enforcement) — 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-25003 is an uncontrolled search path element vulnerability (CWE-427) in Visual Studio. Published on 2025-03-11T17:16:38.043, it carries a CVSS v3.1 base score of 7.3 (AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H), indicating high potential impact from local exploitation.

A local attacker with low privileges (PR:L) can exploit this vulnerability with low attack complexity (AC:L), provided they induce user interaction (UI:R). Successful exploitation enables privilege escalation, resulting in high impacts to confidentiality, integrity, and availability (C:H/I:H/A:H) within the local scope (S:U).

The Microsoft Security Response Center advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-25003 details mitigation strategies and available patches for addressing this issue.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

Uncontrolled search path element in Visual Studio allows an authorized attacker to elevate privileges locally.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1034 Path Interception Persistence
**This technique has been deprecated.
T1574.007 Path Interception by PATH Environment Variable Stealth
Adversaries may execute their own malicious payloads by hijacking environment variables used to load libraries.
T1574.008 Path Interception by Search Order Hijacking Stealth
Adversaries may execute their own malicious payloads by hijacking the search order used to load other programs.
T1574 Hijack Execution Flow Stealth
Adversaries may execute their own malicious payloads by hijacking the way operating systems run programs.
T1574.001 DLL Stealth
Adversaries may abuse dynamic-link library files (DLLs) in order to achieve persistence, escalate privileges, and evade defenses.
T1574.004 Dylib Hijacking Stealth
Adversaries may execute their own payloads by placing a malicious dynamic library (dylib) with an expected name in a path a victim application searches at runtime.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-24998Same product: Microsoft Visual Studio 2019
CVE-2025-21206Same product: Microsoft Visual Studio 2019
CVE-2025-29802Same product: Microsoft Visual Studio 2022
CVE-2025-29803Same vendor: Microsoft
CVE-2024-30052Same product: Microsoft Visual Studio 2019
CVE-2026-32172Same vendor: Microsoft
CVE-2025-29817Same vendor: Microsoft
CVE-2023-36042Same product: Microsoft Visual Studio 2019
CVE-2023-28263Same product: Microsoft Visual Studio 2019
CVE-2025-26631Same vendor: Microsoft

Affected Assets

microsoft
visual studio 2019
16.0 — 16.11.45
microsoft
visual studio 2022
17.8.0 — 17.8.19 · 17.10.0 — 17.10.12 · 17.12.0 — 17.12.6

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 2 hardening rules · 1 OS baseline
Validate
Prove the fix (OWASP ASVS)

Mitigating Controls (NIST 800-53 r5) AI

Establishes restrictive configuration settings that can define and lock down approved search paths.

Enforces approved authorizations so that only intended actors can place or modify elements in the search path.

Limits privileges so unintended actors cannot write to or control directories in the product's search path.

Restricts logical and physical access to change system configuration, including search-path settings and directories.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure-development practices directly address design of search paths and resource loading.

PR.PS-01 partial match
prevents

Hardened configuration baselines can enforce safe search-path settings and reduce exposure.

PR.PS-05 partial match
prevents

Execution allow-listing can block malicious binaries placed in hijackable search locations.

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

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing can detect uncontrolled search-path issues but does not prevent them by itself.

mitigates

Restricting software installation reduces the chance that an attacker-controlled path element is introduced into the search path.

mitigates

Secure system architecture and engineering principles require explicit control over search paths and resource locations.

prevents

Secure coding practices directly address the use of fixed or controlled search paths that can be influenced by unintended actors.

prevents

Configuration management can enforce approved search-path settings but does not inherently prevent the weakness.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over `controls_xwalks` (authoritative rows only; rows rated `none` are excluded).

Oracle Linux 8 (1 rule)
  • V-248577 OL 8 must enable kernel parameters to enforce Discretionary Access Control (DAC) on symlinks. prevents CWE-427

References