Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-85999

published medium CVSS 3.1 · 5.3

Soup Sieve: Polynomial-time ReDoS (O(n²)) in the whitespace/comment trimming regex `RE_WS_END` (triggers on VALID selectors)

Published
17 Sep 2026, 15:23:37 UTC
Updated
22 Sep 2026, 20:29:44 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
facelessuser — soupsieve< 2.9 Affected Not stated GitHub_M
SUSE / openSUSE SLE-15-SP7 python3-soupsievenoarch Advisory build 1.9.5-150200.3.6.1 SUSE-SU-2026:5164-1
SUSE / openSUSE SLE-15-SP7 python311-soupsievenoarch Advisory build 2.5-150600.3.6.1 SUSE-SU-2026:4365-1
SUSE / openSUSE SLE-16 python313-soupsievenoarch Advisory build 2.6-160000.5.1 SUSE-SU-2026:24267-1
SUSE / openSUSE SLE-3-SP7 python311-soupsievenoarch Advisory build 2.5-150600.3.6.1 SUSE-SU-2026:4365-1
SUSE / openSUSE openSUSE-Leap-16.0 python313-soupsievenoarch Advisory build 2.6-160000.5.1 OPENSUSE-SU-2026:22149-1
SUSE / openSUSE openSUSE-Tumbleweed python313-soupsieveaarch64 Advisory build 2.9.2-1.1 OPENSUSE-SU-2026:11866-1
SUSE / openSUSE openSUSE-Tumbleweed python313-soupsieveppc64le Advisory build 2.9.2-1.1 OPENSUSE-SU-2026:11866-1
Show 6 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed python313-soupsieves390x Advisory build 2.9.2-1.1 OPENSUSE-SU-2026:11866-1
SUSE / openSUSE openSUSE-Tumbleweed python313-soupsievex86_64 Advisory build 2.9.2-1.1 OPENSUSE-SU-2026:11866-1
SUSE / openSUSE openSUSE-Tumbleweed python314-soupsieveaarch64 Advisory build 2.9.2-1.1 OPENSUSE-SU-2026:11866-1
SUSE / openSUSE openSUSE-Tumbleweed python314-soupsieveppc64le Advisory build 2.9.2-1.1 OPENSUSE-SU-2026:11866-1
SUSE / openSUSE openSUSE-Tumbleweed python314-soupsieves390x Advisory build 2.9.2-1.1 OPENSUSE-SU-2026:11866-1
SUSE / openSUSE openSUSE-Tumbleweed python314-soupsievex86_64 Advisory build 2.9.2-1.1 OPENSUSE-SU-2026:11866-1

Description

Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 2.9, selector_iter in src/soupsieve/css_parser.py trims the raw selector with RE_WS_END, an end-anchored WSC whitespace-and-comment expression used with search(), so the regular expression engine retries a greedy scan at every starting offset. An attacker-controlled valid selector containing a long internal whitespace run, or a selector containing a long CSS comment run followed by another token, causes quadratic CPU work before tokenization. User-controlled selectors can reach the path through soupsieve.compile() and BeautifulSoup.select(), while applications using only hard-coded selectors are unaffected. This root cause is separate from the IDENTIFIER and VALUE backtracking vulnerability because the cost occurs in RE_WS_END.search during trimming rather than token matching. The resulting CPU consumption can hold the Python GIL, exhaust workers, and stall a service without causing memory corruption or code execution. The issue is fixed in version 2.9.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

6

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.3 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
facelessuser soupsieve < 2.9 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-400 CWE-400: Uncontrolled Resource Consumption (GitHub_M · cna)
  • CWE-1333 CWE-1333: Inefficient Regular Expression Complexity (GitHub_M · cna)

References

3

Provider assertions

2

GitHub_M · cna

Soup Sieve: Polynomial-time ReDoS (O(n²)) in the whitespace/comment trimming regex `RE_WS_END` (triggers on VALID selectors)

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
7b467cd2f24b7957fea790d3f600e24e9794272788767477b3743b470f5869fd
Ingested
23 Sep 2026, 09:37:04 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected