{"schemaVersion":3,"id":"CVE-2026-48509","aliases":["GHSA-2f33-pr97-265q"],"status":"published","duplicateOf":null,"title":null,"description":"MessagePack for C# is a MessagePack serializer for C#. Prior to 2.5.301 and 3.1.7, the parameterless MessagePackInputFormatter() constructor uses default serializer options, which resolve to MessagePackSerializerOptions.Standard with MessagePackSecurity.TrustedData. The formatter is designed for ASP.NET Core MVC request bodies, which commonly cross an HTTP trust boundary. This insecure default can expose applications to denial-of-service attacks that MessagePackSecurity.UntrustedData is intended to mitigate, such as hash-collision attacks against dictionary-like model properties. This vulnerability is fixed in 2.5.301 and 3.1.7.","dates":{"published":"2026-06-22T21:16:50.034Z","modified":"2026-06-25T15:02:55.701Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.1,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Nuget","score":6.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00416,"percentile":0.34563,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00416},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00416,"percentile":0.34563}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00416,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00416,"percentile":0.34563}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-1188","name":"Initialization of a Resource with an Insecure Default","description":"The product initializes or sets a resource with a default that is intended to be changed by the product's installer, administrator, or maintainer, but the default is not secure.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/1188.html"}],"affected":[{"vendor":"messagepack-csharp","product":"messagepack-csharp","name":"MessagePack-CSharp","label":"messagepack-csharp","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.0, < 3.1.7","noFixRecorded":false,"fixedIn":null},{"text":"< 2.5.301","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.0, < 3.1.7 | < 2.5.301","eol":null,"hubHref":"/vendor/messagepack-csharp/messagepack-csharp"},{"vendor":"messagepack","product":"messagepack","name":"messagepack","label":"messagepack","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.5.301","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.3, < 3.1.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.5.301 | ≥ 3.0.3, < 3.1.7","eol":null,"hubHref":"/vendor/messagepack/messagepack"},{"vendor":"NuGet","product":"MessagePack","name":"MessagePack","label":"MessagePack","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/MessagePack","purlType":"nuget","versions":[{"text":"< 2.5.301","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0, < 3.1.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.5.301 | ≥ 3.0, < 3.1.7","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-2f33-pr97-265q","label":"github.com/MessagePack-CSharp/MessagePack-CSharp/security/advisories/GHSA-2f33-pr97-265q","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Mitigation","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48509","label":"nvd.nist.gov/vuln/detail/CVE-2026-48509","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/MessagePack-CSharp/MessagePack-CSharp","label":"github.com/MessagePack-CSharp/MessagePack-CSharp","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-06-22T21:16:50.034Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-25T15:02:55.701Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T03:40:21.386Z","stale":false,"partial":false}}