cve.bz

CVE-2026-85999 facelessuser soupsieve: Uncontrolled Resource Consumption

5.3 mediumEPSS 0.6%Fix available

Medium (5.3) in facelessuser soupsieve. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in soupsieve 2.9.0.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 50th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-09-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-400 Uncontrolled Resource Consumption
CWE-1333 Inefficient Regular Expression Complexity
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-85999 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-85999?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-85999?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-85999 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
facelessuser soupsieve< 2.9

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-j934-xhv5-fg8fPyPIsoupsieve<2.9.02.9.0
PYSEC-2026-4171PyPIsoupsieve<2.9.02.9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13soupsieveno fix listedDEBIAN-CVE-2026-85999
Debian14soupsieve4.1-1DEBIAN-CVE-2026-85999
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 2 moresoupsieveno fix listedUBUNTU-CVE-2026-85999
SUSELinux Enterprise Module for Basesystem 15 SP7python-soupsieve1.9.5-150200.3.6.1SUSE-SU-2026:5164-1
SUSELinux Enterprise Module for Python 3 15 SP7python-soupsieve2.5-150600.3.6.1SUSE-SU-2026:4365-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0python-soupsieve2.6-160000.5.1SUSE-SU-2026:24267-1
openSUSELeap 16.0python-soupsieve2.6-160000.5.1openSUSE-SU-2026:22149-1
openSUSETumbleweedpython-soupsieve2.9.2-1.1openSUSE-SU-2026:11866-1
Azure Linux3python-soupsieveno fix listedAZL-103322

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This Moderate flaw in the Soup Sieve library can lead to a denial of service. Specially crafted CSS selectors containing long whitespace or comment runs can cause excessive CPU consumption, potentially exhausting system resources. Red Hat products are affected if they process untrusted, user-controlled CSS selectors via `soupsieve.compile()` or `BeautifulSoup.select()`; applications utilizing only hard-coded selectors are not vulnerable.

Red Hat's mitigation

No mitigation is currently available for this vulnerability. Users are advised to apply the security update when available.

ProductPackageStateAdvisory
Red Hat OpenShift AI 3.4rhoai/odh-automl-rhel9:1791535789Fixed 2026-10-19RHSA-2026:84734
Red Hat OpenShift AI 3.4rhoai/odh-autorag-rhel9:1791557539Fixed 2026-10-19RHSA-2026:84734
Red Hat OpenShift AI 3.4rhoai/odh-feature-server-rhel9:1791863220Fixed 2026-10-19RHSA-2026:84734
Red Hat OpenShift AI 3.4rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9:1791829804Fixed 2026-10-19RHSA-2026:84734
Red Hat OpenShift AI 3.4rhoai/odh-pipeline-runtime-minimal-cpu-py312-rhel9:1791829069Fixed 2026-10-19RHSA-2026:84734
Red Hat OpenShift AI 3.4rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9:1791829182Fixed 2026-10-19RHSA-2026:84734
Red Hat OpenShift AI 3.4rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9:1791829658Fixed 2026-10-19RHSA-2026:84734
Red Hat OpenShift AI 3.4rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9:1791868244Fixed 2026-10-19RHSA-2026:84734
Red Hat OpenShift AI 3.4rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9:1791828837Fixed 2026-10-19RHSA-2026:84734
Red Hat OpenShift AI 3.4rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9:1791868241Fixed 2026-10-19RHSA-2026:84734
Exploit Intelligenceexploit-intelligence/vulnerability-analysis-rhel9Affected
Lightspeed Corelightspeed-core/rag-tool-cpu-rhel9Fix deferred
Lightspeed Corelightspeed-core/rag-tool-cuda-12.9-rhel9Fix deferred
Migration Toolkit for Applications 8mta/mta-solution-server-rhel9Fix deferred
OpenShift Lightspeedopenshift-lightspeed/lightspeed-ocp-rag-rhel9Fix deferred
OpenShift Lightspeedopenshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/lightspeed-chatbot-rhel8Fix deferred
Red Hat Hardened Imagespython-attrsNot affected
Red Hat Hardened Imagespython-rpds-pyNot affected
Red Hat Hardened Imagespython-urllib3Not affected
82 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-85999.

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup
  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON