Skip to main content

smithy-rs CVE-2026-15957

| EUVDEUVD-2026-46386 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-07-21 AMZN
8.7
CVSS 4.0 · Vendor: AMZN
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify network-reachable smithy-rs endpoint
  2. Delivery
    Craft small deeply-nested recursive payload
  3. Exploit
    Send JSON/CBOR/XML request
  4. Execution
    Generated deserializer recurses unbounded
  5. Persist
    Stack exhausted, process aborts
  6. Impact
    Repeat to sustain outage

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The target must be a client or server generated by smithy-rs (including the AWS SDK for Rust) whose Smithy model defines a recursive shape that is reachable from an incoming request body, and it must accept JSON, CBOR, or XML input over the network. The concrete trigger is a small request payload containing deeply nested data matching that recursive shape, processed by the auto-generated deserializer before any application logic runs. Per the CVSS vector (AV:N/AC:L/PR:N/UI:N), no authentication or user interaction is required for network-reachable endpoints. The principal limiting factor is model-dependence: services whose models contain no request-reachable recursive shape are not exploitable, so this is not universally applicable to every smithy-rs deployment.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H) is internally consistent and credible: the attack is network-reachable, low-complexity, requires no authentication or user interaction, and its sole impact is high availability loss with no confidentiality or integrity effect - squarely a DoS. The 8.7 base score is driven entirely by the unauthenticated remote crash primitive. No EPSS score, KEV listing, or public POC was provided, so real-world exploitation pressure cannot be quantified from the input; the absence of KEV means there is no evidence of active exploitation, and the absence of POC data means exploit availability is simply unknown rather than confirmed absent. A key limiting factor tempers the raw score: exploitation is only possible against services whose Smithy model actually contains a recursive shape reachable in a request, so many deployments may not be affected in practice. This is a legitimate patch-worthy DoS for exposed smithy-rs servers, but not a code-execution or data-exposure event.

Exploit ScenarioDerived

An attacker identifies an internet-reachable service built with smithy-rs (for example a custom Smithy server or an application exposing an SDK-generated parser) whose model includes a recursive shape. They send a single small HTTP request whose JSON, CBOR, or XML body nests that shape hundreds or thousands of levels deep; the generated deserializer recurses until the stack is exhausted and the process aborts. Repeating the tiny request keeps the service crashed, yielding a low-cost, high-impact denial of service with no authentication required. No public POC was provided in the source data.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Jul 21, 2026

Denial of service in Amazon's smithy-rs code generation framework allows remote attackers to abort the process via stack exhaustion by sending a small request containing deeply nested data that matches a recursive model shape. The flaw affects generated deserializers for JSON, CBOR, and XML across the AWS SDK for Rust and any custom clients or servers built with smithy-rs codegen; because deserialization runs before business logic, a compact malicious payload can crash the target. This carries a CVSS 4.0 base score of 8.7 (availability-only impact), and no public exploit was identified at time of analysis.

Earlier versions of this analysis (1)
v1 Jul 21, 2026 - 20:01 CVSS 7.5

Denial of service in Amazon smithy-rs code generation (and the AWS SDK for Rust it powers) allows remote unauthenticated attackers to abort a process via stack exhaustion. The generated JSON, CBOR, and XML deserializer functions recurse without a depth limit, so a small request carrying deeply nested data for a recursive model shape overflows the native stack and crashes a generated SDK client or Smithy server. No public exploit has been identified at time of analysis, but the flaw is trivially reachable (network, no auth, no user interaction) against any service whose model contains a recursive shape.

RemediationAI

