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 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Smithy‑RS generates HTTP clients and servers from Smithy interface definitions, and the deserializer functions for JSON, CBOR, and XML contain uncontrolled recursion. When a remote attacker sends a small request with a deeply nested recursive model shape, the deserializer can exhaust the process stack and cause the target application to abort. The failure results in a denial of service and does not require authentication.

Affected Systems

The AWS SDK for Rust (aws-sdk‑rust) is vulnerable in all releases prior to release‑2026‑06‑02. Any application that imports the vulnerable SDK can be impacted. Additionally, applications that use smithy‑rs code generation to build custom servers are affected if the code was generated from smithy‑rs releases older than release‑2026‑06‑01.

Risk and Exploitability

The stored CVSS score of 8.7 classifies the issue as high severity, and the EPSS score of less than 1 % indicates a low probability of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires a crafted request containing a recursive shape and can be performed over any reachable network interface; authentication is not required. The combination of remote attack vector, denial of service impact, and the lack of mitigations in the vulnerable code creates a high risk for exposed services.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

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

Generated by OpenCVE AI on October 23, 2026 at 00:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-770
Type Values Removed Values Added
Weaknesses CWE-674
Type Values Removed Values Added
First Time appeared Amazon
Amazon aws-sdk-rust
Vendors & Products Amazon
Amazon aws-sdk-rust
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
AMZN
Published
Updated
Oct 20, 2026, 6:11 PM
Reserved
Jul 16, 2026, 1:52 PM
Status
Awaiting Analysis
Published
Jul 21, 2026, 8:16 PM
Modified
Oct 24, 2026, 7:10 PM