What’s Vulnerable › Vulnerabilities

CVE-2026-32933: AutoMapper Vulnerable to Denial of Service (DoS) via Uncontrolled Recursion

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 products

How to fix

Upgrade to a fixed version: LuckyPennySoftware AutoMapper 15.1.1, 16.1.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-32933 or the next vulnerability affects your stack