CVE-2026-62864 Ring's nested-params middleware has inefficient regular expression complexity
HighCVSS 7.5
EPSS 0.34%
- Published
- Updated
- Exploit status
- No public exploit known
Description
Ring is a Clojure web applications library inspired by Python's WSGI and Ruby's Rack. Prior to 1.15.5, wrap-nested-params in the ring.middleware.nested-params namespace uses a backtracking regular expression to match parameter names from URL query strings and HTTP request bodies. An attacker can craft a parameter name that drives quadratic O(n^2) matching work, causing regular-expression denial of service in applications using the middleware. Ring-Defaults users are also exposed because nested-params is enabled by default. Applications omitting the middleware do not expose this parsing path. This issue is fixed in version 1.15.5.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ring-clojure ring | = < 1.15.5 | No fix listed |
References
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2564318 issue-tracking
- www.cve.org
- nvd.nist.gov
- https://github.com/ring-clojure/ring/commit/18738cbb8ab7504da4a5c72c9eb5fdcbf142646e
- https://github.com/ring-clojure/ring/security/advisories/GHSA-q2j3-fc6x-78jj
- https://github.com/ring-clojure/ring/tree/1.15.5