Summary
aws-smithy-json: Uncontrolled recursion in the aws-smithy-json unknown-key skip path allows unauthenticated remote denial of service in smithy-rs generated servers
Advisory details
Summary
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. An issue exists which allows uncontrolled recursion in the unknown-key skip path of the Amazon aws-smithy-json runtime crate in versions 0.62.6 and earlier.
Impact
Uncontrolled recursion in the unknown-key skip path of the aws-smithy-json runtime crate before 0.62.7, which the smithy-rs code generator invokes from every generated struct deserializer, might allow remote unauthenticated users to cause a denial of service (process abort via stack exhaustion) via a single small HTTP request containing deeply nested JSON to a smithy-rs generated server.
Impacted versions: aws-smithy-json <= 0.62.6
Patches
This issue has been addressed in aws-smithy-json version 0.62.7. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes.
Workarounds
There are no workarounds besides updating to the patched version.
References
If you have any questions or comments about this advisory, AWS asks that you contact [AWS/Amazon] Security via their vulnerability reporting page or directly via email to aws-security@amazon.com. Please do not create a public GitHub issue.
References
- https://github.com/advisories/GHSA-8ffr-xgwf-xj56
- https://github.com/smithy-lang/smithy-rs/security/advisories/GHSA-8ffr-xgwf-xj56
- https://nvd.nist.gov/vuln/detail/CVE-2026-18140
- https://github.com/smithy-lang/smithy-rs/pull/4685
- https://github.com/smithy-lang/smithy-rs/commit/8f0882046c467981ba5b4fd91a10befa96bd262f
- https://aws.amazon.com/security/security-bulletins/2026-067-aws
- https://crates.io/crates/aws-smithy-json/0.62.7
Related vulnerabilities
All Supply chain →- HIGHCVE-2026-100354
kin-openapi: Uncontrolled Recursion on Circular allOf/anyOf/oneOf Schemas Causes Fatal Process Crash
- HIGHCVE-2026-58280
Microsoft Security Advisory CVE-2026-58280 - .NET and Visual Studio Denial of Service Vulnerability
- HIGHCVE-2026-91968
Vikunja: Unbounded nested task-filter recursion permits API process termination
- MEDIUMCVE-2026-107833
Coraza: Unbounded recursion in JSON response body processor causes CPU exhaustion
- HIGHCVE-2026-107826
Coraza JSON body processor: argument-limit truncation reopens an unbounded-depth gjson.Valid stack overflow (process crash)
- HIGHCVE-2026-107300
msgpack5: Many buffered values can exhaust the streaming decoder stack