Skip to content
High 7.5

Soup Sieveに信頼できないHTMLで処理が長時間止まる脆弱性

CVE-2026-126190 First seen on SecPulse

Summary

Soup Sieveは、Beautiful Soup 4向けのCSSセレクターライブラリーです。子孫結合子を含むセレクターを、深くネストされた攻撃者の影響を受けるHTMLやXMLに対して使うと、処理が多項式時間で膨らみ、サービス拒否の状態になるおそれがあります。修正版は4.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は、Beautiful Soup 4向けのCSSセレクターライブラリーです。子孫結合子を含むセレクターを、深くネストされた攻撃者の影響を受けるHTMLやXMLに対して使うと、処理が多項式時間で膨らみ、サービス拒否の状態になるおそれがあります。修正版は4.0で、利用しているアプリケーションのバージョンを確認し、更新してください。

Affected packages

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

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 4.0, Soup Sieve repeatedly walks the same ancestors while matching descendant combinators, and each additional descendant combinator raises the polynomial degree of the work on deeply nested attacker-influenced HTML or XML. Applications using selectors such as section div div through select(), select_one(), or Beautiful Soup CSS APIs against untrusted documents can have a worker occupied for seconds or minutes, while trusted-only document processing is not affected. Selectors compiled with NOCACHE continue to use the old uncached behavior. This issue is fixed in version 4.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