CVE-2024-21634: Ion Java StackOverflow vulnerability
Impact A potential denial-of-service issue exists in ion-java for applications that use ion-java to: Deserialize Ion text encoded data, or Deserialize Ion text or binary encoded data into the IonValue model and then invoke certain IonValue methods on that in-memory representation.
Published Jan 3, 2024 · Updated Nov 4, 2025
Affected packages
com.amazon.ion:ion-java
- Ecosystem
- Maven
- Affected
- < 1.10.5
- Fixed in
- 1.10.5
- Check
mvn dependency:tree -Dincludes=com.amazon.ion:ion-java
software.amazon.ion:ion-java
- Ecosystem
- Maven
- Affected
- < 1.10.5
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=software.amazon.ion:ion-java
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
A potential denial-of-service issue exists in ion-java for applications that use ion-java to:
- Deserialize Ion text encoded data, or
- Deserialize Ion text or binary encoded data into the
IonValuemodel and then invoke certainIonValuemethods on that in-memory representation.
An actor could craft Ion data that, when loaded by the affected application and/or processed using the IonValue model, results in a StackOverflowError originating from the ion-java library.
Impacted versions: <1.10.5
Patches
The patch is included in ion-java >= 1.10.5.
Workarounds
Do not load data which originated from an untrusted source or that could have been tampered with. Only load data you trust.
----
If you have any questions or comments about this advisory, we ask that you contact AWS/Amazon Security via our vulnerability reporting page [1] or directly via email to [[email protected]](mailto:[email protected]). Please do not create a public GitHub issue.
[1] https://aws.amazon.com/security/vulnerability-reporting
Credited to ebickle.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
