CVE-2026-128082
High 7.5No known exploitationFix availableAutoMapper: Uncontrolled Recursion with Constructor Parameters
Vendor advisory: GHSA-6vhm-j9h7-f9gh
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 53% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-674
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| LuckyPennySoftware | AutoMapper | < 15.1.4 | Not documented | CVE Program |
| LuckyPennySoftware | AutoMapper | >= 16.0.0, < 16.3.0 | Not documented | CVE Program |
| nuget | AutoMapper | from 16.0.0 before 16.3.0 | 16.3.0 | GitHub Advisory Database |
| nuget | AutoMapper | all versions before 15.1.4 | 15.1.4 | GitHub Advisory Database |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- https://github.com/LuckyPennySoftware/AutoMapper/commit/4d51a4b8125b4d2302f2f1f455747c9648ad1acb (opens in a new tab)x_refsource_misc
- https://github.com/LuckyPennySoftware/AutoMapper/commit/639c2748cb9d3d07df8b86879ba7bcf211675c86 (opens in a new tab)x_refsource_misc
- https://github.com/LuckyPennySoftware/AutoMapper/releases/tag/v15.1.4 (opens in a new tab)x_refsource_misc
- https://github.com/LuckyPennySoftware/AutoMapper/releases/tag/v16.3.0 (opens in a new tab)x_refsource_misc
- https://github.com/LuckyPennySoftware/AutoMapper/security/advisories/GHSA-6vhm-j9h7-f9gh (opens in a new tab)x_refsource_confirm
- GitHub Advisory GHSA-6vhm-j9h7-f9gh (opens in a new tab)github-advisory