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

[CVE catalog]

Severity
Medium · CVSS 5.9CVSS: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.

DistributionPackageReleaseVersionStatus
Debiansoupsievesid2.8.4-1vulnerable
Debiansoupsieveforky2.8.4-1vulnerable
Debiansoupsievetrixie2.7-1vulnerable
Debiansoupsievebookworm2.3.2-1vulnerable
PyPIsoupsieveNot reported2.9.0fixed
PyPIsoupsieveNot reported2.9.0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiansoupsievesourcesid(unfixed)not yet assignedNot reported[1148449]
Debiansoupsievesourceforky(unfixed)not yet assignedNot reported[1148449]
Debiansoupsievesourcetrixie(unfixed)not yet assignedNot reported[1148449]
Debiansoupsievesourcebookworm(unfixed)not yet assignedNot reported[1148449]
PyPIsoupsievePyPINot reported2.9.0Not reportedGHSA-GJV8-XP57-G29CNot reported
PyPIsoupsievePyPINot reported2.9.0Not reportedPYSEC-2026-4170Not reported

[Debian bug #1148449]

Notes

[trixie] soupsieve: Minor issue [bookworm] soupsieve: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [soupsieve]

    Details (2)
    • 2.3.2-1 · all · bookworm

      Affected

      nvd · soupsieve · debian · bookworm; nvd · soupsieve · debian · 12

    • 2.3.2-1 · all · bookworm

      Affected

      nvd · soupsieve · debian · bookworm; nvd · soupsieve · debian · 12

[Debian 13 (Trixie)]

  • Source package: [soupsieve]

    Details (2)
    • 2.7-1 · all · trixie

      Affected

      nvd · soupsieve · debian · 13

    • 2.7-1 · all · trixie

      Affected

      nvd · soupsieve · debian · 13

Observed:

References