{
  "id": "CVE-2026-48516",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-48516",
  "published_at": "2026-06-22T21:09:51.787Z",
  "title": "MessagePack-CSharp: InterfaceLookupFormatter bypasses collision-resistant comparer settings",
  "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, InterfaceLookupFormatter\u003cTKey,TElement\u003e constructs an internal Dictionary\u003cTKey, IGrouping\u003cTKey,TElement\u003e\u003e with the default equality comparer instead of the security-aware comparer supplied by options.Security.GetEqualityComparer\u003cTKey\u003e(). This formatter omission allows hash-collision CPU denial of service against ILookup\u003cTKey,TElement\u003e even when the application has opted into the untrusted-data security posture 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-q2h6-ghwm-5qm8"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
