CVE-2026-15957
JSON

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 packageVersionsReported by
AWS aws-sdk-rustbefore release-2026-06-02CVE List

All scores

AMZN7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
AMZN8.7high CVSS:4.0CVSS: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

CWE-674

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

SourceRecordLicence
CVE ListCVE-2026-15957 changed 2026-10-20CVE Terms of Use
NVDCVE-2026-15957 changed 2026-10-24Public domain