CVE-2026-59886
pyasn1: Uncontrolled resource consumption when converting decoded REAL values
Reported by github_m · Published July 14, 2026
pyasn1 is fixed in 0.6.4 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| pyasn1 | PyPI | 0.6.4 |
| fence-agents-azure-arm | errata.rockylinux.org | 4.10.0-110.el9 |
| fence-virtd-tcp-debuginfo | errata.rockylinux.org | 4.10.0-110.el9 |
| mlflow | Chainguard | 3.16.0-r0, 3.15.0-r1 |
| spamcheck | Chainguard | 3.5.3-r11 |
| request-1276 | Chainguard | 0.29.1-r2 |
| python3-pyasn1 | errata.rockylinux.org | 0.6.2-1.el10, 0.4.8-7.el9 |
| python-pyasn1 | errata.rockylinux.org | 0.6.2-1.el10, 0.4.8-7.el9, 0.3.7-6.el8 |
| fence-agents-ilo-mp | errata.rockylinux.org | 4.10.0-110.el9, 4.2.1-129.el8 |
| kubeflow-jupyter-web-app | Chainguard | 1.10.0-r23 |
| fence-agents-rsb | errata.rockylinux.org | 4.2.1-129.el8 |
| fence-agents-aws | errata.rockylinux.org | 4.2.1-129.el8 |
60 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| pyasn1 | pyasn1 | < 0.6.4 |
| chainguard | mlflow | 0, 0 |
| chainguard | spamcheck | 0 |
| chainguard | request-1276 | 0 |
| chainguard | kubeflow-jupyter-web-app | 0 |
| wolfi | kubeflow-jupyter-web-app | 0 |
| chainguard | duplicity | 0 |
| chainguard | label-studio | 0 |
| amazon:2023 | python-pyasn1-doc | 0 |
| PyPI | pyasn1 | 0 |
| wolfi | kubeflow-pipelines | 0, 0 |
| chainguard | superset-6.1 | 0 |
| chainguard | metaflow-service-fips | 0 |
| chainguard | awx | 0 |
| wolfi | kubeflow-volumes-web-app | 0 |
| chainguard | wazuh-manager | 0 |
| amazon:2023 | python3-pyasn1-modules | 0 |
| chainguard | kubeflow-pipelines | 0, 0 |
| chainguard | azureml-inference-server-http-fips | 0 |
| chainguard | authentik-2026.5 | 0 |
…and 59 more
Timeline
- Jul 14, 2026 Coalition ESS Score
- Jul 14, 2026 CVE Published
- Aug 1, 2026 Security Advisory (25 in total, the first dated here)
- Aug 7, 2026 EPSS Score (30 in total, the first dated here)
- Aug 7, 2026 Distribution Patch (30 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-59886
vulnetix vdb fixes CVE-2026-59886
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-59886/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/pyasn1/pyasn1/security/advisories/GHSA-hm4w-wwcw-mr6r x_refsource_CONFIRM
- https://github.com/pyasn1/pyasn1/commit/e60c691cb91addb8fcefa2f537e85ede6fb1e886 x_refsource_MISC
- https://github.com/pyasn1/pyasn1/releases/tag/v0.6.4 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-59886 advisory
- https://github.com/advisories/GHSA-hm4w-wwcw-mr6r advisory