CVE catalog

CVE-2026-49477

Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 2.8.4, the CSS selector parser in soupsieve contains a regular expression vulnerable to catastrophic backtracki

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.64% · Oct 25, 2026

Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 2.8.4, the CSS selector parser in soupsieve contains a regular expression vulnerable to catastrophic backtracking when processing an attribute selector with an unterminated quoted value in soupsieve/css_parser.py, allowing an attacker who can supply untrusted CSS selector strings to soupsieve.compile() or Beautiful Soup .select() / .select_one() to cause CPU exhaustion and denial of service. This issue is fixed in version 2.8.4.

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-1fixed
Debiansoupsieveforky2.8.4-1fixed
Debiansoupsievetrixie2.7-1vulnerable
Debiansoupsievebookworm2.3.2-1vulnerable
CpesoupsieveNot reportedNot reportedvulnerable
PyPIsoupsieveNot reported2.8.4fixed
Cpesoup_sieveNot reported2.8.4fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiansoupsievesourcesid2.8.4-1not yet assignedNot reportedNot reported
Debiansoupsievesourceforky2.8.4-1not yet assignedNot reportedNot reported
Debiansoupsievesourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debiansoupsievesourcebookworm(unfixed)not yet assignedNot reportedNot reported
PyPIsoupsievePyPINot reported2.8.4Not reportedGHSA-836R-79RF-4M37Not reported
Cpesoup_sievecpeNot reported2.8.4Not reportedNVD-CVE-2026-49477Not reported

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