CVE-2026-18140
HIGH 8.7CVSS 4.0aws-smithy-json: Uncontrolled recursion in the aws-smithy-json unknown-key skip path allows unauthenticated remote denial of service in smithy-rs generated servers
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
- 30 Jul 2026
- Last modified
- 23 Oct 2026
- Assigned by
- ff89ba41-3aa1-4d27-914a-91399e9639e5
- NVD status
- Analyzed
- Weakness
- CWE-674
- Also known as
- GHSA-8ffr-xgwf-xj56
- Sources
- NVDJSONOSV GHSA-8ffr-xgwf-xj56JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | ff89ba41-3aa1-4d27-914a-91399e9639e5 (Secondary) | CVSS 4.0 | HIGH 8.7 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | ff89ba41-3aa1-4d27-914a-91399e9639e5 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | amazon | aws-smithy-jsoncpe:2.3:a:amazon:aws-smithy-json:*:*:*:*:*:rust:*:* |
< 0.62.7 | 0.62.7 |
| OSV | crates.io | aws-smithy-json | < 0.62.7 | 0.62.7 |
References
- https://aws.amazon.com/security/security-bulletins/2026-067-aws/ · Vendor Advisory, WEB
- https://crates.io/crates/aws-smithy-json/0.62.7 · Product, WEB
- https://github.com/smithy-lang/smithy-rs/security/advisories/GHSA-8ffr-xgwf-xj56 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-18140 · ADVISORY
- https://github.com/smithy-lang/smithy-rs/pull/4685 · WEB
- https://github.com/smithy-lang/smithy-rs/commit/8f0882046c467981ba5b4fd91a10befa96bd262f · WEB
- https://github.com/smithy-lang/smithy-rs · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 30 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 Oct 2026)