CVE-2026-59885: pyasn1 · Quadratic complexity in OBJECT IDENTIFIER and RELATIVE-OID processing allows denial of service
Affects ansibleSource GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 7.5 High : upgrade to 14.1.0_1 soon.
Data as of 1 Nov 2026, 02:05 UTC
- Patch
- Available – fixed in 14.1.0_1
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 ansible to 14.1.0_1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewansiblepkg:brew/ansibleOther 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 patch is available in pyasn1 version 0.6.4 that fixes the quadratic complexity issue by optimizing arc accumulation to linear time. Users should upgrade to version 0.6.4 or later. As a workaround, limit the size of untrusted ASN.1 input before decoding to reduce the risk of denial of service.
Description
A vulnerability in pyasn1's BER/CER/DER decoders and encoders causes quadratic time complexity when processing OBJECT IDENTIFIER and RELATIVE-OID values with many arcs. This can lead to denial of service by consuming excessive CPU resources when decoding or encoding crafted ASN.1 data. The issue affects multiple codecs and is fixed in pyasn1 version 0.6.4. Users should limit the size of untrusted ASN.1 input as a workaround.
References
- github.com/pyasn1/pyasn1/security/advisories/GHSA-8ppf-4f7h-5ppj (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-59885 (opens in a new tab)
- github.com/pyasn1/pyasn1/commit/45bdb19eb7df4b3780fe9c912c63e99bffc39dd9 (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)