pypi / pyasn1
pyasn1
What changed in pyasn1 0.6, from its official release notes, upgrade guides and advisories. Sources checked 2026-12-05.
1 breaking8 security4 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initpyasn1 0.613 changes
Breaking changes 1
The ASN.1 decoder now limits nesting depth to prevent stack overflow from deeply nested structures.
Security 8
Reassembly runs in linear time while preserving decoded bit values, including intermediate fragment padding.
Constructed OCTET STRING and character-string fragments, plus indefinite-length ANY content, are reassembled in linear time; nested OCTET STRING fragments contribute their decoded octets.
Decoded binary REAL mantissas are processed in linear time instead of repeatedly shifting a growing integer and slicing the remaining bytes.
Tracking is bounded after two distinct tag sets to prevent quadratic CPU use from colliding long tag IDs.
pyasn1 BER/CER/DER decoder denial of service via unbounded long-form tag IDs
pyasn1: Quadratic complexity in OBJECT IDENTIFIER and RELATIVE-OID processing allows denial of service
pyasn1: Uncontrolled resource consumption when converting decoded REAL values
Fixed continuation octet limits in the decoder, addressing CVE-2026-23490.
Fixes and other changes 4
Fixed incorrect parsing of fractional seconds.
Fixed OverflowError caused by an oversized BER length field.
Fixed the stacklevel used for DeprecationWarning from deprecated attributes.
Added support for Python 3.14.