// Security Advisory Triage

pyasn1 quadratic CPU consumption in BIT STRING decoding

GitHub advisories — pip · published 2026-11-01 06:07 UTC
ACTION NEEDED PATCH_NOW SECURITY
WHAT CHANGEDGitHub published GHSA-2qm8-x737-gmw5 (CVE-2026-119196) on 30 October 2026, rating pyasn1's constructed BIT STRING decoding as high severity for quadratic CPU consumption. First patched version is 0.6.5.
WHY IT MATTERSMalformed ASN.1 input can cause CPU exhaustion in any service parsing BIT STRINGs — X.509 certificates, SNMP messages, cryptographic material. Availability impact in authentication, monitoring, and identity stacks that depend on pyasn1.
WHAT TO DOGrep requirements files and lock files for pyasn1 versions below 0.6.5. If found, update to 0.6.5 in this cycle.
Model-reported confidence 85% (not measured accuracy) Primary source ↗ written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-2qm8-x737-gmw5
+summary: pyasn1 has quadratic CPU consumption in constructed BIT STRING decoding
+severity: high
+published_at: 2026-10-30T23:07:04Z
+cve_id: CVE-2026-119196
+vulnerabilities[].package.name: pyasn1
+vulnerabilities[].first_patched_version: 0.6.5
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.92, needed 0.5
triage reasoningNew high-severity DoS advisory for widely-used Python ASN.1 library with available patch.
signalsnew advisory published · high severity rating · pyasn1 is a core ASN.1 parsing library in Python dependency trees · quadratic CPU consumption is a DoS vector affecting availability · patched version available (0.6.5) · pyasn1 used by cryptography, SNMP, X.509 and identity stacks
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)