Vendor-released patch: upgrade the AWS SDK for Rust to release-2026-06-02 or later (https://github.com/awslabs/aws-sdk-rust/releases/tag/release-2026-06-02). Developers who build custom clients or servers with smithy-rs must regenerate their code from smithy-rs release-2026-06-01 or later and redeploy the regenerated artifacts, since the fix lives in the emitted deserializer code rather than a runtime-only dependency. Consult the AWS bulletin (https://aws.amazon.com/security/security-bulletins/2026-061-aws/) and GHSA-4f2p-7j38-4xrg for details. Where immediate patching is not possible, compensating controls include placing a reverse proxy or API gateway in front of exposed smithy-rs servers to reject requests exceeding a maximum body size or JSON/XML/CBOR nesting depth (trade-off: proxies that do not parse CBOR/XML may not enforce depth for those encodings, and overly strict limits can break legitimate deeply-nested payloads), and restricting network exposure of affected endpoints to trusted callers to reduce the unauthenticated attack surface.

Affected VersionsENISA

aws-sdk-rust 0 <release-2026-06-02

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

smithy-rs is a Rust code-generation and runtime framework that produces HTTP clients and servers from Smithy interface definitions, and it underpins the AWS SDK for Rust (CPE cpe:2.3:a:aws:aws-sdk-rust). The vulnerability is a CWE-770 (Allocation of Resources Without Limits or Throttling) manifesting as uncontrolled recursion: the deserializer functions emitted by codegen for JSON, CBOR, and XML recursively descend into nested structures without a depth bound. When a Smithy model defines a recursive shape (a structure that can contain itself, directly or indirectly), the generated parser follows attacker-controlled nesting depth-first, consuming native stack frames per level until the thread's stack is exhausted, which in Rust triggers an unrecoverable process abort rather than a catchable error.

Know when AWS gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

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
vuln.today AI 7.5 HIGH

Unauthenticated, low-complexity network request crashes the process; impact is availability-only (A:H) with no confidentiality or integrity effect, matching the vendor's DoS-only classification.

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

Primary rating from Vendor (AMZN).

CVSS VectorVendor: AMZN

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Analysis Updated
Jul 21, 2026 - 20:30 vuln.today
v2 - CVSS changed
CVSS changed
Jul 21, 2026 - 20:22 NVD
7.5 (HIGH) 8.7 (HIGH)
CVE Published
Jul 21, 2026 - 19:33 cve.org
HIGH 7.5

DescriptionCVE.org

Smithy-RS is a Rust code generation and runtime framework that generates HTTP clients and servers from Smithy interface definitions, powering the AWS SDK for Rust and custom service implementations.

Uncontrolled recursion in the JSON, CBOR, and XML deserializer functions emitted by Amazon smithy-rs code generation could allow remote attackers to cause a denial of service (process abort via stack exhaustion) via a small request containing deeply nested data for a recursive model shape to a generated SDK or server.

To mitigate this issue, users should upgrade to aws-sdk-rust release-2026-06-02 or later. Users building custom servers with smithy-rs codegen should regenerate from smithy-rs release-2026-06-01 or later.

Executive ViewAI

Why It Matters

Amazon's smithy-rs code generation framework contains a denial-of-service vulnerability allowing remote attackers to crash applications with a small malicious payload, impacting any organization using the AWS Rust SDK or smithy-rs-based services. Because the attack exploits deserialization before application-level defenses engage, standard mitigation strategies are ineffective. Immediate patching is required to prevent infrastructure-level service outages.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Medium
AWS SDK for Rust is real but Rust production use is less widespread
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in AWS

View all
CVE-2026-103956 CRITICAL POC
10.0 Oct 02

Loom for AWS deployments running a version before 1.6.1 with no identity provider configured expose an unauthenticated s

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-2025-64709 CRITICAL POC
9.9 Nov 13

Authenticated Typebot users can abuse the webhook block (HTTP Request component) in versions prior to 3.13.1 to issue ar

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-54378 CRITICAL POC
9.3 Nov 04

Broken access control in the VitaFit cloud API before the 2026-10-30 fix lets any authenticated account holder call POST

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-18140 HIGH POC
8.7 Jul 30

Denial of service in the aws-smithy-json Rust runtime crate (versions before 0.62.7) lets remote unauthenticated attacke

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

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