CVE-2026-128082
AutoMapper is a convention-based object-object mapper in .NET.
- Severity: High
- CVSS 7.5
- EPSS 0.67%
- Public exploit
- P2 · This week
Why P2: this week.
Description
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.
Affected products
- nuget AutoMapper < 15.1.4; first patched: 15.1.4
- nuget AutoMapper >= 16.0.0, < 16.3.0; first patched: 16.3.0
Weakness
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- NVD record NVD
- CVE Program record CVE Program
- Reference NVD
- Reference NVD
- Reference NVD
- Reference NVD
- Reference NVD
- GitHub security advisory GitHub