CVE-2026-59886Pyasn1
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 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.
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-hm4w-wwcw-mr6r, PYSEC-2026-3457). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pyasn1 | pyasn1 | < 0.6.4 |
Official advisories
- Red Hat Security Advisory: resource-agents security update · Red Hat · RHSA-2026:59329 · Aug 25, 2026 High
- Red Hat Security Advisory: python-pyasn1 security update · Red Hat · RHSA-2026:59247 · Aug 25, 2026 High
- Red Hat Security Advisory: python-pyasn1 security update · Red Hat · RHSA-2026:59248 · Aug 25, 2026 High
- Security update for python-pyasn1 · SUSE · SUSE-SU-2026:23167-1 · Aug 6, 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
Also: Red Hat (+26), 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