// Security Advisory Triage

pyasn1 quadratic-complexity DoS in binary REAL decoding patched in 0.6.5

GitHub advisories — pip · published 2026-11-01 06:08 UTC
ACTION NEEDED PATCH_NOW SECURITY
WHAT CHANGEDGitHub published GHSA-mm57-4v3p-rchx on 30 October 2026, a high-severity advisory for CVE-2026-119197 in pyasn1. The vulnerability is a quadratic-complexity denial of service in binary REAL decoding. Version 0.6.5 patches it.
WHY IT MATTERSpyasn1 is a core ASN.1 parsing library in Python dependency trees, used in network protocols, cryptography, and certificate handling. Quadratic complexity means an attacker can cause CPU exhaustion with crafted input, degrading or halting services that parse ASN.1 data.
WHAT TO DOCheck whether pyasn1 is in your dependency tree and whether you parse untrusted ASN.1 input. If yes, update to pyasn1 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-mm57-4v3p-rchx
+summary: pyasn1 has quadratic-complexity denial of service in binary REAL decoding
+severity: high
+published_at: 2026-10-30T23:06:46Z
+cve_id: CVE-2026-119197
+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 reasoningpyasn1 is a foundational Python library for ASN.1 decoding used across cryptography, LDAP, SNMP, and protocol stacks. DoS via parsing is actionable.
signalsnew advisory published · high severity rating · pyasn1 is a core ASN.1 parsing library in Python dependency trees · quadratic-complexity DoS affects parsing — common in network, crypto, and protocol handling · patched version available (0.6.5) · CVE assigned
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)