Vulnerability
CVE-2026-30922
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.
170 advisories report this vulnerability, across 14 ecosystems.
Advisories
-
ALAS2-2026-3215
Amazon Linux 2 2017.12 - ALAS2-2026-3215: medium priority package update for python-pyasn1
-
ALAS2023-2026-1538
Amazon Linux 2023 - ALAS2023-2026-1538: Medium priority package update for python-pyasn1
-
ALSA-2026:12176
Important: fence-agents security update
-
ALSA-2026:13902
Important: resource-agents security update
-
ALSA-2026:13916
Important: fence-agents security update
-
ALSA-2026:13917
Important: fence-agents security update
-
AZL-80238
CVE-2026-30922 affecting package python-pyasn1 for versions less than 0.4.8-2
- CGA-2469-3jv7-6fj5
- CGA-2794-3hfg-gg3w
- CGA-28w4-8j5x-hj9g
- CGA-2wj6-p7gq-272w
- CGA-325x-h866-73vv
- CGA-37r8-m53g-v433
- CGA-3cpv-fcjw-9h87
- CGA-4mvm-pfjr-43fg
- CGA-4wgq-qvv4-4f5x
- CGA-4wq2-pfh6-mfh5
- CGA-4xjm-q9g3-rm6g
- CGA-52v9-7q95-8382
- CGA-56q5-46x4-g5j5
- CGA-583r-v8fc-mr69
- CGA-59xq-hrg5-hm35
- CGA-5hh7-hpr2-c58p
- CGA-5wxf-q5gp-qv8p
- CGA-63mh-7r96-4p2f
- CGA-64cr-c5hh-44mj
- CGA-66p3-v5r5-8743
- CGA-6ffc-h2h7-c373
- CGA-6pp9-pw3h-wx95
- CGA-6r2g-7g7m-p944
- CGA-6r4p-pcj4-9rqg
- CGA-6v2v-v7fv-g6qv
- CGA-6v3w-f89q-h2c6
- CGA-74m5-xvj9-6pxh
- CGA-776v-x5rm-65jh
- CGA-7cmp-8gg2-cx7h
- CGA-7h55-xvqx-f9f9
- CGA-7j9j-hh95-57jw
- CGA-7jv7-m5jh-7xgc
- CGA-7v2w-m7jc-xf3j
- CGA-83h6-mv5c-5723
- CGA-8639-c9pg-5qqg
- CGA-86wj-j7jh-r2jf
- CGA-877m-jrpg-2w8m
- CGA-8m2g-mccx-pp67
- CGA-8p5r-phfj-8hq9
- CGA-8qwh-2848-r9jc
- CGA-94w7-7v88-3639
- CGA-98hf-mgvx-4jfp
- CGA-99gj-fxgm-2fgh
- CGA-9pfw-rg8c-fv2j
- CGA-9q95-qw8f-537p
- CGA-9wvq-c36j-24mr
- CGA-9wwv-f774-g9hp
- CGA-cfm9-w5xw-p7jp
- CGA-cgpx-prqc-532x
- CGA-cm36-x6mw-m96h
- CGA-cq68-q6j3-vff3
- CGA-cwh7-4vrr-7gxg
- CGA-f29f-mhj6-fp7r
- CGA-f399-9q52-ff3r
- CGA-f46h-h4q5-rrhv
- CGA-fc93-4g4f-qmq7
- CGA-fh6c-4x4q-vgpc
- CGA-fhjm-927r-wj5h
- CGA-fmgf-23jg-ffg4
- CGA-fw5f-fj8v-wfmh
- CGA-fwrv-gmh9-w575
- CGA-g3cf-mhwx-rx6j
- CGA-g5hr-jmr3-2cp5
- CGA-gc8q-wrgp-2fmh
- CGA-gfj6-872c-pfc7
- CGA-grm4-qwpx-jh7f
- CGA-h2wx-wj23-6w5g
- CGA-h97f-9v4p-m62f
- CGA-hprv-48c4-c4x4
- CGA-jppc-3fxg-xv4f
- CGA-jqj8-ch3f-2hch
- CGA-jqp3-6w2h-g3c6
- CGA-jw93-j4g4-4cx2
- CGA-jxc6-7738-rvhr
- CGA-m42q-3wwv-5g5m
- CGA-m6pc-x8fw-5vv3
- CGA-m7g6-vf5j-h38f
- CGA-mcm7-pf2q-75jp
- CGA-mmh2-8v84-7hwc
- CGA-p6cj-wrg5-73mq
- CGA-q555-8x7p-5f23
- CGA-q8vf-f5jh-76c4
- CGA-q8wg-f6pg-92mp
- CGA-qm98-xq8q-rcjg
- CGA-qpvh-gcv4-949c
- CGA-qvm4-x26x-jqfw
- CGA-qwh9-pv8h-6vc2
- CGA-qwvx-824m-g9q3
- CGA-qx86-48fg-gjmq
- CGA-r45h-5g8m-m3g3
- CGA-r8q2-w4h8-gwh8
- CGA-rff2-7x9v-cm88
- CGA-v258-p269-r657
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2026-30922.
References
- https://github.com/pyasn1/pyasn1/commit/25ad481c19fdb006e20485ef3fc2e5b3eff30ef0
- https://github.com/pyasn1/pyasn1/security/advisories/GHSA-jr27-m4p2-rc6r
- http://www.openwall.com/lists/oss-security/2026/03/20/4
- https://lists.debian.org/debian-lts-announce/2026/05/msg00001.html
- https://access.redhat.com/errata/RHSA-2026:10184
- https://access.redhat.com/errata/RHSA-2026:12176
- https://access.redhat.com/errata/RHSA-2026:13508
- https://access.redhat.com/errata/RHSA-2026:13512
- https://access.redhat.com/errata/RHSA-2026:13545
- https://access.redhat.com/errata/RHSA-2026:13553
- https://access.redhat.com/errata/RHSA-2026:13902
- https://access.redhat.com/errata/RHSA-2026:13916
- https://access.redhat.com/errata/RHSA-2026:13917
- https://access.redhat.com/errata/RHSA-2026:14020
- https://access.redhat.com/errata/RHSA-2026:16009
- https://access.redhat.com/errata/RHSA-2026:17083
- https://access.redhat.com/errata/RHSA-2026:17611
- https://access.redhat.com/errata/RHSA-2026:19138
- https://access.redhat.com/errata/RHSA-2026:19355
- https://access.redhat.com/errata/RHSA-2026:19375
- https://access.redhat.com/errata/RHSA-2026:19712
- https://access.redhat.com/errata/RHSA-2026:20588
- https://access.redhat.com/errata/RHSA-2026:22131
- https://access.redhat.com/errata/RHSA-2026:22132
- https://access.redhat.com/errata/RHSA-2026:22133
- https://access.redhat.com/errata/RHSA-2026:22134
- https://access.redhat.com/errata/RHSA-2026:22135
- https://access.redhat.com/errata/RHSA-2026:22969
- https://access.redhat.com/errata/RHSA-2026:22970
- https://access.redhat.com/errata/RHSA-2026:22987
- https://access.redhat.com/errata/RHSA-2026:24761
- https://access.redhat.com/errata/RHSA-2026:24762
- https://access.redhat.com/errata/RHSA-2026:37275
- https://access.redhat.com/errata/RHSA-2026:41928
- https://access.redhat.com/errata/RHSA-2026:6309
- https://access.redhat.com/errata/RHSA-2026:65126
- https://access.redhat.com/errata/RHSA-2026:6568
- https://access.redhat.com/errata/RHSA-2026:6720
- https://access.redhat.com/errata/RHSA-2026:6912
- https://access.redhat.com/errata/RHSA-2026:6926
- https://access.redhat.com/errata/RHSA-2026:8437
- https://access.redhat.com/security/cve/CVE-2026-30922
- https://bugzilla.redhat.com/show_bug.cgi?id=2448553
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-30922.json