Vulnerability · Published Mar 20, 2026 · Assigned by GitHub_M
CVE-2026-32933AutoMapper Vulnerable to Denial of Service (DoS) via Uncontrolled Recursion
High 7.5
In plain English
A high-severity security flaw in AutoMapper from LuckyPennySoftware. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| NuGet | automapper | 16.1.1 | GHSA-rvv3-g6hj-g44x |
| NuGet | automapper | 15.1.1 | GHSA-rvv3-g6hj-g44x |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| LuckyPennySoftware | AutoMapper | >= 16.0.0, < 16.1.1< 15.1.1 |
Weakness: CWE-674 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/LuckyPennySoftware/AutoMapper/security/advisories/GHSA-rvv3-g6hj-g44x x_refsource_CONFIRM
- https://github.com/LuckyPennySoftware/AutoMapper/commit/0afaf1e91648fca1a57512e94dd00a76ee016816 x_refsource_MISC
- https://github.com/LuckyPennySoftware/AutoMapper/releases/tag/v15.1.1 x_refsource_MISC
- https://github.com/LuckyPennySoftware/AutoMapper/releases/tag/v16.1.1 x_refsource_MISC