cve.bz

CVE-2026-18140 amazon aws-smithy-json: Uncontrolled Recursion

8.7 highEPSS 0.8%Fix available

High (8.7) in amazon aws-smithy-json. EPSS 0.8% estimated probability of exploitation activity in the next 30 days. Fixed in aws-smithy-json 0.62.7.

On this page
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.

Severity

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

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
EPSS
0.8% (unchanged from 0.8% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 57th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-07-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-674 Uncontrolled Recursion
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-18140 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-18140?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-18140?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-18140 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
aws-smithy-jsonfrom 0.32.0 through 0.62.6

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8ffr-xgwf-xj56crates.ioaws-smithy-json<0.62.70.62.7

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatenterprise_linux:9::extensionsgoose, goose-debuginfo, goose-debugsource0:1.38.0-1.el9_8RHSA-2026:67595
Red Hatenterprise_linux:10.2goose, goose-debuginfo, goose-debugsource0:1.38.0-1.el10_2RHSA-2026:67593

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This flaw in the `aws-smithy-json` runtime crate allows a remote unauthenticated attacker to trigger a denial of service by sending a crafted HTTP request with deeply nested JSON. Red Hat products utilizing `smithy-rs` generated servers, such as components in Red Hat Enterprise Linux and Red Hat Trusted Artifact Signer, are susceptible to service disruption if exposed to untrusted networks.

Red Hat's mitigation

Restrict network access to services that process JSON input using the `aws-smithy-json` runtime. Configure firewalls to limit incoming connections to trusted sources, thereby reducing the exposure to remote unauthenticated denial of service attacks. If the service is reloaded or restarted, ensure firewall rules persist.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10goose-0:1.38.0-1.el10_2Fixed 2026-09-15RHSA-2026:67593
Red Hat Enterprise Linux 9goose-0:1.38.0-1.el9_8Fixed 2026-09-15RHSA-2026:67595
Logging Subsystem for Red Hat OpenShift 6.0openshift-logging/vector-rhel9:1791777198Fixed 2026-10-14RHSA-2026:83013
Logging Subsystem for Red Hat OpenShift 6.2openshift-logging/vector-rhel9:1789050538Fixed 2026-09-16RHSA-2026:68349
Logging Subsystem for Red Hat OpenShift 6.5openshift-logging/vector-rhel9:1789659541Fixed 2026-09-23RHSA-2026:70870
Logging Subsystem for Red Hat OpenShift 6.6openshift-logging/vector-rhel9:1788439747Fixed 2026-09-10RHSA-2026:66521
Red Hat Trusted Artifact Signer 1.4rhtas/tuffer-rhel9:1791809629Fixed 2026-10-15RHSA-2026:83603
Red Hat Trusted Artifact Signer 1.4rhtas/tuftool-rhel9:1791809629Fixed 2026-10-15RHSA-2026:83603
Confidential Compute Attestationbuild-of-trustee/trustee-rhel9Not affected
Red Hat Trusted Profile Analyzerrhtpa/rhtpa-trustification-service-rhel9Will not fix
Red Hat Trusted Profile Analyzerrhtpa/rhtpa-rhel10Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-18140.

Attack patterns (CAPEC)

  • CAPEC-230 Serialized Data with Nested Payloads Likelihood: Medium · Severity: High
  • CAPEC-231 Oversized Serialized Data Payloads Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON