CVE-2026-119196
pyasn1: Quadratic CPU consumption in constructed BIT STRING decoding
Reported by github_m · Published October 29, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kubeflow-pipelines | Chainguard | 2.18.0-r1 |
| openstack-cinder-2026.2 | Chainguard | 29.0.1_git20261021-r4 |
| elastic-connectors-fips-9.5 | Chainguard | 9.5.6-r1 |
| nemo-skills | Chainguard | 0.7.0_git20260911-r12 |
| elastic-connectors-9.5 | Chainguard | 9.5.4-r7 |
| openstack-keystone-2026.1 | Chainguard | 29.0.1_git20261017-r5 |
| python3-pyasn1-modules | Amazon Linux | 0.4.8-4.amzn2023.0.6, 0.1.9-7.amzn2.0.6 |
| aws-cli-1 | Chainguard | 1.46.2-r1 |
| python2-pyasn1 | Amazon Linux | 0.1.9-7.amzn2.0.6 |
| elastic-connectors-8.19 | Chainguard | 8.19.23-r8 |
| nemo-gym | Chainguard | 0.5.0_rc0_git20260729-r14 |
| elastic-connectors-fips-8.19 | Chainguard | 8.19.23-r7 |
34 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| pyasn1 | pyasn1 | < 0.6.5 |
| chainguard | kubeflow-pipelines | 0 |
| chainguard | openstack-cinder-2026.2 | 0 |
| chainguard | elastic-connectors-fips-9.5 | 0 |
| chainguard | nemo-skills | 0 |
| chainguard | elastic-connectors-9.5 | 0 |
| chainguard | openstack-keystone-2026.1 | 0 |
| amazon:2 | python3-pyasn1-modules | 0 |
| chainguard | aws-cli-1 | 0 |
| amazon:2 | python2-pyasn1 | 0 |
| chainguard | elastic-connectors-8.19 | 0 |
| chainguard | nemo-gym | 0 |
| chainguard | elastic-connectors-fips-8.19 | 0 |
| chainguard | openstack-manila-2026.1 | 0 |
| chainguard | openstack-keystone-2026.2-fips | 0 |
| chainguard | openstack-keystone-2026.2 | 0 |
| chainguard | openstack-octavia-2026.1 | 0 |
| chainguard | openstack-octavia-2026.2 | 0 |
| chainguard | mlflow | 0 |
| chainguard | dbt-bigquery | 0 |
…and 35 more
Timeline
- Oct 29, 2026 CVE Published
- Oct 30, 2026 EPSS Score (8 in total, the first dated here)
- Oct 30, 2026 Coalition ESS Score
- Nov 4, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-119196
vulnetix vdb fixes CVE-2026-119196
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-119196/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/pyasn1/pyasn1/security/advisories/GHSA-2qm8-x737-gmw5 x_refsource_CONFIRM
- https://github.com/pyasn1/pyasn1/pull/132 x_refsource_MISC
- https://github.com/pyasn1/pyasn1/commit/73ba7b043cc7e92cb37f16f2c955bff93b0e6f6c x_refsource_MISC
- https://github.com/pyasn1/pyasn1/releases/tag/v0.6.5 x_refsource_MISC