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

- Severity: High 8.7 (CVSS:4.0, scored by AMZN) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2026-07-21T19:33:55.409Z
- Modified: 2026-10-24T19:10:00.127Z
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- AWS aws-sdk-rust: before release-2026-06-02

## Every score

- AMZN: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- AMZN: CVSS:4.0 8.7 High `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`

## References

- <https://github.com/awslabs/aws-sdk-rust/releases/tag/release-2026-06-02> (patch, release-notes)
- <https://aws.amazon.com/security/security-bulletins/2026-061-aws/> (vendor-advisory)
- <https://github.com/smithy-lang/smithy-rs/security/advisories/GHSA-4f2p-7j38-4xrg> (release-notes)

## Sources

- CVE List: [CVE-2026-15957](https://www.cve.org/CVERecord?id=CVE-2026-15957), CVE Terms of Use, modified 2026-10-20
- NVD: [CVE-2026-15957](https://nvd.nist.gov/vuln/detail/CVE-2026-15957), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-15957 · Whole record: https://cve.day/CVE-2026-15957.json · Rebuilt by cve.day 2026-11-25T22:59:29.388Z
