Technical impact
The vulnerability stems from a quadratic-time algorithm used to decode binary REAL values in pyasn1. Each mantissa octet triggers a left shift, OR operation, and memory copy, so the total decoding time grows proportionally to the square of the mantissa length. An attacker can construct a REAL value with a very large mantissa, causing the decoder to consume a CPU core for seconds or even minutes, effectively denying service to legitimate users. This falls under CWE-407 and CWE-606.
Affected Systems
The issue affects the pyasn1 Python library, version 0.6.4 and earlier. Any systems or applications that import pyasn1 and process ASN.1 data from external or potentially hostile sources are vulnerable until the library is upgraded to version 0.6.5 or later.
Risk and Exploitability
The CVSS score of 7.5 indicates high severity, and the exploit is not currently listed in CISA’s KEV catalog. Because the flaw is triggered by specially crafted ASN.1 input, the attack vector is likely remote: an attacker can send data to any service that uses pyasn1 to decode incoming messages. The EPSS score of 0.425% indicates a very low exploitation probability, but the quadratic nature of the bug suggests that exploitation could consume significant resources, leading to a denial of service. There are no known prerequisite conditions beyond providing malformed data.
Github GHSA
Ubuntu USN