{"id":"CVE-2026-59886","published":"2026-07-14T16:38:29Z","modified":"2026-07-15T15:44:02Z","title":"pyasn1: Uncontrolled resource consumption when converting decoded REAL values","vendor":"pyasn1","product":"pyasn1","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00616,"percentile":0.43791,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/pyasn1/pyasn1/security/advisories/GHSA-hm4w-wwcw-mr6r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pyasn1/pyasn1/commit/e60c691cb91addb8fcefa2f537e85ede6fb1e886","tags":["x_refsource_MISC"]},{"url":"https://github.com/pyasn1/pyasn1/releases/tag/v0.6.4","tags":["x_refsource_MISC"]}],"priority":{"score":14.0,"factors":[{"name":"EPSS percentile","points":8.76},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"pyasn1","affectedVersions":[{"vendor":"pyasn1","product":"pyasn1","versions":["< 0.6.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-15T15:43:46.620953Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pyasn1","vulnerableRanges":["<0.6.4"],"patched":["0.6.4"],"from":["GHSA-hm4w-wwcw-mr6r","PYSEC-2026-3457"],"provenance":"source"}],"summary":{"text":"The pyasn1 Python ASN.1 library, prior to version 0.6.4, has an uncontrolled resource consumption flaw in its univ.Real type, which converts decoded REAL values to Python floats using exact big-integer exponentiation. An attacker who can supply a BER, CER, or DER encoded REAL value to an application that decodes untrusted ASN.1 data can cause excessive CPU and memory use and hang the application when it then prints, logs, compares, or otherwise converts the decoded object, with no authentication or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:09Z"},"euvd":{"id":"EUVD-2026-43738","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-30922","published":"2026-03-18","fixed":"0.6.3","kev":false,"link":{"from":"CVE-2026-30922","to":"CVE-2026-59886","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pyasn1","fromFixed":"0.6.3","toFixed":"0.6.4","daysApart":118}]}},{"cve":"CVE-2026-59884","published":"2026-07-14","fixed":"0.6.4","kev":false},{"cve":"CVE-2026-59885","published":"2026-07-14","fixed":"0.6.4","kev":false},{"cve":"CVE-2026-59886","published":"2026-07-14","fixed":"0.6.4","kev":false},{"cve":"CVE-2026-119194","published":"2026-10-29","fixed":"0.6.5","kev":false},{"cve":"CVE-2026-119195","published":"2026-10-29","fixed":"0.6.5","kev":false},{"cve":"CVE-2026-119196","published":"2026-10-29","fixed":"0.6.5","kev":false}],"package":"PyPI:pyasn1"}}