{
  "id": "CVE-2026-48511",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-48511",
  "published_at": "2026-06-22T21:14:54.127Z",
  "title": "MessagePack-CSharp: ExpandoObject formatter can perform quadratic insertion work on untrusted maps",
  "vendor": "MessagePack-CSharp",
  "product": "MessagePack-CSharp",
  "cvss": {
    "score": 7.5,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "MessagePack for C# is a MessagePack serializer for C#. Prior to 2.5.301 and 3.1.7, ExpandoObjectFormatter.Deserialize populates System.Dynamic.ExpandoObject by calling IDictionary\u003cstring, object\u003e.Add for each map entry. ExpandoObject internally maintains member names in array-like structures, so inserting many distinct keys can require repeated linear scans and array copies. For large attacker-controlled maps, this produces quadratic CPU and allocation behavior. The issue is especially surprising because ExpandoObjectResolver.Options is configured with MessagePackSecurity.UntrustedData, but collision-resistant dictionary comparers cannot protect ExpandoObject insertion internals. This vulnerability is fixed in 2.5.301 and 3.1.7.",
  "cwe": "CWE-407",
  "cpes": [
    "cpe:2.3:a:messagepack:messagepack:*:*:*:*:*:c\\#:*:*"
  ],
  "cvss_by_source": {
    "cna": 6.3,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "MessagePack-CSharp",
        "product": "MessagePack-CSharp",
        "ranges": [
          "\u003e= 3.0, \u003c 3.1.7",
          "\u003c 2.5.301"
        ],
        "fixed_in": [
          "3.1.7",
          "2.5.301"
        ]
      }
    ],
    "upgrade": [
      "Upgrade MessagePack-CSharp to 3.1.7 or 2.5.301 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-2x83-8g95-xh59"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
