Security mailing lists by PureSourceCode

CVE-2026-49476

HIGH 7.5CVSS 3.1

Soup Sieve has Memory Exhaustion via Large Comma-Separated Selector Lists

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 allocates unbounded memory when compiling large comma-separated selector lists, allowing an attacker who can supply a crafted selector string to soupsieve.compile() or Beautiful Soup .select() / .select_one() to allocate hundreds of megabytes of heap memory from a relatively small input and cause denial of service. This issue is fixed in version 2.8.4.

Published
14 Jul 2026
Last modified
24 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-400CWE-770
Also known as
GHSA-2wc2-fm75-p42xPYSEC-2026-3071
Sources
NVDJSONOSV GHSA-2wc2-fm75-p42xJSONOSV PYSEC-2026-3071JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV PyPA CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD facelessuser soup_sieve
cpe:2.3:a:facelessuser:soup_sieve:*:*:*:*:*:beautiful_soup:*:*
< 2.8.4 2.8.4
OSV PyPI soupsieve < 2.8.4 2.8.4

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 14 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.