BACK TO THE WIRE
SW-000229AMAZON WEB SERVICES · AMAZON ION PYTHON · ION READERMEDIUMACTION REQUIRED

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

  1. 01
    HIGHAUTOMATABLE

    Upgrade Amazon Ion Python to version 0.15.0 or later in all affected applications and dependency manifests.

  2. 02
    MEDIUM

    Audit any forked or derivative copies of Amazon Ion Python and apply the fix for CVE-2026-104020.

  3. 03
    MEDIUMAUTOMATABLE

    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

HUMAN VERIFIEDLAST VERIFIED OCT 14, 2026 16:44 UTCREVISION 2

ShiftWire summarizes and analyzes changes from the cited sources. Always review the primary source before implementing material changes.

WAS THIS USEFUL?