# CVE-2025-3857: Infinite loop condition in Amazon.IonDotnet

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.7 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 1.3.1 (CNA); fix release not confirmed
- Status: published
- Published: 2025-04-21 · Modified: 2025-10-14
- Aliases: GHSA-gm2p-wf5c-w3pj
- Record: https://cvemate.com/vulnerability/CVE-2025-3857 · JSON: https://cvemate.com/vulnerability/CVE-2025-3857/json

## Description

```text
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.
```

## Signals

- CVSS: 8.7 high (v4.0, CVE.org) 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
- EPSS: 0.634%, percentile 51.838%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- amazon amazon ion dotnet: \< 1.3.1
- NuGet Amazon.IonDotnet (NuGet): \< 1.3.1

## References

- <https://aws.amazon.com/security/security-bulletins/AWS-2025-009/>
- <https://github.com/amazon-ion/ion-dotnet/security/advisories/GHSA-gm2p-wf5c-w3pj>
- <https://github.com/amazon-ion/ion-dotnet/releases/tag/v1.3.1>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-3857>
- <https://github.com/amazon-ion/ion-dotnet/commit/34a4f5215eceac1bb7bf434c4f2310d64d1b703b>
- <https://aws.amazon.com/security/security-bulletins/AWS-2025-009>
- <https://github.com/amazon-ion/ion-dotnet>

---

Data as of 2026-12-05T06:33:04.991Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
