Skip to content
Heist/ feed
UnratedFix available

DEBIAN-CVE-2026-59886

Type: advisorySource: OSV1 source record

pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.4, the univ.Real type converted its mantissa, base, and exponent value to a Python float using exact big-integer exponentiation. A BER, CER, or DER encoded REAL value only a few bytes long can carry a very large exponent, causing float conversion through prettyPrint(), str(), comparison, arithmetic, int(), or an explicit float() call to consume excessive CPU and memory and hang applications that decode untrusted ASN.1 data and then print, log, or compare decoded objects. This issue is fixed in version 0.6.4.

Announced Group revision 1
Original source ↗

DEBIAN-CVE-2026-59886

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

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-59886.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-59886.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-59886.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

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