Cyber Posture

CVE-2025-24998

High

Published: 11 March 2025

Published
11 March 2025
Modified
01 July 2025
KEV Added
Patch
CVSS Score 7.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
EPSS Score 0.0032 55.4th percentile
Risk Priority 15 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2025-24998 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 DLL (T1574.001); ranked in the top 44.6% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified are NIST 800-53 CM-6 (Configuration Settings) and SI-2 (Flaw Remediation).

Threat & Defense at a Glance

What attackers do: exploitation maps to DLL (T1574.001) and 1 other technique. What defenders deploy: see the NIST 800-53 controls recommended below.
Threat & Defense Details

Mitigating Controls (NIST 800-53 r5)AI

prevent

Directly remediates the uncontrolled search path vulnerability in Visual Studio by applying vendor patches, preventing local privilege escalation exploits.

prevent

Establishes secure configuration settings such as Safe DLL Search Mode to prioritize trusted directories over user-writable paths, mitigating the CWE-427 vulnerability in Visual Studio.

prevent

Enforces integrity verification of software components prior to execution, blocking malicious DLLs that exploit Visual Studio's uncontrolled search path for privilege escalation.

MITRE ATT&CK Enterprise TechniquesAI

T1574.001 DLL Stealth
Adversaries may abuse dynamic-link library files (DLLs) in order to achieve persistence, escalate privileges, and evade defenses.
T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
Why these techniques?

Uncontrolled search path element (CWE-427) in Visual Studio directly enables DLL side-loading via hijacked execution flow for local privilege escalation.

Confidence: HIGH · MITRE ATT&CK Enterprise v19.0

NVD Description

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

Deeper analysisAI

CVE-2025-24998 is an uncontrolled search path element vulnerability (CWE-427) in Visual Studio. Published on 2025-03-11T17:16:37.670, 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 a high-severity issue that enables local privilege escalation.

The vulnerability can be exploited by an authorized local attacker possessing low privileges. Exploitation requires user interaction and low attack complexity, allowing the attacker to achieve high impacts on confidentiality, integrity, and availability, ultimately resulting in privilege elevation on the affected system.

Mitigation guidance is available in the Microsoft Security Response Center advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-24998.

Details

CWE(s)

Affected Products

microsoft
visual studio 2017
15.0 — 15.9.71
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

CVEs Like This One

CVE-2025-21206Same product: Microsoft Visual Studio 2017
CVE-2025-25003Same product: Microsoft Visual Studio 2019
CVE-2025-21178Same product: Microsoft Visual Studio 2017
CVE-2025-49739Same product: Microsoft Visual Studio 2017
CVE-2025-24039Same vendor: Microsoft
CVE-2025-26631Same vendor: Microsoft
CVE-2025-21405Same product: Microsoft Visual Studio 2022
CVE-2026-32172Same vendor: Microsoft
CVE-2025-57836Same vendor: Microsoft
CVE-2024-55540Same vendor: Microsoft

References