Description
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.
Published: 2026-07-21
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Uncontrolled recursion in Smithy‑RS generated JSON, CBOR, and XML deserializers can cause a remote attacker to trigger a denial of service by sending a small request with deeply nested data for a recursive model shape. The recursion leads to stack exhaustion and process termination. This weakness is categorized as Resource Exhaustion (CWE‑770) and presents a high‑severity vulnerability.

Affected Systems

The vulnerability affects the AWS SDK for Rust (aws-sdk-rust). No specific SDK version range is listed, but the issue originates from code generated by Smithy‑RS. Custom server implementations that use Smithy‑RS code generation are also impacted.

Risk and Exploitability

The CVSS score is 8.7, indicating a serious impact. The EPSS score is below 1 %, suggesting a low probability of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires a crafted request containing recursive shapes and does not need authentication, so the attack vector inferred is remote over the network. The risk is high due to the denial of service potential, but the limited exploitation conditions and low EPSS moderate overall threat urgency.

Generated by OpenCVE AI on July 30, 2026 at 16:38 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade aws-sdk-rust to release‑2026‑06‑02 or later
  • If using custom servers, regenerate code with smithy‑rs release‑2026‑06‑01 or later
  • Re‑build or redeploy any affected clients or servers after applying the updates

Generated by OpenCVE AI on July 30, 2026 at 16:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 23 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Amazon
Amazon aws-sdk-rust
Vendors & Products Amazon
Amazon aws-sdk-rust

Wed, 22 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 21 Jul 2026 19:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Uncontrolled recursion in smithy-rs generated JSON, CBOR, and XML deserializers allows unauthenticated remote denial of service via recursive shapes
First Time appeared Aws
Aws aws-sdk-rust
Weaknesses CWE-770
CPEs cpe:2.3:a:aws:aws-sdk-rust:*:*:*:*:*:*:*:*
Vendors & Products Aws
Aws aws-sdk-rust
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.7, 'vector': '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'}


Subscriptions

Amazon Aws-sdk-rust
Aws Aws-sdk-rust
cve-icon MITRE

Status: PUBLISHED

Assigner: AMZN

Published:

Updated: 2026-07-22T18:25:58.751Z

Reserved: 2026-07-16T13:52:17.532Z

Link: CVE-2026-15957

cve-icon Vulnrichment

Updated: 2026-07-22T18:15:43.264Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T16:45:04Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling