Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft deeply nested object graph
-
DeliverySubmit to AutoMapper for conversion
-
ExploitTrigger recursive calls without depth limit
-
ExecutionExhaust thread stack memory
-
ImpactCause StackOverflowException and process crash
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
|
| Exploitation Conditions | Remote unauthenticated attacker sends specially crafted deeply nested object graph to AutoMapper versions <15.1.1 and <16.1.1 in .NET applications. Requires application to accept and map untrusted nested objects without depth limits configured. |
| Impact | The CVSS 7.5 score reflects a high-severity availability threat with network attack vector (AV:N), low complexity (AC:L), and no required privileges (PR:N) or user interaction (UI:N), making it trivially exploitable. Any application exposing AutoMapper to untrusted input—such as REST APIs accepting JSON payloads mapped to domain objects—can be crashed remotely. The attack is highly automatable and requires minimal sophistication, as deeply nested JSON structures are straightforward to craft. While no EPSS score or KEV listing is provided in the available data, the combination of network accessibility, zero authentication requirements, and process-terminating impact makes this a genuine priority for organizations using affected versions in production, particularly in public-facing services. The technical impact is limited to availability (no confidentiality or integrity compromise), but application crashes can cascade to service disruption, lost transactions, and potential secondary impacts if error handling is insufficient. |
| Exploit ScenarioDerived | An attacker identifies a public REST API endpoint that accepts JSON payloads and uses AutoMapper to convert request DTOs to domain models. The attacker crafts a malicious JSON payload with hundreds of nested objects (e.g., a recursive structure where each object contains a property pointing to another identical object structure). Upon submission, the API receives the payload, and AutoMapper begins recursive mapping, consuming stack frames until a StackOverflowException occurs, immediately terminating the application process and causing a complete service outage until manual restart. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 20, 2026
AutoMapper, a widely-used convention-based object-object mapper for .NET applications, contains a stack exhaustion vulnerability that allows remote attackers to crash applications via deeply nested object graphs. Versions prior to 15.1.1 and 16.1.1 are affected. An unauthenticated attacker can trigger a StackOverflowException by sending specially crafted nested objects, causing immediate application termination with high availability impact (CVSS 7.5).
RemediationAI
Immediately upgrade AutoMapper to version 15.1.1 or later for the 15.x branch, or version 16.1.1 or later for the 16.x branch. Both patched versions are available through the official NuGet package repository and GitHub releases at https://github.com/LuckyPennySoftware/AutoMapper/releases/tag/v15.1.1 and https://github.com/LuckyPennySoftware/AutoMapper/releases/tag/v16.1.1. The fix commit at https://github.com/LuckyPennySoftware/AutoMapper/commit/0afaf1e91648fca1a57512e94dd00a76ee016816 implements default maximum depth limits for recursive mapping operations. As a temporary workaround until patching, implement input validation to reject objects exceeding reasonable nesting depths (e.g., 10-20 levels), use .NET's MaxDepth JSON serialization settings to prevent deeply nested payloads from reaching AutoMapper, or isolate mapping operations in separate AppDomains or processes with monitoring to prevent full application crashes.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in nuget
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
AutoMapper is a .NET library that automates the mapping between different object models using convention-based configuration, commonly used in enterprise applications forDTO transformations and layered architectures. The vulnerability stems from CWE-674 (Uncontrolled Recursion), where the library's recursive mapping algorithm for nested object graphs lacks default depth limits. When processing deeply nested structures, each mapping operation adds a new frame to the call stack until stack memory is exhausted, resulting in an unrecoverable StackOverflowException that terminates the entire .NET process. This affects both major version branches: the 15.x line (all versions before 15.1.1) and the 16.x line (versions 16.0.0 through 16.1.0).
Know when Automapper 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:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub Advisory
AutoMapper is a convention-based object-object mapper in .NET. Versions prior to 15.1.1 and 16.1.1 are vulnerable to a Denial of Service (DoS) attack. When mapping deeply nested object graphs, the library uses recursive method calls without enforcing a default maximum depth limit. This allows an attacker to provide a specially crafted object graph that exhausts the thread's stack memory, triggering a StackOverflowException and causing the entire application process to terminate. Versions 15.1.1 and 16.1.1 fix the issue.
Executive ViewAI
AutoMapper versions before 15.1.1 and 16.1.1 contain a vulnerability that allows attackers to crash .NET applications through specially crafted nested objects, resulting in service unavailability. Any organization running affected versions faces immediate risk of denial-of-service attacks that could disrupt critical business operations without authentication required.
Until patches are available: Deploy WAF rules to detect and block requests with deeply nested JSON/object structures; implement aggressive rate limiting on API endpoints using AutoMapper; disable public-facing APIs that accept user-controlled nested objects where possible; place affected applications behind API gateways with payload size and nesting depth restrictions; monitor application logs for StackOverflowException events; prepare rollback procedures for rapid mitigation.
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
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-13505
GHSA-rvv3-g6hj-g44x
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB