pyasn1 是一个面向 Python 的通用 ASN.1 库。在 0.3.3 至 0.6.5 版本中,无模式(schemaless)容器解码会将每个已解码组件的 TagSet 存储到一个持续增长的集合中,尽管实际上只需区分“单一标签”与“多个标签”这两种类型。攻击者可构造包含大量不同长标签 ID 的 BER、CER 或 DER 输入,使这些标签的 TagSet 哈希发生碰撞。在 中,每次后续插入操作都需要与数量不断增长的先前碰撞标签进行比较,从而导致 CPU 工作量呈二次方增长,而解码后的值及其顺序仍然保持有效。
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC| CVE-2026-119197 | 7.5 HIGH | pyasn1: Quadratic-complexity denial of service in binary REAL decoding |
| CVE-2026-119196 | 7.5 HIGH | pyasn1: Quadratic CPU consumption in constructed BIT STRING decoding |
| CVE-2026-119195 | 7.5 HIGH | pyasn1: Quadratic-time denial of service in constructed string and indefinite-length ANY d |