Skip to content
Heist/ feed
UnratedFix available

DEBIAN-CVE-2026-30922

Type: advisorySource: OSV1 source record

pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.3, the `pyasn1` library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing thousands of nested `SEQUENCE` (`0x30`) or `SET` (`0x31`) tags with "Indefinite Length" (`0x80`) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a `RecursionError` or consumes all available memory (OOM), crashing the host application. This is a distinct vulnerability from CVE-2026-23490 (which addressed integer overflows in OID decoding). The fix for CVE-2026-23490 (`MAX_OID_ARC_CONTINUATION_OCTETS`) does not mitigate this recursion issue. Version 0.6.3 fixes this specific issue.

Announced Source revision 1
Original source ↗

DEBIAN-CVE-2026-30922

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-30922

pyasn1

Source reference: /affected/0/package/name

Affected versions
0.4.8-3

Source reference: /affected/0/versions

0.4.8-3+deb12u1

Source reference: /affected/0/versions

Fixed versions
0.4.8-3+deb12u2

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

pyasn1

Source reference: /affected/1/package/name

Affected versions
0.6.1-1

Source reference: /affected/1/versions

0.6.1-1+deb13u1

Source reference: /affected/1/versions

Fixed versions
0.6.1-1+deb13u2

Source reference: /affected/1/ranges

Prerequisites
Not stated in this record

pyasn1

Source reference: /affected/2/package/name

Affected versions
0.6.1-1

Source reference: /affected/2/versions

0.6.2-1

Source reference: /affected/2/versions

0.6.2-1~bpo13+1

Source reference: /affected/2/versions

Fixed versions
0.6.3-1

Source reference: /affected/2/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "0.4.8-3+deb12u2"
          }
        ]
      }
    ],
    "package": {
      "name": "pyasn1",
      "purl": "pkg:deb/debian/pyasn1?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "0.4.8-3",
      "0.4.8-3+deb12u1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-30922.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "0.6.1-1+deb13u2"
          }
        ]
      }
    ],
    "package": {
      "name": "pyasn1",
      "purl": "pkg:deb/debian/pyasn1?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "0.6.1-1",
      "0.6.1-1+deb13u1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-30922.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "0.6.3-1"
          }
        ]
      }
    ],
    "package": {
      "name": "pyasn1",
      "purl": "pkg:deb/debian/pyasn1?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "0.6.1-1",
      "0.6.2-1",
      "0.6.2-1~bpo13+1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-30922.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#56351 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement