Skip to content
OpenAdvisories
High · 7.5 CVE-2026-18140 EUVD-2026-51271GHSA-8ffr-xgwf-xj56

Uncontrolled recursion in the aws-smithy-json unknown-key skip path allows unauthenticated remote denial of service in smithy-rs generated servers

Published Jul 30, 2026 · Updated Jul 30, 2026 · Assigned by AMZN

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.

Affected products

VendorProductAffectedFixed
AWS aws-smithy-json 0.32.0 – ≤ 0.62.6 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
RHEL 10 goose 1.38.0-1.el10_2 RHSA-2026:67593
RHEL 9 goose 1.38.0-1.el9_8 RHSA-2026:67595

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling codex 0.162.1-r1 —
Wolfi rolling pixi 0.81.0-r3 —
Wolfi rolling zed 1.21.0-r4 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io aws-smithy-json < 0.62.7 0.62.7 GHSA-8ffr-xgwf-xj56

Advisories 2

References