CVE-2026-59885Pyasn1
High 7.5 No auth needed
Follow: this CVE · Pyasn1 · Pyasn1 We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Jul 14, 2026
- Updated
- Jul 21, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.4, the BER, CER, and DER decoders process OBJECT IDENTIFIER and RELATIVE-OID values in quadratic time relative to the number of arcs, so a small crafted payload containing an OID with many arcs consumes excessive CPU per decode() call and can deny service to applications that decode untrusted ASN.1 data. The corresponding encoders have the same quadratic behavior when an application re-encodes previously decoded attacker-supplied values. This issue is fixed in version 0.6.4.
What to do
- Apply the vendor's security update for Pyasn1.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pyasn1 |
< 0.6.4 |
0.6.4 |
pip install "pyasn1>=0.6.4" |
| PyPI | pyasn1 |
< 0.6.4 |
0.6.4 |
pip install "pyasn1>=0.6.4" |
Per OSV / GitHub Advisories (GHSA-8ppf-4f7h-5ppj, PYSEC-2026-3456). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pyasn1 | pyasn1 | < 0.6.4 |
Official advisories
- Security update for python-pyasn1 · SUSE · SUSE-SU-2026:23167-1 · Aug 6, 2026 High
- Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update · Red Hat · RHSA-2026:50319 · Aug 5, 2026 High
- Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update · Red Hat · RHSA-2026:50336 · Aug 5, 2026 High
- Security update for python-pyasn1 · SUSE · SUSE-SU-2026:23006-1 · Jul 28, 2026 High
- Security update for python-pyasn1 · SUSE · SUSE-SU-2026:3238-1 · Jul 24, 2026 High
- Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update · Red Hat · RHSA-2026:40236 · Jul 17, 2026 High
Also: SUSE (+4)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Release Notes
- github.com Third Party Advisory