Attacker-controlled BER or CER input contains many constructed BIT STRING fragments; schema-driven DER also accepts a definite-length constructed BIT STRING.
- CVSS
- 7.5High
- Chance of exploitation (EPSS)
- 0.55%
- Published
- Oct 29, 2026
- In the news
- 2 stories
What to do
A serious security flaw in Pyasn1 that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Affected versions
- Pyasn1
- < 0.6.5
Description
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.
Affected products
Get alerts for these →Timeline 24
Latest change: Nessus plugin 389881: RHEL 8 : resource-agents (RHSA-2026:105827) (Nov 30, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Tue, Dec 1, 2026
- DetectionNessus plugin 389881: RHEL 8 : resource-agents (RHSA-2026:105827)Tenable
- DetectionNessus plugin 389830: RHEL 9 : python-pyasn1 (RHSA-2026:104715)Tenable
- DetectionNessus plugin 389901: RHEL 8 : resource-agents (RHSA-2026:105825)Tenable
- DetectionNessus plugin 389835: RHEL 9 : python-pyasn1 (RHSA-2026:104716)Tenable
- DetectionNessus plugin 389791: RockyLinux 9 : python-pyasn1 (RLSA-2026:104732)Tenable
- DetectionNessus plugin 390118: AlmaLinux 8 : python-pyasn1 (ALSA-2026:104949)Tenable
Mon, Nov 30, 2026
- DetectionNessus plugin 388806: RHEL 8 : python-pyasn1 (RHSA-2026:104953)Tenable
Fri, Nov 27, 2026
Wed, Nov 25, 2026
Tue, Nov 24, 2026
Mon, Nov 23, 2026
Thu, Nov 12, 2026
Tue, Nov 10, 2026
Mon, Nov 9, 2026
- AdvisoryUSN-9011-1: pyasn1 vulnerabilitiesUbuntu · 16:15 UTC
- DetectionNessus plugin 377888: TencentOS Server 4: python-pyasn1 (TSSA-2026:1349)Tenable
Fri, Oct 30, 2026
- Researchpyasn1: pyasn1 has quadratic CPU consumption in constructed BIT STRING decodingGitHub Advisories · 23:07 UTC
- Researchpyasn1: pyasn1 has quadratic-time denial of service in constructed string and indefinite-length ANY decodingGitHub Advisories · 23:03 UTC
- DetectionNessus plugin 374106: Linux Distros Unpatched Vulnerability : CVE-2026-119196Tenable
Thu, Oct 29, 2026
- CVECVE-2026-119196 published (CVSS 7.5)CVE Program · 20:17 UTC
References 5
- github.com /pyasn1/pyasn1/commit/73ba7b043cc7e92cb37f16f2c955bff93b0e6f6c
- github.com /pyasn1/pyasn1/pull/132
- github.com /pyasn1/pyasn1/releases/tag/v0.6.5
- github.com /pyasn1/pyasn1/security/advisories/GHSA-2qm8-x737-gmw5
- github.com /pyasn1/pyasn1/security/advisories/GHSA-2qm8-x737-gmw5