PT-2026-56840

CVE-2026-49477

·

Published

2026-07-09

·

Updated

2026-10-30

Description by

CVSS 3.1
7.5
High
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions soupsieve (affected versions not specified)
Description The CSS selector parser in soupsieve contains a regular expression vulnerable to catastrophic backtracking, which occurs when the regex engine takes an exponential amount of time to process a specific input. This happens when the parser processes an attribute selector with an unterminated quoted value, causing the VALUE regex pattern in soupsieve/css parser.py to enter a loop of exponential backtracking. A small payload of approximately 300 bytes can cause the regex engine to hang for over 3 seconds, leading to a Regular Expression Denial of Service (ReDoS). This issue affects any application that passes untrusted CSS selector strings to the soupsieve.compile() function or Beautiful Soup's .select() and .select one() methods. The attack consumes CPU resources and can block worker threads, potentially leading to complete service denial in threaded or async web applications.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability. Avoid passing untrusted user input to the soupsieve.compile() function or Beautiful Soup's .select() and .select one() methods.
Exploitability
Exploit
Impacts
Vendors
Affected products
Related identifiers
GHSA-836R-79RF-4M37
CLEANSTART-2026-DI63885
CLEANSTART-2026-YQ29004
ECHO-A29A-2B91-4618
OESA-2026-3619
OESA-2026-3620
OESA-2026-3621
OESA-2026-3762
OPENSUSE-SU-2026:21342-1
PYSEC-2026-3072
RHSA-2026:23992
RHSA-2026:34119
SUSE-SU-2026:22660-1
SUSE-SU-2026:3239-1
SUSE-SU-2026:3240-1
Found an issue in the description? Have something to add? Feel free to write us 👾