What’s Vulnerable › Vulnerabilities

CVE-2026-18140: Uncontrolled recursion in the aws-smithy-json unknown-key skip path allows unauthenticated remote denial of service in smithy-rs generated servers

Description

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. To remediate this issue, users should upgrade to aws-smithy-json 0.62.7 or later and rebuild.

Affected products

How to fix

Upgrade to a fixed version: aws-smithy-json 0.62.7. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-18140 or the next vulnerability affects your stack