Skip to main content

aws-smithy-json CVE-2026-18140

| EUVDEUVD-2026-51271 HIGH
Uncontrolled Recursion (CWE-674)
2026-07-30 AMZN
8.7
CVSS 4.0 · Vendor: AMZN
Share

Severity by source

Vendor (AMZN) PRIMARY
8.7 HIGH
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
vuln.today AI
7.5 HIGH

Remote unauthenticated JSON parsing with no interaction gives AV:N/AC:L/PR:N/UI:N; a stack-exhaustion abort is availability-only, so C:N/I:N/A:H with scope unchanged.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat
7.5 HIGH
qualitative

Primary rating from Vendor (AMZN).

CVSS VectorVendor: AMZN

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

5
Analysis Updated
Jul 30, 2026 - 19:29 vuln.today
v2 (cvss_changed)
Re-analysis Queued
Jul 30, 2026 - 19:22 vuln.today
cvss_changed
CVSS changed
Jul 30, 2026 - 19:22 NVD
7.5 (HIGH) 8.7 (HIGH)
Analysis Generated
Jul 30, 2026 - 19:20 vuln.today
CVE Published
Jul 30, 2026 - 18:34 cve.org
HIGH 7.5

DescriptionCVE.org

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.

AnalysisAI

Denial of service in the aws-smithy-json Rust runtime crate (versions before 0.62.7) lets remote unauthenticated attackers abort a process via stack exhaustion. Because the smithy-rs code generator wires this crate's deserializer into every generated struct, any smithy-rs generated server that parses JSON is exposed, and a single small HTTP request carrying deeply nested JSON triggers uncontrolled recursion in the unknown-key skip path. No public exploit was identified at time of analysis and the flaw is not in CISA KEV, but the trigger is trivial and a vendor patch is available.

Technical ContextAI

The affected component is aws-smithy-json, part of the smithy-rs runtime that underpins AWS's Smithy-generated Rust clients and servers (CPE cpe:2.3:a:aws:aws-smithy-json). Smithy is AWS's interface definition language; its Rust code generator emits per-shape deserializers that delegate JSON token handling to this crate. The root cause is CWE-674 (Uncontrolled Recursion): when the parser encounters an object key it does not recognize, its skip-value routine recurses through nested structures without a depth limit. Deeply nested JSON therefore drives native stack growth until the Rust runtime hits its stack guard and aborts the process, rather than returning a bounded parse error.

RemediationAI

Vendor-released patch: aws-smithy-json 0.62.7. Upgrade the crate to 0.62.7 or later (published at https://crates.io/crates/aws-smithy-json/0.62.7) by running cargo update -p aws-smithy-json, confirming the resolved version in Cargo.lock, then rebuilding and redeploying - because this is a compiled dependency, updating the lockfile without a rebuild does not remediate. Review the AWS bulletin (https://aws.amazon.com/security/security-bulletins/2026-067-aws/) and the GHSA advisory (https://github.com/smithy-lang/smithy-rs/security/advisories/GHSA-8ffr-xgwf-xj56). Where an immediate rebuild is impossible, front smithy-rs generated servers with a reverse proxy or API gateway and reject requests whose JSON exceeds a modest nesting depth; the trade-off is that legitimately deep valid payloads may be dropped, and a byte-size cap alone is weak because the exploit payload is small, so prefer an explicit depth limit. Process supervision with automatic restart shortens the outage from any successful abort but does not prevent it.

More in AWS

View all
CVE-2026-27702 CRITICAL POC
9.9 Feb 25

Unauthorized data access in Budibase low-code platform before 3.30.4 allows unauthenticated users to manipulate internal

CVE-2020-37153 CRITICAL POC
9.8 Feb 11

Multiple vulnerabilities in ASTPP 4.0.1 including XSS and command injection in SIP device configuration and plugin manag

CVE-2026-87911 CRITICAL POC
9.0 Sep 09

Remote code execution in Amazon awslabs postgres-mcp-server before 1.1.7 lets remote actors run arbitrary OS commands on

CVE-2026-11393 HIGH POC
8.8 Jun 08

Remote code execution in AWS AgentCore CLI before v0.14.2 allows authenticated attackers to inject Python code via craft

CVE-2026-16756 HIGH POC
8.7 Jul 23

Denial of service in Amazon's aws-smithy-http-server Rust crate (versions prior to 0.66.5) lets remote unauthenticated a

CVE-2026-16796 HIGH POC
8.4 Jul 23

Argument injection in the AWS Bedrock AgentCore Python SDK before 1.18.1 lets a remote authenticated user run arbitrary

CVE-2026-9133 HIGH POC
8.3 May 20

Arbitrary file read in amazon-mq rabbitmq-aws before 0.2.1 allows authenticated remote users to read any file accessible

CVE-2026-13763 HIGH POC
7.9 Jun 29

WAF managed-rule body inspection on AWS Application Load Balancer (ALB) can be bypassed by remote actors who fragment an

CVE-2026-13762 HIGH POC
7.9 Jun 29

WAF inspection bypass in Amazon CloudFront (with AWS WAF enabled) lets remote actors smuggle malicious request bodies pa

CVE-2026-4295 HIGH POC
7.8 Mar 17

A trust boundary enforcement vulnerability in Kiro IDE allows remote attackers to execute arbitrary code when a local us

CVE-2019-25333 HIGH POC
7.5 Feb 12

Bullwark Momentum Series JAWS 1.0 contains a directory traversal vulnerability that allows unauthenticated attackers to

CVE-2026-7461 HIGH POC
7.5 Apr 30

Command injection in Amazon ECS Agent on Windows allows authenticated attackers with task definition permissions to exec

Vendor StatusVendor

Share

CVE-2026-18140 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy