Security Resilience

CVE-2025-21176

Memory Safety in Microsoft .Net 8.0.0 … 9.0.0

Published
14 January 2025
Modified
06 May 2025
Patch / advisory
CVSS Score v3.1 8.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Score 0.024 84th percentile
Risk Priority 68 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-21176 is a high-severity Buffer Over-read (CWE-126) vulnerability in Microsoft .Net. Its CVSS base score is 8.8 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Credential Access (T1212); ranked in the top 16% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SA-8 (Security and Privacy Engineering Principles) — 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-21176 is a remote code execution vulnerability affecting .NET, .NET Framework, and Visual Studio. It carries a CVSS 3.1 base score of 8.8 and is associated with CWE-126 along with an NVD-CWE-noinfo entry, indicating a high-severity flaw that can be triggered over a network connection.

An unauthenticated attacker can exploit the issue by convincing a user to interact with malicious content, such as opening a specially crafted file or visiting a hostile web page. Successful exploitation grants the attacker full confidentiality, integrity, and availability impact on the affected system without requiring prior authentication or elevated privileges.

Microsoft's security update guide for CVE-2025-21176 and related vendor advisories provide official remediation details and patch availability for supported versions of the affected components.

The associated EPSS score remains low at 0.0194 with no material increase from its peak value, indicating limited observed exploitation interest to date.

EU & UK References

Vulnerability Data

.NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
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.
T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1189 Drive-by Compromise Initial Access
Adversaries may gain access to a system through a user visiting a website over the normal course of browsing.
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.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-49088Same vendor: Microsoft
CVE-2025-49659Same vendor: Microsoft
CVE-2025-21277Same vendor: Microsoft
CVE-2025-26672Same vendor: Microsoft
CVE-2024-38127Same vendor: Microsoft
CVE-2025-47971Same vendor: Microsoft
CVE-2025-47973Same vendor: Microsoft
CVE-2025-49684Same vendor: Microsoft
CVE-2024-26176Same vendor: Microsoft
CVE-2024-30039Same vendor: Microsoft

Affected Assets

microsoft
.net
8.0.0, 9.0.0
microsoft
visual studio 2017
15.0 — 15.9.69
microsoft
.net framework
3.5, 4.6, 4.6.2, 4.7, 4.7.1

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation (static analysis, fuzzing, bounds checking tests) directly finds buffer over-read flaws.

Engineering principles such as memory-safe design and bounds-checked abstractions structurally stop introduction of out-of-bounds reads.

Process isolation limits the blast radius of an over-read to the compromised domain.

Input validation enforces length and index constraints that prevent many externally triggered over-reads.

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 development practices directly prevent introduction of buffer over-read weaknesses.

ID.RA-01 partial match
blocks

Vulnerability identification processes can discover buffer over-read flaws via scanning or review.

PR.PS-02 partial match
blocks

Patching or replacing vulnerable software removes known instances of buffer over-read bugs.

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 in development can detect buffer over-reads before release.

prevents

A.6.3's education and training component can equip developers with memory-safety knowledge that prevents some buffer over-reads, but the clause's primary mechanism is general awareness rather than deep secure-coding practice, and trained developers remain fallible on subtle memory-safety defects.

prevents

Secure coding standards directly require bounds-checked buffer access, mitigating over-reads.

finds

A.8.8's reach is disclosure-based (vulnerability scanning, vendor advisories, third-party library tracking), and CWE-126 commonly surfaces as CVEs (Heartbleed, etc.), so the disclosed share is found; the remainder — buffer over-reads in first-party code and in third-party components without published advisories — is outside A.8.8's reach, capping the rung at `partial`.

References