CVE-2026-15957: Uncontrolled recursion in smithy-rs generated JSON, CBOR, and XML deserializers allows unauthenticated remote denial of service via recursive shapes

Published Jul 21, 2026
·
Updated

Smithy-RS is a Rust code generation and runtime framework that generates HTTP clients and servers from Smithy interface definitions, powering the AWS SDK for Rust and custom service implementations.

Uncontrolled recursion in the JSON, CBOR, and XML deserializer functions emitted by Amazon smithy-rs code generation could allow remote attackers to cause a denial of service (process abort via stack exhaustion) via a small request containing deeply nested data for a recursive model shape to a generated SDK or server.

To mitigate this issue, users should upgrade to aws-sdk-rust release-2026-06-02 or later. Users building custom servers with smithy-rs codegen should regenerate from smithy-rs release-2026-06-01 or later.

Affected Software

3 affected components
Amazon smithy-rs (code generation and runtime framework)<release-2026-06-02
Amazon aws-sdk-rust<release-2026-06-02
Amazon smithy-rs codegen (regeneration required)<release-2026-06-01

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade aws-sdk-rust to a version that resolves this vulnerability.

    Fixed in release-2026-06-02
  2. Upgrade

    Upgrade smithy-rs codegen to a version that resolves this vulnerability.

    Fixed in release-2026-06-01

Event History

Jul 21, 2026
CVE Published
via MITRE·07:33 PM
Data Sourced
via MITRE·07:33 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-15957?

The severity of CVE-2026-15957 is rated high with a score of 7.5.

2

How do I fix CVE-2026-15957?

To fix CVE-2026-15957, regenerate your code using the latest version of the Amazon smithy-rs framework.

3

What is CVE-2026-15957?

CVE-2026-15957 is a vulnerability that allows unauthenticated remote denial of service due to uncontrolled recursion in deserializer functions.

4

What software is affected by CVE-2026-15957?

CVE-2026-15957 affects the Amazon smithy-rs framework and the Amazon aws-sdk-rust implementation.

5

Can CVE-2026-15957 be exploited remotely?

Yes, CVE-2026-15957 can be exploited remotely due to its nature of allowing unauthenticated denial of service.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203