CVE-2026-59886

Source
https://cve.org/CVERecord?id=CVE-2026-59886
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59886.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-59886
Aliases
  • GHSA-hm4w-wwcw-mr6r
Downstream
Published
2026-07-14T16:38:29.691Z
Modified
2026-07-16T03:48:44.949271164Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
pyasn1: Uncontrolled resource consumption when converting decoded REAL values
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-400",
        "CWE-770"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59886.json"
}
References

Affected packages

Git / github.com/pyasn1/pyasn1

Affected ranges

Type
GIT
Repo
https://github.com/pyasn1/pyasn1
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.6.4"
        }
    ]
}

Affected versions

0.*
0.2.3
v0.*
v0.2.1
v0.2.2
v0.3.1
v0.3.2
v0.3.3
v0.3.4
v0.3.5
v0.3.6
v0.3.7
v0.4.1
v0.4.2
v0.4.3
v0.4.4
v0.4.5
v0.4.6
v0.4.7
v0.4.8
v0.5.0
v0.5.1
v0.6.0
v0.6.1
v0.6.2
v0.6.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59886.json"