CVE-2026-128082

GHSA-6vhm-j9h7-f9gh · published 13 Nov 2026 · updated 13 Nov 2026

AutoMapper: Uncontrolled Recursion with Constructor Parameters

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in AutoMapper 15.1.4 and AutoMapper 16.3.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LuckyPennySoftware<15.1.4, >=16.0.0 <16.3.0
nuget: AutoMapper<15.1.4, >=16.0.0 <16.3.015.1.4, 16.3.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in AutoMapper (NuGet), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-128082 severity on Zeptric[![CVE-2026-128082](https://zeptric.io/badge/cve/CVE-2026-128082.svg)](https://zeptric.io/cve/CVE-2026-128082)