Allocation of Resources Without Limits or Throttling Affecting python2-pyasn1-modules package, versions <0:0.1.9-7.amzn2.0.6


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.55% (47th 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-AMZN2-PYTHON2PYASN1MODULES-22520875
  • published13 Nov 2026
  • disclosed29 Oct 2026

Introduced: 29 Oct 2026

CVE-2026-119196  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 python2-pyasn1-modules to version 0:0.1.9-7.amzn2.0.6 or higher.
This issue was patched in ALAS2-2026-4104.

NVD Description

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

pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.5, constructed BIT STRING decoding repeatedly shifts and copies the complete bit value accumulated from earlier fragments. Attacker-controlled BER or CER input contains many constructed BIT STRING fragments; schema-driven DER also accepts a definite-length constructed BIT STRING. BitStringPayloadDecoder repeatedly calls BitString.fromOctetString with the prior bitString as prepend, shifting an ever-growing SizedInteger for each fragment and causing quadratic work. Large fragmented values can exhaust CPU during decode() without requiring later conversion or formatting. This issue is fixed in version 0.6.5.

CVSS Base Scores

version 3.1