Skip to content

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

ProductAffected versionsFixed in
ring-clojure ring = < 1.15.5 No fix listed

References