Excessive Platform Resource Consumption within a Loop Affecting python-pyasn1-doc package, versions <0:0.4.8-4.amzn2023.0.5


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.62% (48th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-PYTHONPYASN1DOC-18529298
  • published5 Aug 2026
  • disclosed14 Jul 2026

Introduced: 14 Jul 2026

CVE-2026-59885  (opens in a new tab)
CWE-1050  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 python-pyasn1-doc to version 0:0.4.8-4.amzn2023.0.5 or higher.
This issue was patched in ALAS2023-2026-2000.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-pyasn1-doc package and not the python-pyasn1-doc package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.4, the BER, CER, and DER decoders process OBJECT IDENTIFIER and RELATIVE-OID values in quadratic time relative to the number of arcs, so a small crafted payload containing an OID with many arcs consumes excessive CPU per decode() call and can deny service to applications that decode untrusted ASN.1 data. The corresponding encoders have the same quadratic behavior when an application re-encodes previously decoded attacker-supplied values. This issue is fixed in version 0.6.4.

CVSS Base Scores

version 3.1