{"schemaVersion":3,"id":"CVE-2025-3857","aliases":["GHSA-gm2p-wf5c-w3pj"],"status":"published","duplicateOf":null,"title":null,"description":"When reading binary Ion data through Amazon.IonDotnet using the RawBinaryReader class, Amazon.IonDotnet does not check the number of bytes read from the underlying stream while deserializing the binary format. If the Ion data is malformed or truncated, this triggers an infinite loop condition that could potentially result in a denial of service. Users should upgrade to Amazon.IonDotnet version 1.3.1 and ensure any forked or derivative code is patched to incorporate the new fixes.","dates":{"published":"2025-04-21T15:13:51.905Z","modified":"2025-10-14T18:18:25.003Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.7,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Nuget","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Nuget","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00611,"percentile":0.48293,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00611},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00586,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00611,"percentile":0.48293}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00611,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00611,"percentile":0.48293}]},"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-502","name":"Deserialization of Untrusted Data","description":"The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/502.html"},{"id":"CWE-835","name":"Loop with Unreachable Exit Condition ('Infinite Loop')","description":"The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/835.html"}],"affected":[{"vendor":"amazon","product":"amazon ion dotnet","name":"Amazon Ion Dotnet","label":"amazon ion dotnet","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.3.1","eol":null,"hubHref":"/vendor/amazon/amazon_ion_dotnet"},{"vendor":"NuGet","product":"Amazon.IonDotnet","name":"Amazon.IonDotnet","label":"Amazon.IonDotnet","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/Amazon.IonDotnet","purlType":"nuget","versions":[{"text":"< 1.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.3.1","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://aws.amazon.com/security/security-bulletins/AWS-2025-009/","label":"aws.amazon.com/security/security-bulletins/AWS-2025-009/","hostname":"aws.amazon.com","tags":["Vendor Advisory"]},{"url":"https://github.com/amazon-ion/ion-dotnet/security/advisories/GHSA-gm2p-wf5c-w3pj","label":"github.com/amazon-ion/ion-dotnet/security/advisories/GHSA-gm2p-wf5c-w3pj","hostname":"github.com","tags":["Third Party Advisory","WEB"]},{"url":"https://github.com/amazon-ion/ion-dotnet/releases/tag/v1.3.1","label":"github.com/amazon-ion/ion-dotnet/releases/tag/v1.3.1","hostname":"github.com","tags":["Patch","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-3857","label":"nvd.nist.gov/vuln/detail/CVE-2025-3857","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/amazon-ion/ion-dotnet/commit/34a4f5215eceac1bb7bf434c4f2310d64d1b703b","label":"github.com/amazon-ion/ion-dotnet/commit/34a4f5215eceac1bb7bf434c4f2310d64d1b703b","hostname":"github.com","tags":["WEB"]},{"url":"https://aws.amazon.com/security/security-bulletins/AWS-2025-009","label":"aws.amazon.com/security/security-bulletins/AWS-2025-009","hostname":"aws.amazon.com","tags":["WEB"]},{"url":"https://github.com/amazon-ion/ion-dotnet","label":"github.com/amazon-ion/ion-dotnet","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-04-21T15:13:51.905Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-10-14T18:18:25.003Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T11:52:38.046Z","stale":false,"partial":false}}