Intel

AIKIDO-2026-746993

pyasn1 is vulnerable to Denial of Service (DoS)

CVE-2026-59885Published Jul 10, 2026
July 10, 2026

75

CVSS Score

High

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

The BER/CER/DER decoders process OBJECT IDENTIFIER and RELATIVE-OID values in quadratic time relative to the number of arcs. A small crafted payload of tens of kilobytes containing an OID with many arcs consumes seconds of CPU per decode() call, enabling denial of service in any application that decodes untrusted ASN.1 data such as certificates, LDAP, SNMP, or Kerberos. The matching encoders share the same quadratic behavior when re-encoding decoded attacker-supplied values. The fix accumulates arcs in linear time in both the decoders and encoders while leaving decoded values unchanged.

How do I fix this?

Upgrade the pyasn1 library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application decodes or re-encodes untrusted ASN.1 data.

Package

Versions

0.0.13 - 0.6.3

Fixed in 0.6.4

Background info

pyasn1 is vulnerable to Denial of Service (DoS) in versions 0.0.13 - 0.6.3.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea