CVEfocus › CVE database › CVE-2026-54297

CVE-2026-54297Faraday: Uncontrolled recursion in NestedParamsEncoder allows stack exhaustion DoS via…

CVSS 7.5 HighEPSS 0.8% (higher than 51% of CVEs)Published 2026-06-24Updated 2026-08-14Assigner: GitHub_M

Faraday is an HTTP client library abstraction layer that provides a common interface over many adapters. From 1.0.0 until 1.10.6 and 2.14.3, Faraday::NestedParamsEncoder, the default nested query parameter encoder/decoder in Faraday, decodes nested query strings without enforcing a maximum nesting depth. A crafted query string causes Faraday to build a deeply nested Ruby Hash structure. The internal dehash routine then recursively walks this attacker-controlled structure without a depth limit. At sufficient depth, Ruby raises an uncaught SystemStackError (stack level too deep), crashing the calling thread or worker. This can lead to denial of service in applications that pass attacker-controlled query strings to Faraday's nested query parsing or URL-building paths. This vulnerability is fixed in 1.10.6 and 2.14.3.

CWE-674CWE-770

What to do

Fixed builds are available from Debian, RubyGems: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
6Fix pending
3Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04ruby-faradayUnder investigationUBUNTU-CVE-2026-54297
Ubuntu 25.10ruby-faradayWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-54297
Ubuntu 24.04ruby-faradayUnder investigationUBUNTU-CVE-2026-54297
Ubuntu 22.04ruby-faradayUnder investigationUBUNTU-CVE-2026-54297
Ubuntu 20.04ruby-faradayFix pendingUBUNTU-CVE-2026-54297
Ubuntu 18.04ruby-faradayFix pendingUBUNTU-CVE-2026-54297
Ubuntu 16.04ruby-faradayFix pendingUBUNTU-CVE-2026-54297
Ubuntu 14.04ruby-faradayFix pendingUBUNTU-CVE-2026-54297
Debian 14ruby-faradayFixed2.14.3-1DEBIAN-CVE-2026-54297
Debian 13ruby-faradayFix pendingDEBIAN-CVE-2026-54297
Debian 12ruby-faradayFix pendingDEBIAN-CVE-2026-54297
RubyGems libraryfaradayFixed1.10.6GHSA-98m9-hrrm-r99r

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.