REDHAT-BUG-2500041: High severity pypi/pyasn1 vulnerability

Published Jul 14, 2026
·
Updated

pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.4, the univ.Real type converted its mantissa, base, and exponent value to a Python float using exact big-integer exponentiation. A BER, CER, or DER encoded REAL value only a few bytes long can carry a very large exponent, causing float conversion through prettyPrint(), str(), comparison, arithmetic, int(), or an explicit float() call to consume excessive CPU and memory and hang applications that decode untrusted ASN.1 data and then print, log, or compare decoded objects. This issue is fixed in version 0.6.4.

Affected Software

1 affected component
pypi/pyasn1<0.6.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pyasn1 to a version that resolves this vulnerability.

    Fixed in 0.6.4

Event History

Jul 14, 2026
Data Sourced
via Red Hat·05:01 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2500041?

The severity of REDHAT-BUG-2500041 is rated as high with a score of 7.

2

How do I fix REDHAT-BUG-2500041?

To fix REDHAT-BUG-2500041, you should upgrade the pyasn1 library to version 0.6.4 or later.

3

What are the risks associated with REDHAT-BUG-2500041?

The risks associated with REDHAT-BUG-2500041 include potential security vulnerabilities related to the conversion of ASN.1 REAL values to Python floats.

4

Which software is affected by REDHAT-BUG-2500041?

The software affected by REDHAT-BUG-2500041 is the pyasn1 library in Python.

5

When was REDHAT-BUG-2500041 published?

REDHAT-BUG-2500041 was published on July 14, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203