
CVE catalog
CVE-2026-86000
Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 2.9, the selector parser in src/soupsieve/css_parser.py defines IDENTIFIER with adjacent quantified groups over
- Severity
- Medium · CVSS 5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.61% · Oct 25, 2026
Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 2.9, the selector parser in src/soupsieve/css_parser.py defines IDENTIFIER with adjacent quantified groups over overlapping character classes, and VALUE embeds IDENTIFIER for attribute selectors. When an attacker-controlled selector contains a long identifier or unquoted attribute-value run followed by input that makes the overall match fail, the regular expression engine explores quadratically many splits between the overlapping groups. User-controlled selectors can reach this path through soupsieve.compile(), soupsieve.select(), or BeautifulSoup.select(), while applications using only hard-coded selectors are unaffected. The resulting CPU consumption can hold the Python GIL, exhaust application workers, and stall a service; successful plain identifier matches are linear, and the issue does not cause memory corruption or code execution. The issue is fixed in version 2.9.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | soupsieve | sid | 2.8.4-1 | vulnerable |
| Debian | soupsieve | forky | 2.8.4-1 | vulnerable |
| Debian | soupsieve | trixie | 2.7-1 | vulnerable |
| Debian | soupsieve | bookworm | 2.3.2-1 | vulnerable |
| PyPI | soupsieve | Not reported | 2.9.0 | fixed |
| PyPI | soupsieve | Not reported | 2.9.0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | soupsieve | source | sid | (unfixed) | not yet assigned | Not reported | [1148449] |
| Debian | soupsieve | source | forky | (unfixed) | not yet assigned | Not reported | [1148449] |
| Debian | soupsieve | source | trixie | (unfixed) | not yet assigned | Not reported | [1148449] |
| Debian | soupsieve | source | bookworm | (unfixed) | not yet assigned | Not reported | [1148449] |
| PyPI | soupsieve | PyPI | Not reported | 2.9.0 | Not reported | GHSA-GJV8-XP57-G29C | Not reported |
| PyPI | soupsieve | PyPI | Not reported | 2.9.0 | Not reported | PYSEC-2026-4170 | Not reported |
Notes
[trixie] soupsieve: Minor issue [bookworm] soupsieve: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-soupsieve]Affected
Source package: [soupsieve]
Details (2)
2.3.2-1· all · bookwormAffected
nvd · soupsieve · debian · bookworm; nvd · soupsieve · debian · 12
2.3.2-1· all · bookwormAffected
nvd · soupsieve · debian · bookworm; nvd · soupsieve · debian · 12
[Debian 13 (Trixie)]
- [python3-soupsieve]Affected
Source package: [soupsieve]
Details (2)
2.7-1· all · trixieAffected
nvd · soupsieve · debian · 13
2.7-1· all · trixieAffected
nvd · soupsieve · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_11866-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-86000]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-86000]
- [https://osv.dev/vulnerability/PYSEC-2026-4170]
- [https://security-tracker.debian.org/tracker/CVE-2026-86000]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-86000.json]
[Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]