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

- Severity: High 8.7 (CVSS:4.0, scored by AMZN) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.33%, higher than 71% of CVEs (2026-11-30)
- Published: 2025-04-21T15:13:51.905Z
- Modified: 2026-06-17T09:20:48.927Z
- Also known as: GHSA-gm2p-wf5c-w3pj
- Weaknesses: CWE-502, CWE-835
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: AMZN

## 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.

(As written by CVE List.)

## Affected

- Amazon Amazon Ion Dotnet: before 1.3.1
- Amazon.IonDotnet (NuGet): before 1.3.1

## Every score

- AMZN: CVSS:4.0 8.7 High `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`
- AMZN: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `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`

## References

- <https://aws.amazon.com/security/security-bulletins/AWS-2025-009/> (vendor-advisory)
- <https://github.com/amazon-ion/ion-dotnet/security/advisories/GHSA-gm2p-wf5c-w3pj> (third-party-advisory, web)
- <https://github.com/amazon-ion/ion-dotnet/releases/tag/v1.3.1> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-3857> (advisory)
- <https://github.com/amazon-ion/ion-dotnet/commit/34a4f5215eceac1bb7bf434c4f2310d64d1b703b> (web)
- <https://aws.amazon.com/security/security-bulletins/AWS-2025-009> (web)
- <https://github.com/amazon-ion/ion-dotnet> (package)

## Sources

- CVE List: [CVE-2025-3857](https://www.cve.org/CVERecord?id=CVE-2025-3857), CVE Terms of Use, modified 2025-10-14
- GitHub Advisory Database: [GHSA-gm2p-wf5c-w3pj](https://github.com/advisories/GHSA-gm2p-wf5c-w3pj), CC-BY-4.0, modified 2025-10-14
- NVD: [CVE-2025-3857](https://nvd.nist.gov/vuln/detail/CVE-2025-3857), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-3857 · Whole record: https://cve.day/CVE-2025-3857.json · Rebuilt by cve.day 2026-11-25T22:58:56.810Z
