CVE-2026-32933: CWE-674: Uncontrolled Recursion in LuckyPennySoftware AutoMapper
CVE-2026-32933 is a high-severity vulnerability in LuckyPennySoftware's AutoMapper library for . NET, affecting versions prior to 15. 1. 1 and between 16. 0. 0 and 16. 1. 1. The flaw arises from uncontrolled recursion when mapping deeply nested object graphs, leading to stack exhaustion and a StackOverflowException that crashes the application process. This vulnerability enables unauthenticated remote attackers to cause a denial of service without requiring user interaction.
AI Analysis
Technical Summary
AutoMapper is a widely used .NET library that facilitates convention-based object-to-object mapping, simplifying data transformations between different object models. CVE-2026-32933 identifies a vulnerability classified under CWE-674 (Uncontrolled Recursion) affecting AutoMapper versions prior to 15.1.1 and between 16.0.0 and 16.1.1. The root cause is the library's recursive approach to mapping deeply nested object graphs without enforcing a maximum recursion depth limit. An attacker can craft a maliciously deep or cyclic object graph that causes the recursive mapping method to exhaust the thread's stack memory, triggering a StackOverflowException. This exception is unhandled within the library, causing the entire application process to terminate abruptly, resulting in a denial of service (DoS). The vulnerability requires no authentication or user interaction and can be triggered remotely if the application accepts attacker-controlled input for mapping. The CVSS v3.1 base score is 7.5 (high), reflecting network attack vector, low attack complexity, no privileges or user interaction required, and impact limited to availability. The issue has been addressed in AutoMapper versions 15.1.1 and 16.1.1 by implementing safeguards such as maximum recursion depth limits or cycle detection to prevent stack exhaustion. No public exploits have been reported yet, but the vulnerability poses a significant risk to applications relying on vulnerable AutoMapper versions for object mapping.
Potential Impact
The primary impact of CVE-2026-32933 is denial of service, where an attacker can cause a targeted .NET application using vulnerable AutoMapper versions to crash by supplying specially crafted deeply nested object graphs. This can disrupt business operations, degrade service availability, and potentially cause cascading failures in dependent systems. Applications exposed to untrusted input that undergo object mapping are at greatest risk. The vulnerability does not directly compromise confidentiality or integrity but can be leveraged to cause downtime, impacting customer trust and operational continuity. Organizations with critical .NET applications using AutoMapper in web services, APIs, or backend processing pipelines are particularly vulnerable. The ease of exploitation without authentication or user interaction increases the threat level. Although no known exploits are currently in the wild, the vulnerability's characteristics make it a likely target for attackers aiming to disrupt services or conduct denial-of-service attacks at scale.
Mitigation Recommendations
1. Upgrade AutoMapper to version 15.1.1 or 16.1.1 or later, where the vulnerability is fixed. 2. Implement input validation and sanitization to limit the depth and complexity of object graphs accepted from untrusted sources before mapping. 3. Introduce application-level safeguards such as recursion depth limits or cycle detection when performing object mapping if upgrading is not immediately feasible. 4. Employ runtime monitoring and alerting for StackOverflowException or unexpected application crashes to detect potential exploitation attempts. 5. Use application firewalls or API gateways to restrict or inspect incoming data payloads for anomalous nested structures. 6. Conduct code reviews and static analysis to identify other recursive functions that may lack depth limits. 7. Maintain an inventory of applications using AutoMapper and prioritize patching based on exposure and criticality. 8. Educate developers about safe usage patterns of object mappers and the risks of uncontrolled recursion.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, France, Japan, India, Brazil, Netherlands
CVE-2026-32933: CWE-674: Uncontrolled Recursion in LuckyPennySoftware AutoMapper
Description
CVE-2026-32933 is a high-severity vulnerability in LuckyPennySoftware's AutoMapper library for . NET, affecting versions prior to 15. 1. 1 and between 16. 0. 0 and 16. 1. 1. The flaw arises from uncontrolled recursion when mapping deeply nested object graphs, leading to stack exhaustion and a StackOverflowException that crashes the application process. This vulnerability enables unauthenticated remote attackers to cause a denial of service without requiring user interaction.
AI-Powered Analysis
Technical Analysis
AutoMapper is a widely used .NET library that facilitates convention-based object-to-object mapping, simplifying data transformations between different object models. CVE-2026-32933 identifies a vulnerability classified under CWE-674 (Uncontrolled Recursion) affecting AutoMapper versions prior to 15.1.1 and between 16.0.0 and 16.1.1. The root cause is the library's recursive approach to mapping deeply nested object graphs without enforcing a maximum recursion depth limit. An attacker can craft a maliciously deep or cyclic object graph that causes the recursive mapping method to exhaust the thread's stack memory, triggering a StackOverflowException. This exception is unhandled within the library, causing the entire application process to terminate abruptly, resulting in a denial of service (DoS). The vulnerability requires no authentication or user interaction and can be triggered remotely if the application accepts attacker-controlled input for mapping. The CVSS v3.1 base score is 7.5 (high), reflecting network attack vector, low attack complexity, no privileges or user interaction required, and impact limited to availability. The issue has been addressed in AutoMapper versions 15.1.1 and 16.1.1 by implementing safeguards such as maximum recursion depth limits or cycle detection to prevent stack exhaustion. No public exploits have been reported yet, but the vulnerability poses a significant risk to applications relying on vulnerable AutoMapper versions for object mapping.
Potential Impact
The primary impact of CVE-2026-32933 is denial of service, where an attacker can cause a targeted .NET application using vulnerable AutoMapper versions to crash by supplying specially crafted deeply nested object graphs. This can disrupt business operations, degrade service availability, and potentially cause cascading failures in dependent systems. Applications exposed to untrusted input that undergo object mapping are at greatest risk. The vulnerability does not directly compromise confidentiality or integrity but can be leveraged to cause downtime, impacting customer trust and operational continuity. Organizations with critical .NET applications using AutoMapper in web services, APIs, or backend processing pipelines are particularly vulnerable. The ease of exploitation without authentication or user interaction increases the threat level. Although no known exploits are currently in the wild, the vulnerability's characteristics make it a likely target for attackers aiming to disrupt services or conduct denial-of-service attacks at scale.
Mitigation Recommendations
1. Upgrade AutoMapper to version 15.1.1 or 16.1.1 or later, where the vulnerability is fixed. 2. Implement input validation and sanitization to limit the depth and complexity of object graphs accepted from untrusted sources before mapping. 3. Introduce application-level safeguards such as recursion depth limits or cycle detection when performing object mapping if upgrading is not immediately feasible. 4. Employ runtime monitoring and alerting for StackOverflowException or unexpected application crashes to detect potential exploitation attempts. 5. Use application firewalls or API gateways to restrict or inspect incoming data payloads for anomalous nested structures. 6. Conduct code reviews and static analysis to identify other recursive functions that may lack depth limits. 7. Maintain an inventory of applications using AutoMapper and prioritize patching based on exposure and criticality. 8. Educate developers about safe usage patterns of object mappers and the risks of uncontrolled recursion.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-17T00:05:53.282Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69bcbde5e32a4fbe5f2545b6
Added to database: 3/20/2026, 3:24:21 AM
Last enriched: 3/20/2026, 3:39:38 AM
Last updated: 3/20/2026, 4:32:09 AM
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.