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.
CVE-2026-59886
This high-severity CVE scores 7.5 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.3%, top 74% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.5
- EG Score
- 7.5(medium)
- EPSS
- 26.3%
- KEV
- Not listed
Published
July 14, 2026
Last Modified
July 21, 2026
Advisory Details (3)
Auto-updated Jul 15, 2026Uncontrolled resource consumption when converting decoded REAL values · Advisory · pyasn1/pyasn1 · GitHub
https://github.com/pyasn1/pyasn1/security/advisories/GHSA-hm4w-wwcw-mr6rRelease 0.6.4
Patch available: pyasn1/pyasn1 v0.6.4
https://github.com/pyasn1/pyasn1/releases/tag/v0.6.4commit e60c691cb91a (pyasn1/pyasn1)
Patch available: pyasn1/pyasn1 v0.6.4 (contains commit e60c691cb91a)
https://github.com/pyasn1/pyasn1/commit/e60c691cb91addb8fcefa2f537e85ede6fb1e886Vendor Advisories for CVE-2026-59886(3)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- GHSA-hm4w-wwcw-mr6rGitHub Security AdvisoriesHigh
pyasn1: Uncontrolled resource consumption when converting decoded REAL values
- CVE-2026-59886Microsoft Security Response Center (MSRC)High
pyasn1: Uncontrolled resource consumption when converting decoded REAL values
- RHSA-2026:37094Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| pyasn1 | 0.0.10a ... 0.6.3 (41 versions) | 0.6.4 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 9× in last 7d / 13× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:25 UTCEPSS rescore
- 2026-07-21 15:25 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-16 17:03 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-14 16:40 UTCEG score recompute
- 2026-07-14 16:40 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Same CWE
10 shownCWE-400
Frequently asked(5)
What is CVE-2026-59886?
When was CVE-2026-59886 disclosed?
Is CVE-2026-59886 actively exploited?
What is the CVSS score of CVE-2026-59886?
How do I remediate CVE-2026-59886?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-59886
Is Your Infrastructure Affected by CVE-2026-59886?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.