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

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.7 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 0.62.7 (CNA); fix release not confirmed
- Status: published
- Published: 2026-07-30 · Modified: 2026-07-30
- Aliases: RHSA-2026:67593, RHSA-2026:67595, CGA-2mhp-795r-vmh5, CGA-3xv3-98qv-rffx, CGA-57p5-hx9q-8j7w, CGA-f55v-37g5-mxqm, CGA-fxvh-9m2r-xpjg, CGA-p83h-vf54-rjpf, CGA-7xg8-2xmj-rh4q, CGA-8cqh-g9qv-xh78, GHSA-8ffr-xgwf-xj56
- Record: https://cvemate.com/vulnerability/CVE-2026-18140 · JSON: https://cvemate.com/vulnerability/CVE-2026-18140/json

## Description

```text
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.
```

## Signals

- CVSS: 8.7 high (v4.0, CVE.org) 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
- EPSS: 0.431%, percentile 39.18%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- amazon aws-smithy-json: \< 0.62.7
- chainguard apollo-router-2.10 (Chainguard): All versions (No fix recorded)
- chainguard codex (Chainguard): All versions (No fix recorded) \| \< 0.162.1-r1
- chainguard pixi (Chainguard): All versions (No fix recorded) \| \< 0.81.0-r3
- chainguard zed (Chainguard): \< 1.21.0-r4
- wolfi codex (Wolfi): All versions (No fix recorded) \| \< 0.162.1-r1
- wolfi pixi (Wolfi): All versions (No fix recorded) \| \< 0.81.0-r3
- wolfi zed (Wolfi): \< 1.21.0-r4
- aws aws-smithy-json: ≥ 0.32.0, ≤ 0.62.6
- Crates.Io aws-smithy-json (Crates.Io): \< 0.62.7
- redhat goose (Red Hat): \< 0:1.38.0-1.el10\_2 \| \< 0:1.38.0-1.el9\_8
- redhat goose-debuginfo (Red Hat): \< 0:1.38.0-1.el10\_2 \| \< 0:1.38.0-1.el9\_8
- redhat goose-debugsource (Red Hat): \< 0:1.38.0-1.el10\_2 \| \< 0:1.38.0-1.el9\_8

## References

- <https://crates.io/crates/aws-smithy-json/0.62.7>
- <https://aws.amazon.com/security/security-bulletins/2026-067-aws/>
- <https://github.com/smithy-lang/smithy-rs/security/advisories/GHSA-8ffr-xgwf-xj56>
- <https://access.redhat.com/errata/RHSA-2026:67593>
- <https://access.redhat.com/security/updates/classification/#important>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_67593.json>
- <https://access.redhat.com/security/cve/CVE-2026-18140>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2509566>
- <https://www.cve.org/CVERecord?id=CVE-2026-18140>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-18140>
- <https://access.redhat.com/errata/RHSA-2026:67595>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_67595.json>
- <https://github.com/smithy-lang/smithy-rs/pull/4685>
- <https://github.com/smithy-lang/smithy-rs/commit/8f0882046c467981ba5b4fd91a10befa96bd262f>
- <https://aws.amazon.com/security/security-bulletins/2026-067-aws>
- <https://github.com/smithy-lang/smithy-rs>

---

Data as of 2026-12-05T08:28:41.036Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
