CVE-2026-119194
pyasn1 is a generic ASN.1 library for Python. From 0.3.3 until 0.6.5, schemaless container decoding stores every decoded component's TagSet in a growing set even though only one-versus-multiple tag types must be distinguished. Attacker-controlled BER, CER, or DER input contains many distinct long tag IDs whose TagSet hashes collide. Each later set insertion compares against an increasing number of earlier colliding tags in ConstructedPayloadDecoderBase._decodeComponentsSchemaless, producing quadratic CPU work while decoded values and order remain valid. Repeated inputs can exhaust decoder CPU and reduce service availability. This issue is fixed in version 0.6.5.
- Score
- 7.5 high
- Published
- 2026-10-29
- Links
- NVD · cve.org · Report wrong data
Matched ports (1)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| devel/py-pyasn1 | py312-pyasn1 | 0.6.4 | unaddressed | mhjacks@swbell.net |
Template for a VuXML entry
Check the version numbers before you commit this entry. Some ports share an entry in the CVE database with another port, such as sqlite2 and sqlite3. The version shown here may then be one that never existed for this port.
Ranges per package from the CVE rows that match this port, in pkg notation with the port's epoch and revision, every bound checked with pkg; one range per epoch the port actually had. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>py312-pyasn1 -- FIXME</topic>
<affects>
<package>
<name>py312-pyasn1</name>
<range><ge>0.3.3</ge><lt>0.6.5</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>CVE-2026-119194: pyasn1 is a generic ASN.1 library for Python. From
0.3.3 until 0.6.5, schemaless container decoding stores every
decoded component's TagSet in a growing set even though only one-
versus-multiple tag types must be distinguished. Attacker-
controlled BER, CER, or DER input contains many distinct long tag
IDs whose TagSet hashes collide. Each later set insertion compares
against an increasing number of earlier colliding tags in
ConstructedPayloadDecoderBase._decodeComponentsSchemaless,
producing quadratic CPU work while decoded values and order remain
valid. Repeated inputs can exhaust decoder CPU and reduce service
availability. This issue is fixed in version 0.6.5.</p>
</body>
</description>
<references>
<cvename>CVE-2026-119194</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2026-119194</url>
</references>
<dates>
<discovery>2026-10-29</discovery>
<entry>2026-10-30</entry>
</dates>
</vuln>