CVE-2026-104020: Uncontrolled recursion DoS in Amazon Ion Python before 0.15.0
Amazon disclosed CVE-2026-104020, a denial-of-service vulnerability in the Ion reader of Amazon Ion Python versions before 0.15.0. A crafted, deeply nested Ion value can cause the application to raise an error or crash. The issue is fixed in version 0.15.0.
DEVOPS · DATA · VULNERABILITY · SECURITY ADVISORY
PUBLISHED OCT 14, 2026 16:44 UTC
WHAT CHANGED
The Ion reader in Amazon Ion Python (versions < 0.15.0) is vulnerable to uncontrolled recursion when parsing a crafted, deeply nested Ion value, which can cause the application to raise an error or crash, resulting in denial of service. The fix is included in Amazon Ion Python 0.15.0. A workaround is also documented: disable ion-python's C extension (simpleion.c_ext = False) and explicitly handle RecursionError raised from within the simpleion module.
WHY IT MATTERS
Any application using Amazon Ion Python to parse untrusted Ion data could be crashed or disrupted by a maliciously crafted deeply nested value, leading to service disruption. Administrators should upgrade affected deployments and check for forked or derivative code that may also need patching.
WHO IS AFFECTED
- PRODUCTS
- Amazon Ion Python
- FEATURES
- Ion reader (simpleion module)
- CONFIGURATIONS
- Versions earlier than 0.15.0
WHAT TO DO
- 01HIGHAUTOMATABLE
Upgrade Amazon Ion Python to version 0.15.0 or later in all affected applications and dependency manifests.
- 02MEDIUM
Audit any forked or derivative copies of Amazon Ion Python and apply the fix for CVE-2026-104020.
- 03MEDIUMAUTOMATABLE
If immediate upgrade is not possible, disable ion-python's C extension by setting simpleion.c_ext = False and add explicit handling for RecursionError raised from the simpleion module.
TIMELINE
- ANNOUNCED
- OCT 1, 2026
SOURCES
- PRIMARY SOURCEAMAZON WEB SERVICES, INC.
CVE-2026-104020 - Uncontrolled recursion in the Ion reader in Amazon Ion Python
PUBLISHED OCT 1, 2026VIEW SOURCE
VERIFICATION
ShiftWire summarizes and analyzes changes from the cited sources. Always review the primary source before implementing material changes.