Attacker-controlled ASN.1 includes a binary-encoded REAL with a large mantissa and reaches BER, CER, or DER decode(), with or without a schema containing REAL.
- 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, binary REAL decoding builds a large mantissa one octet at a time by shifting a growing integer and slicing the remaining byte string. Attacker-controlled ASN.1 includes a binary-encoded REAL with a large mantissa and reaches BER, CER, or DER decode(), with or without a schema containing REAL. RealPayloadDecoder.valueDecoder repeatedly performs a left shift, OR, and suffix copy for every mantissa octet, making decode time quadratic in mantissa length. A comparatively small REAL value can hold a decoding worker on one CPU core for seconds or longer and cause availability loss. This issue is fixed in version 0.6.5.
Affected products
Get alerts for these →Timeline 23
Latest change: Nessus plugin 390115: AlmaLinux 8 : resource-agents (ALSA-2026:104761) (Nov 30, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Tue, Dec 1, 2026
- DetectionNessus plugin 390115: AlmaLinux 8 : resource-agents (ALSA-2026:104761)Tenable
- DetectionNessus plugin 389841: RHEL 9 : python-pyasn1 (RHSA-2026:104730)Tenable
- DetectionNessus plugin 389816: RHEL 9 : fence-agents (RHSA-2026:104780)Tenable
- DetectionNessus plugin 390118: AlmaLinux 8 : python-pyasn1 (ALSA-2026:104949)Tenable
- DetectionNessus plugin 389848: RHEL 10 : python-pyasn1 (RHSA-2026:104727)Tenable
- DetectionNessus plugin 389825: RHEL 10 : python-pyasn1 (RHSA-2026:104724)Tenable
- DetectionNessus plugin 389852: RHEL 9 : python-pyasn1 (RHSA-2026:104725)Tenable
- DetectionNessus plugin 389826: RHEL 8 : resource-agents (RHSA-2026:105826)Tenable
- DetectionNessus plugin 389879: RHEL 9 : python-pyasn1 (RHSA-2026:104732)Tenable
Mon, Nov 30, 2026
- DetectionNessus plugin 388806: RHEL 8 : python-pyasn1 (RHSA-2026:104953)Tenable
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-complexity denial of service in binary REAL decodingGitHub Advisories · 23:06 UTC
- DetectionNessus plugin 374248: Linux Distros Unpatched Vulnerability : CVE-2026-119197Tenable
Thu, Oct 29, 2026
- CVECVE-2026-119197 published (CVSS 7.5)CVE Program · 20:17 UTC
References 4
- github.com /pyasn1/pyasn1/commit/ce3ec3390784780a530047e0e77be5ff457636a4
- github.com /pyasn1/pyasn1/pull/132
- github.com /pyasn1/pyasn1/releases/tag/v0.6.5
- github.com /pyasn1/pyasn1/security/advisories/GHSA-mm57-4v3p-rchx