Download Latest Version v17.0.0 source code.zip (2.0 MB)
Home / v16.3.0
Name Modified Size InfoDownloads / Week
Parent folder
AutoMapper.16.3.0.nupkg 2026-11-05 746.3 kB
AutoMapper.16.3.0.snupkg 2026-11-05 294.1 kB
manifest.spdx.json 2026-11-05 47.4 kB
manifest.spdx.json.sha256 2026-11-05 64 Bytes
README.md 2026-11-05 4.9 kB
v16.3.0 source code.tar.gz 2026-11-05 1.7 MB
v16.3.0 source code.zip 2026-11-05 2.0 MB
Totals: 7 Items   4.7 MB 0

Security

This release fixes two denial-of-service vulnerabilities. In both, deeply nested input could bypass MaxDepth and exhaust the stack. The resulting StackOverflowException can't be caught, so it ends the process. Please upgrade if your application maps untrusted, deeply nested data.

  • GHSA-6vhm-j9h7-f9gh: MaxDepth wasn't enforced when mapping through constructor parameters, including positional records. Thanks to @mcambria for the report.
  • GHSA-gpwp-5797-mjff: other recursion paths bypassed MaxDepth: derived maps, object and interface members, dictionary and dynamic sources, and recursive type converters.

CVE IDs have been requested and will be added here once they're assigned.

Behavior changes

  • Recursion that MaxDepth can't limit now throws a catchable InsufficientExecutionStackException instead of crashing the process.
  • Derived maps (Include / IncludeBase) now inherit MaxDepth and get the default limit of 64 for self-referential maps. If your polymorphic graphs legitimately go deeper, set MaxDepth explicitly.
  • Constructor mapping now stops at the same depth as property mapping.
  • Condition on ForAllMembers, or any condition whose member parameter is object or a base type, now receives the source member value instead of the value converted to the destination type, when those types differ. This matches the documented contract. A null in a nullable source member is now seen as null rather than 0 or false (#4655).

Other highlights

New Contributors

Full Changelog: https://github.com/LuckyPennySoftware/AutoMapper/compare/v16.2.0...v16.3.0

Source: README.md, updated 2026-11-05