CVE-2026-128082
AutoMapper is a convention-based object-object mapper in .NET. …
AutoMapper is a convention-based object-object mapper in .NET. Prior to 15.1.4 and from 16.0.0 until 16.3.0, AutoMapper increments type depth only after creating the destination, so recursive mapping performed through constructor parameters occurs before MaxDepth is counted. Destinations built through positional records or other constructors, and recursive ConstructUsing mappings that call context.Mapper, can therefore bypass explicit MaxDepth values and the default limit of 64. Deep attacker-influenced input can throw an uncatchable StackOverflowException and terminate the process. This issue is fixed in versions 15.1.4 and 16.3.0.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/LuckyPennySoftware/AutoMapper/commit/4d51a4b8125b4d2302f2f1f455747c9648ad1acb
- github.com/LuckyPennySoftware/AutoMapper/commit/639c2748cb9d3d07df8b86879ba7bcf211675c86
- github.com/LuckyPennySoftware/AutoMapper/releases/tag/v15.1.4
- github.com/LuckyPennySoftware/AutoMapper/releases/tag/v16.3.0
- github.com/LuckyPennySoftware/AutoMapper/security/advisories/GHSA-6vhm-j9h7-f9gh
- github.com/advisories/GHSA-6vhm-j9h7-f9gh
- nvd.nist.gov/vuln/detail/CVE-2026-128082
- cve.org/CVERecord?id=CVE-2026-128082
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.