Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. AutoMapper
  4. ›
  5. GHSA-rvv3-g6hj-g44x

GHSA-rvv3-g6hj-g44x: AutoMapper Vulnerable to Denial of Service (DoS) via Uncontrolled Recursion

March 13, 2026 (updated March 16, 2026)

AutoMapper is 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.

References

  • github.com/LuckyPennySoftware/AutoMapper
  • github.com/LuckyPennySoftware/AutoMapper/commit/0afaf1e91648fca1a57512e94dd00a76ee016816
  • github.com/LuckyPennySoftware/AutoMapper/releases/tag/v15.1.1
  • github.com/LuckyPennySoftware/AutoMapper/releases/tag/v16.1.1
  • github.com/LuckyPennySoftware/AutoMapper/security/advisories/GHSA-rvv3-g6hj-g44x
  • github.com/advisories/GHSA-rvv3-g6hj-g44x

Code Behaviors & Features

Detect and mitigate GHSA-rvv3-g6hj-g44x with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 15.1.1, all versions starting from 16.0.0 before 16.1.1

Fixed versions

  • 16.1.1
  • 15.1.1

Solution

Upgrade to versions 15.1.1, 16.1.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-674: Uncontrolled Recursion

Source file

nuget/AutoMapper/GHSA-rvv3-g6hj-g44x.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:58 +0000.