# 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

- Severity: High 8.7 (CVSS:4.0, scored by AMZN) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Published: 2026-07-30T18:34:04.099Z
- Modified: 2026-10-23T22:10:00.160Z
- Also known as: GHSA-8ffr-xgwf-xj56
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- AWS aws-smithy-json: from 0.32.0 up to 0.62.6
- aws-smithy-json (crates.io): before 0.62.7
- amazon aws-smithy-json: before 0.62.7

## Every score

- AMZN: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- AMZN: CVSS:4.0 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`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 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`

## References

- <https://crates.io/crates/aws-smithy-json/0.62.7> (patch, product, web)
- <https://aws.amazon.com/security/security-bulletins/2026-067-aws/> (vendor-advisory)
- <https://github.com/smithy-lang/smithy-rs/security/advisories/GHSA-8ffr-xgwf-xj56> (third-party-advisory, 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://aws.amazon.com/security/security-bulletins/2026-067-aws> (web)
- <https://github.com/smithy-lang/smithy-rs> (package)

## Sources

- CVE List: [CVE-2026-18140](https://www.cve.org/CVERecord?id=CVE-2026-18140), CVE Terms of Use, modified 2026-07-30
- GitHub Advisory Database: [GHSA-8ffr-xgwf-xj56](https://github.com/advisories/GHSA-8ffr-xgwf-xj56), CC-BY-4.0, modified 2026-10-02
- NVD: [CVE-2026-18140](https://nvd.nist.gov/vuln/detail/CVE-2026-18140), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-18140 · Whole record: https://cve.day/CVE-2026-18140.json · Rebuilt by cve.day 2026-11-25T22:59:30.652Z
