Skip to content
Heist/ feed
UnratedFix available

DEBIAN-CVE-2026-59884

Type: advisorySource: OSV1 source record

pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.4, the BER decoder shared by the CER and DER codecs parses long-form tags by accumulating continuation octets without an upper bound on the tag ID size, allowing a crafted input to force construction of an arbitrarily large integer with CPU cost growing quadratically and to trigger unhandled ValueError exceptions in Python 3.11+ error formatting paths. Any application decoding untrusted BER, CER, or DER input is affected. This issue is fixed in version 0.6.4.

Announced Group revision 1
Original source ↗

DEBIAN-CVE-2026-59884

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-59884

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

0.4.8-3+deb12u2

Source reference: /affected/0/versions

Fixed versions
0.4.8-3+deb12u3

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

0.6.1-1+deb13u2

Source reference: /affected/1/versions

Fixed versions
0.6.1-1+deb13u3

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

0.6.3-1

Source reference: /affected/2/versions

0.6.4-1~bpo13+1

Source reference: /affected/2/versions

Fixed versions
0.6.4-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+deb12u3"
          }
        ]
      }
    ],
    "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",
      "0.4.8-3+deb12u2"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-59884.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "0.6.1-1+deb13u3"
          }
        ]
      }
    ],
    "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",
      "0.6.1-1+deb13u2"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-59884.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "0.6.4-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",
      "0.6.3-1",
      "0.6.4-1~bpo13+1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-59884.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

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