cve.bz

CVE-2026-128082 AutoMapper: Uncontrolled Recursion with Constructor Parameters

7.5 highFix available

High (7.5) in luckypennysoftware automapper. Fixed in AutoMapper 15.1.4, 16.3.0.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-11-13. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-674 Uncontrolled Recursion
Published
Modified
Assigned by
GitHub_M (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-128082 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-128082?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-128082?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-128082 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-128082

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-128082](https://cve.bz/cve/badge/CVE-2026-128082.svg)](https://cve.bz/cve/CVE-2026-128082)

HTML:

<a href="https://cve.bz/cve/CVE-2026-128082"><img src="https://cve.bz/cve/badge/CVE-2026-128082.svg" alt="CVE-2026-128082"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
LuckyPennySoftware AutoMapper>= 16.0.0, < 16.3.0
LuckyPennySoftware AutoMapper< 15.1.4

Fix and patched versions

  • AutoMapper (NuGet): fixed in 16.3.0, 15.1.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-6vhm-j9h7-f9ghNuGetAutoMapper>=16.0.0 <16.3.016.3.0
GHSA-6vhm-j9h7-f9ghNuGetAutoMapper<15.1.415.1.4

Attack patterns (CAPEC)

  • CAPEC-230 Serialized Data with Nested Payloads Likelihood: Medium · Severity: High
  • CAPEC-231 Oversized Serialized Data Payloads Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON