Skip to content
High 7.5

Soup Sieveに細工されたCSSセレクターで処理が止まる脆弱性

CVE-2026-126191 First seen on SecPulse

Summary

Soup Sieveの3.0より前のバージョンには、セレクターの解析で処理が極端に遅くなる脆弱性があります。信頼できない文字列を受け付けるアプリケーションでは、短い入力でも処理が止まるおそれがあります。修正版として3.0が公開されているため、利用中のバージョンを確認し、3.0以降へ更新してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Soup Sieveの3.0より前のバージョンには、セレクターの解析で処理が極端に遅くなる脆弱性があります。信頼できない文字列を受け付けるアプリケーションでは、短い入力でも処理が止まるおそれがあります。修正版として3.0が公開されているため、利用中のバージョンを確認し、3.0以降へ更新してください。

Affected packages

PackageAffected → Fixed
facelessusersoupsieve —
pipsoupsieve
< 3.0.2→ 3.0.2
PyPIsoupsieve
< 3.0.2→ 3.0.2

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 3.0, the CSS_ESCAPES and IDENTIFIER regular-expression subpatterns can backtrack exponentially on runs of ambiguous digit escapes in an attribute-name or tag position of an otherwise valid selector. The failure occurs during selector compilation through soupsieve.compile() or Beautiful Soup select() before SELECTOR_LIMIT is applied, so an application that accepts untrusted selector strings can have a worker stalled by a short input. This issue is fixed in version 3.0.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details