8.7high
Uncontrolled recursion in smithy-rs generated JSON, CBOR, and XML deserializers allows unauthenticated remote denial of service via recursive shapes
- Severity
- 8.7high CVSS:4.0 by AMZN
- Exploit likelihood
- 0.41% (higher than 37% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- AMZN
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| AWS aws-sdk-rust | before release-2026-06-02 | CVE List |
All scores
| AMZN | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| AMZN | 8.7high CVSS:4.0 | 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 |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Smithy-RS es un framework de generación de código y tiempo de ejecución de Rust que genera clientes y servidores HTTP a partir de definiciones de interfaz de Smithy, impulsando el SDK de AWS para Rust e implementaciones de servicios personalizados. La recursión incontrolada en las funciones deserializadoras de JSON, CBOR y XML emitidas por la generación de código de Amazon smithy-rs podría permitir a atacantes remotos causar una denegación de servicio (aborto de proceso por agotamiento de la pila) a través de una pequeña solicitud que contenga datos profundamente anidados para una forma de modelo recursivo a un SDK o servidor generado. Para mitigar este problema, los usuarios deberían actualizar a aws-sdk-rust release-2026-06-02 o posterior. Los usuarios que construyen servidores personalizados con smithy-rs codegen deberían regenerar a partir de smithy-rs release-2026-06-01 o posterior.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-15957 changed 2026-10-20 | CVE Terms of Use |
| NVD | CVE-2026-15957 changed 2026-10-24 | Public domain |