pyspelling · Soup Sieve: Uncontrolled recursion
Affects pyspellingSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium : upgrade to 2.13 when convenient.
Data as of 22 Nov 2026, 18:23 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 5.3 |
|---|
- Patch
- Available – fixed in 2.13
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 12 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: 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 21 Nov 2026.
What to do
Upgrade pyspelling to 2.13.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewpyspellingpkg:brew/pyspellingOther 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 Soup Sieve version 2.13. Applications should upgrade to version 2.13 or later to prevent this uncontrolled recursion vulnerability. Until upgraded, applications that process untrusted CSS selectors should catch RecursionError exceptions in addition to documented errors to avoid unexpected failures. No other mitigations are documented.
Description
Soup Sieve's CSS selector parser has an uncontrolled recursion vulnerability when parsing nested pseudo-class selectors like :is(), :not(), :where(), and :has(). An attacker supplying a deeply nested selector string (about 1.6 KB, ~330 nesting levels) can cause the parser to exceed Python's recursion limit, raising a RecursionError. This error is not part of the documented error handling, so applications catching only documented exceptions may experience unexpected failures. The issue affects Soup Sieve versions from 2.9 up to but not including 2.13. A fix is available in version 2.13.
References
- github.com/facelessuser/soupsieve/security/advisories/GHSA-7g44-g9rc-x53w (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-126193 (opens in a new tab)
- github.com/facelessuser/soupsieve/pull/306 (opens in a new tab)
- github.com/facelessuser/soupsieve/commit/52de12f157a373614ad0f486d434551c5a4378ee (opens in a new tab)
- github.com/facelessuser/soupsieve (opens in a new tab)
- github.com/facelessuser/soupsieve/releases/tag/3.0 (opens in a new tab)