pferd · Soup Sieve: Polynomial-time ReDoS (O(n²))
Affects pferdSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium : upgrade to 3.9.3 when convenient.
Data as of 27 Oct 2026, 23:14 UTC
- Patch
- Available – fixed in 3.9.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 17 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade pferd to 3.9.3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewpferdpkg:brew/pferdOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in soupsieve version 3.9.3. Users should upgrade to version 3.9.3 or later to resolve this vulnerability. Applications that do not accept user-controlled selectors are not affected. No other mitigation is required.
Description
A Regular Expression Denial of Service (ReDoS) vulnerability exists in soupsieve's whitespace/comment trimming regex `RE_WS_END`. The regex is used unanchored with `.search()`, causing quadratic time complexity (O(n²)) on valid CSS selectors with long whitespace or comment runs. This can stall the interpreter for seconds on large inputs. The issue affects soupsieve versions from 3.4.2 up to but not including 3.9.3 and is fixed in 3.9.3.
References
- github.com/facelessuser/soupsieve/security/advisories/GHSA-j934-xhv5-fg8f (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-85999 (opens in a new tab)
- github.com/facelessuser/soupsieve/commit/cf198fcddc9230f06ed39f974eba0ce076b85cda (opens in a new tab)
- github.com/facelessuser/soupsieve (opens in a new tab)
- github.com/facelessuser/soupsieve/releases/tag/2.9 (opens in a new tab)