Shellfeed logo Shellfeed

CVE-2026-128082 · HIGH (CVSS 7.5)

Summary: AutoMapper: Uncontrolled Recursion with Constructor Parameters

EPSS: 0.7% probability of exploitation in the next 30 days (percentile 52.3).

Details

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.

Severity

HIGH (CVSS 7.5) — vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

  • NuGet AutoMapper [16.0.0 – 16.3.0]
  • NuGet AutoMapper [0 – 15.1.4]
  • GIT github.com/luckypennysoftware/automapper [8ef7df2bf8835e2ccd54338c2c5226a8c91ec628 – 9c31182a3eb99d5191ccc71ee90105846830917f] [0 – c73acdd92eb1b57a4a152ed678bea68321aac895]

References

Posts about CVE-2026-128082