Skip to main content
VulnerabilityPublished Updated

CVE-2026-49477: Soup Sieve · Regular Expression Denial of Service (ReDoS) via Selector Parser

Affects pyspellingSource GCVE Database

0
Compare

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

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Homebrewpyspellingpkg:brew/pyspellingOther threatsAffected
  • >=2.9 <2.12.1_2
Fixed in
  • 2.12.1_2

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.

References

Community reviews

Loading reviews…