Skip to content
High 7.5

AutoMapperにコンストラクターを経由した再帰処理の脆弱性、プロセスが停止するおそれ

CVE-2026-128082 First seen on SecPulse

Summary

AutoMapperでは、コンストラクターのパラメーターを経由して再帰的にマッピングする場合、MaxDepthの上限が効かず、深くネストしたデータを処理するとStackOverflowExceptionでプロセスが停止するおそれがあります。影響を受けるのはNuGet版の15.1.4より前のバージョンで、15.1.4に修正版が公開されています。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

AutoMapperでは、コンストラクターのパラメーターを経由して再帰的にマッピングする場合、MaxDepthの上限が効かず、深くネストしたデータを処理するとStackOverflowExceptionでプロセスが停止するおそれがあります。影響を受けるのはNuGet版の15.1.4より前のバージョンで、15.1.4に修正版が公開されています。

Affected packages

PackageAffected → Fixed
LuckyPennySoftwareAutoMapper —
nugetAutoMapper
< 15.1.4→ 15.1.4
Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details