AutoMapper: Uncontrolled Recursion with Constructor Parameters
Affected
| Package | Affected versions | Fixed in |
|---|---|---|
| nuget:AutoMapper | >= 16.0.0, < 16.3.0 | 16.3.0 |
| nuget:AutoMapper | < 15.1.4 | 15.1.4 |
MaxDepth, whether set explicitly or applied by default (64) to self-referential type maps, was not enforced when the recursion goes through constructor parameters. Mapping a deeply nested source to a destination built through its constructor, such as a positional record, recurses without bound and throws a StackOverflowException. That exception can't be caught and terminates the process. This bypasses the mitigation for CVE-2026-32933. Details The type depth used by MaxDepth was incremented onl…
Read on GitHub Advisory Database
On 11/14/2026, 04:21 AM, GitHub Advisory Database published "AutoMapper: Uncontrolled Recursion with Constructor Parameters" (type: Advisory). Severity is "High" (high). Related technologies: .NET / C#. CVE: CVE-2026-128082.