CVE-2026-59886: pyasn1 · Uncontrolled resource consumption when converting decoded REAL values
Affects duplicitySource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 3.1.0_2 or 0.8.03 soon.
Data as of 1 Nov 2026, 02:06 UTC
- Patch
- Available – fixed in 3.1.0_2, 0.8.03
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 13 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 31 Oct 2026.
What to do
Upgrade duplicity to 3.1.0_2 or 0.8.03.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewduplicitypkg:brew/duplicityOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in pyasn1 versions 0.8.03 and 3.1.0_2. Users should upgrade to these or later versions to remediate the vulnerability. As a workaround, avoid converting, printing, or comparing decoded Real objects from untrusted sources; instead, inspect the raw (mantissa, base, exponent) tuple to prevent triggering the float conversion.
Description
CVE-2026-59886 is a denial-of-service vulnerability in the pyasn1 library affecting the univ.Real type. The issue arises when converting decoded ASN.1 REAL values with very large exponents to Python floats, causing excessive CPU and memory consumption that can hang the process. This affects operations such as printing, logging, comparing, or arithmetic on these decoded values. The vulnerability is fixed in pyasn1 versions 0.8.03 and 3.1.0_2.
References
- github.com/pyasn1/pyasn1/security/advisories/GHSA-hm4w-wwcw-mr6r (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-59886 (opens in a new tab)
- github.com/pyasn1/pyasn1/commit/e60c691cb91addb8fcefa2f537e85ede6fb1e886 (opens in a new tab)
- github.com/pyasn1/pyasn1 (opens in a new tab)
- github.com/pyasn1/pyasn1/releases/tag/v0.6.4 (opens in a new tab)