Security mailing lists by PureSourceCode

CVE-2026-30922

HIGH 7.5CVSS 3.1

Denial of Service in pyasn1 via Unbounded Recursion

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.

Published
18 Mar 2026
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-674CWE-835
Also known as
GHSA-jr27-m4p2-rc6rPYSEC-2026-2263
Sources
NVDJSONOSV GHSA-jr27-m4p2-rc6rJSONOSV PYSEC-2026-2263JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV PyPA CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.0 HIGH 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD pyasn1 pyasn1
cpe:2.3:a:pyasn1:pyasn1:*:*:*:*:*:python:*:*
< 0.6.3 0.6.3
OSV PyPI pyasn1 < 0.6.3 0.6.3

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 18 Mar 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 18 Mar 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 17 Mar 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.