CVE-2026-18140 Details
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.
A denial-of-service vulnerability has been identified in the AWS Smithy JSON runtime crate, affecting versions through 0.62.6. The issue arises from uncontrolled recursion in the unknown-key skip path, which can be triggered by deeply nested JSON in a small HTTP request. This recursion exhausts the stack, causing the process to abort. The vulnerability can be exploited by remote, unauthenticated users on servers generated by the Smithy-RS code generator.
Users should upgrade to AWS Smithy JSON version 0.62.7 or later and rebuild. For those using forked or derivative code, ensure it is patched to incorporate the latest fixes.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 30, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://aws.amazon.com/security/security-bulletins/2026-067-aws/ | AMZN | Vendor Advisory |
| https://crates.io/crates/aws-smithy-json/0.62.7 | AMZN | Product |
| https://github.com/smithy-lang/smithy-rs/security/advisories/GHSA-8ffr-xgwf-xj56 | AMZN | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-674 | Uncontrolled Recursion | AMZN |
Affected Products
| Product | Versions |
|---|---|
| amazon aws-smithy-json | < 0.62.7 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 23, 2026 | CVE Translated | [email protected] |
| Aug 10, 2026 | Initial Analysis | [email protected] |
| Jul 30, 2026 | CVE Modified | CISA-ADP |
| Jul 30, 2026 | New CVE Received | AMZN |