Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
7.5

CVE-2026-128082: AutoMapper can cause application crash via deep recursion

CVE-2026-128082 · published 13 days ago
Summary

The AutoMapper library used in .NET applications can be tricked into creating an endless chain of objects when it maps data that references itself. This can bypass the built‑in safety limit and cause the program to run out of stack space, crashing with a StackOverflow error. Update AutoMapper to version 15.1.4 or later (or 16.3.0 or later) to resolve the issue.

What to do
  • Update jimmy bogard automapper to version 16.3.0.
  • Update jimmy bogard automapper to version 15.1.4.
  • Update automapper to version 16.3.0.
  • Update automapper to version 15.1.4.
Affected software
Ecosystem VendorProductAffected versions
nuget jimmy bogard automapper >= 16.0.0, < 16.3.0
< 15.1.4
Fix: upgrade to 16.3.0
– luckypennysoftware automapper >= 16.0.0, < 16.3.0
nuget – automapper >= 16.0.0, < 16.3.0
< 15.1.4
Fix: upgrade to 16.3.0
Original advisory text
AutoMapper: Uncontrolled Recursion with Constructor Parameters
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.
Fix within
Internet-facing 14 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically
  • Gives an attacker partial control
Severity
7.5 High
Exploitation
<1% chance of attack within 30 days
Type
CWE-674Uncontrolled Recursion
Timeline
Published13 Nov 2026
Updated26 Nov 2026
First seen13 Nov 2026
Sources
CVE-2026-128082 · MITRE
Track software like this
Free during beta