Vulnerability · Published Mar 20, 2026 · Assigned by GitHub_M

CVE-2026-32933AutoMapper Vulnerable to Denial of Service (DoS) via Uncontrolled Recursion

High 7.5

In plain English

A high-severity security flaw in AutoMapper from LuckyPennySoftware. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.6%top 52.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

AutoMapper is a convention-based object-object mapper in .NET. Versions prior to 15.1.1 and 16.1.1 are vulnerable to a Denial of Service (DoS) attack. When mapping deeply nested object graphs, the library uses recursive method calls without enforcing a default maximum depth limit. This allows an attacker to provide a specially crafted object graph that exhausts the thread's stack memory, triggering a `StackOverflowException` and causing the entire application process to terminate. Versions 15.1.1 and 16.1.1 fix the issue.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
NuGetautomapper16.1.1GHSA-rvv3-g6hj-g44x
NuGetautomapper15.1.1GHSA-rvv3-g6hj-g44x

Affected products (as reported)

VendorProductVersions
LuckyPennySoftware AutoMapper >= 16.0.0, < 16.1.1< 15.1.1

Weakness: CWE-674 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References