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.
Published: 2026-07-30
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is an uncontrolled recursion in the unknown‑key skip path of the aws‑smithy‑json runtime crate used by smithy‑rs. A maliciously crafted JSON payload that contains deeply nested structures can trigger repeated recursion without termination, exhausting the stack and forcing the server to abort. The impact is a remote denial of service that can be performed without authentication, affecting any server built with smithy‑rs that uses a pre‑0.62.7 version of aws‑smithy‑json. The weakness is a classic uncontrolled recursion scenario, identified by CWE‑674.

Affected Systems

The flaw resides in the AWS aws‑smithy‑json crate, a core component of the smithy‑rs code generator. All servers that rely on smithy‑rs generated structs and invoke aws‑smithy‑json for deserialization before version 0.62.7 are affected. The product, when used in an HTTP server context, can be abused by any remote party. No specific operating system or deployment environment is mentioned, so the vulnerability applies to all environments that include this crate.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity. The EPSS score is < 1%, indicating a very low but non‑zero exploitation probability. The vulnerability is publicly known and not listed in the CISA KEV catalog, suggesting it is not yet widely exploited. The likely attack vector is remote, unauthenticated, and requires sending a single deeply nested JSON request over HTTP to a smithy‑rs generated server. If the server processes the payload, the unchecked recursion will exhaust the stack, causing an abort and disabling the service until restarted. Given the unchecked recursion, the likelihood of successful exploitation is high for affected deployments that use an unpatched version.

Generated by OpenCVE AI on August 3, 2026 at 10:33 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to aws‑smithy‑json 0.62.7 or later and rebuild the server.
  • Deploy the updated server promptly to ensure continuity.
  • Implement a maximum JSON depth check to reject overly nested payloads as a temporary safeguard.
  • Monitor logs for stack overflows or abrupt process terminations to detect exploitation attempts.

Generated by OpenCVE AI on August 3, 2026 at 10:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 30 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 30 Jul 2026 19:00:00 +0000

Type Values Removed Values Added
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.
Title Uncontrolled recursion in the aws-smithy-json unknown-key skip path allows unauthenticated remote denial of service in smithy-rs generated servers
First Time appeared Aws
Aws aws-smithy-json
Weaknesses CWE-674
CPEs cpe:2.3:a:aws:aws-smithy-json:*:*:*:*:*:*:*:*
Vendors & Products Aws
Aws aws-smithy-json
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.7, 'vector': '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'}


Subscriptions

Amazon Aws-smithy-json
Aws Aws-smithy-json
cve-icon MITRE

Status: PUBLISHED

Assigner: AMZN

Published:

Updated: 2026-07-30T19:12:50.560Z

Reserved: 2026-07-28T18:30:40.451Z

Link: CVE-2026-18140

cve-icon Vulnrichment

Updated: 2026-07-30T19:12:45.317Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-30T19:17:26.457

Modified: 2026-08-10T20:04:05.790

Link: CVE-2026-18140

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T10:45:03Z

Weaknesses