Inefficient Algorithmic Complexity Affecting pyasn1 package, versions [0.3.3,0.6.5)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.43% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-PYASN1-22113911
  • published1 Nov 2026
  • disclosed30 Oct 2026
  • creditSimon Pichugin

Introduced: 30 Oct 2026

NewCVE-2026-119194  (opens in a new tab)
CWE-407  (opens in a new tab)

How to fix?

Upgrade pyasn1 to version 0.6.5 or higher.

Overview

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity in the ConstructedPayloadDecoderBase._decodeComponentsSchemaless method in pyasn1/codec/ber/decoder.py. An attacker can exhaust CPU during a schemaless decode() of a BER, CER, or DER container by supplying many components whose long tag IDs produce colliding TagSet hashes, so each component's insertion into the growing classification set compares against all earlier entries. Exploitation requires the application to decode attacker-controlled data without an ASN.1 schema, since the schema-driven path does not build this classification set.

CVSS Base Scores

version 4.0
version 3.1