7.5High

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

AWS aws-smithy-json Published: (3 months ago)

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.

Weakness (CWE): CWE-674

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
amazon aws-smithy-json < 0.62.7
AWS aws-smithy-json 0.32.0 – ≤ 0.62.6

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:amazon:aws-smithy-json:*:*:*:*:*:rust:*:* < 0.62.7