CVE-2026-49477: Soup Sieve · Regular Expression Denial of Service (ReDoS) via Selector Parser
Affects pyspellingSource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 2.12.1_2 soon.
Data as of 22 Nov 2026, 18:23 UTC
- Patch
- Available – fixed in 2.12.1_2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 13 Aug 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.12.1_2.
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 patch is available in soupsieve version 2.12.1_2. Users should upgrade to this version or later to remediate the vulnerability. Until patched, avoid passing untrusted CSS selector strings to soupsieve.compile() or Beautiful Soup's .select() and .select_one() methods. Employ input validation or sanitization to reject unterminated quoted attribute selectors if upgrading is not immediately possible.
Description
A Regular Expression Denial of Service (ReDoS) vulnerability exists in soupsieve's CSS selector parser due to a regex pattern that suffers catastrophic backtracking when processing attribute selectors with unterminated quoted values. This can cause CPU exhaustion and thread blocking with a payload as small as 300 bytes. The issue affects applications that compile untrusted CSS selectors using soupsieve or Beautiful Soup's select methods. A fix is available in version 2.12.1_2.