PatchSiren cyber security CVE debrief
CVE-2026-59886 pyasn1 CVE debrief
The pyasn1 library for Python, prior to version 0.6.4, is vulnerable to excessive CPU and memory consumption when decoding untrusted ASN.1 data. The univ.Real type converted its mantissa, base, and exponent value to a Python float using exact big-integer exponentiation, which can cause applications to hang when printing, logging, or comparing decoded objects. This issue is fixed in version 0.6.4. Developers and administrators using the pyasn1 library in their applications, especially those handling ASN.1 data, should be aware of this vulnerability and take steps to mitigate it.
- Vendor
- pyasn1
- Product
- Unknown
- CVSS
- HIGH 7.5
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-07-14
- Original CVE updated
- 2026-07-21
- Advisory published
- 2026-07-14
- Advisory updated
- 2026-07-21
Who should care
Developers and administrators using the pyasn1 library in their applications, especially those handling ASN.1 data, should be aware of this vulnerability and take steps to mitigate it. This includes reviewing the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance, and planning vendor-supported updates or mitigations through normal change control where exposure is confirmed.
Technical summary
The pyasn1 library for Python, prior to version 0.6.4, has a vulnerability in the univ.Real type conversion. When decoding untrusted ASN.1 data, the conversion of mantissa, base, and exponent values to a Python float using exact big-integer exponentiation can cause excessive CPU and memory consumption. This can lead to application hangs when printing, logging, or comparing decoded objects. The vulnerability is fixed in version 0.6.4. Developers and administrators using the pyasn1 library in their applications, especially those handling ASN.1 data, should be aware of this vulnerability and take steps to mitigate it.
Defensive priority
High
Recommended defensive actions
- Upgrade pyasn1 to version 0.6.4 or later
- Limit exposure to untrusted ASN.1 data
- Implement input validation and sanitization for ASN.1 data
- Monitor applications for excessive CPU and memory consumption
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
Evidence notes
The CVE record was published on 2026-07-14T17:17:15.010Z and was last modified on 2026-07-21T14:38:13.080Z. The NVD entry is currently Analyzed. This issue is related to the pyasn1 library for Python, which is vulnerable to excessive CPU and memory consumption when decoding untrusted ASN.1 data. The vulnerability is caused by the univ.Real type converting its mantissa, base, and exponent value to a Python float using exact big-integer exponentiation. This can cause applications to hang when printing, logging, or comparing decoded objects. The CVE record was published on 2026-07-14T17:17:15.010Z and has not been modified since then.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-59886 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-59886
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-59886 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-59886
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/pyasn1/pyasn1/commit/e60c691cb91addb8fcefa2f537e85ede6fb1e886
[email protected] - Patch
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/pyasn1/pyasn1/releases/tag/v0.6.4
[email protected] - Release Notes
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/pyasn1/pyasn1/security/advisories/GHSA-hm4w-wwcw-mr6r
[email protected] - Third Party Advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.