CVE-2026-128082
Received Received - Intake

StackOverflowException in AutoMapper due to Uncontrolled Recursion

Vulnerability report for CVE-2026-128082, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-13

Last updated on: 2026-11-13

Assigner: GitHub, Inc.

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-13
Last Modified
2026-11-13
Generated
2026-11-13
AI Q&A
2026-11-13
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
automapper auto_mapper to 15.1.4 (inc)
automapper auto_mapper From 16.0.0 (inc) to 16.3.0 (exc)
automapper auto_mapper to 16.3.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-674 The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

AutoMapper is a .NET library that maps objects to other objects. This vulnerability occurs because AutoMapper increments type depth after creating the destination object. This allows recursive mappings through constructors to bypass MaxDepth limits, potentially causing a StackOverflowException from deep input.

Detection Guidance

This vulnerability can be detected by checking the AutoMapper version in use. If your application uses AutoMapper versions between 16.0.0 and 16.3.0 or prior to 15.1.4, it is vulnerable. Review dependency files like package.json or project files for AutoMapper versions.

Impact Analysis

An attacker could exploit this to send deeply nested input, causing the application to crash with an uncatchable StackOverflowException. This could lead to denial of service, terminating the process and disrupting service availability.

Mitigation Strategies

Upgrade AutoMapper to version 15.1.4 or 16.3.0 or later immediately. If upgrading is not possible, review mappings that use constructors or recursive ConstructUsing to ensure MaxDepth limits are enforced.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-128082. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...