High [CVE-2026-59886] Denial of Service via crafted ASN.1 REAL values
This high-severity Red Hat Linux advisory covers CVE-2026-59886 affecting Red Hat Ansible Automation Platform 2.5 for RHEL 8, Red Hat Ansible Automation Platform 2.5 for RHEL 9, Red Hat Ansible Automation Platform 2.6 for RHEL 9.
Android app · Google Play
Monitor future Red Hat Linux CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.
Summary
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. When the application subsequently prints, logs, compares, or performs arithmetic on the decoded value, this can cause excessive CPU and memory consumption, leading to a denial of service (DoS).
This flaw in pyasn1, rated as Important, could lead to a denial of service in Red Hat products that process untrusted ASN.1 data.
A remote attacker could send a specially crafted BER, CER, or DER encoded REAL value with a large exponent, causing applications to consume excessive resources during decoding operations such as printing, logging, or arithmetic, thereby rendering the service unavailable. Red Hat severity: Important — CVSS 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
Weakness: CWE-770.
- < 0.6.4
Official advisory · high-confidence parse· fetched 5 days ago·verify at source
- 0.6.4
- python3.12-pyasn1-0:0.6.4-1.el8ap
- automation-controller-0:4.6.32-1.el8ap
- python3.12-pyasn1-0:0.6.4-1.el9ap
- automation-controller-0:4.6.32-1.el9ap
- automation-controller-0:4.7.16-1.el9ap
- python-pyasn1-0:0.6.2-1.el10_2.1
- python-pyasn1-0:0.6.2-1.el10_0.2
- resource-agents-0:4.1.1-61.el7_9.24
- python-pyasn1-0:0.1.9-7.el7_9.3
- fence-agents-0:4.2.1-129.el8_10.29
- python-pyasn1-0:0.3.7-6.el8_10.2
- resource-agents-0:4.9.0-54.el8_10.37
- fence-agents-0:4.2.1-65.el8_4.32
- python-pyasn1-0:0.3.7-6.el8_4.2
- resource-agents-0:4.1.1-90.el8_4.27
- fence-agents-0:4.2.1-89.el8_6.26
- python-pyasn1-0:0.3.7-6.el8_6.2
- resource-agents-0:4.9.0-16.el8_6.24
- fence-agents-0:4.2.1-112.el8_8.21
- python-pyasn1-0:0.3.7-6.el8_8.2
- resource-agents-0:4.9.0-40.el8_8.21
- fence-agents-0:4.10.0-110.el9_8.6
- python-pyasn1-0:0.4.8-7.el9_8.1
- fence-agents-0:4.10.0-43.el9_2.25
- python-pyasn1-0:0.4.8-6.el9_2.2
- fence-agents-0:4.10.0-62.el9_4.29
- python-pyasn1-0:0.4.8-6.el9_4.2
- fence-agents-0:4.10.0-86.el9_6.21
- python-pyasn1-0:0.4.8-6.el9_6.2
- rhaiis/model-opt-cuda-rhel9:1787601159
- ansible-automation-platform-25/lightspeed-rhel8:1787229385
- ansible-automation-platform-26/lightspeed-chatbot-rhel9:1785646188
- ansible-automation-platform-26/lightspeed-rhel9:1785775360
- ansible-automation-platform-26/eda-controller-rhel9:1787021043
- ansible-automation-platform-26/gateway-rhel9:1787219751
- ansible-automation-platform-27/lightspeed-chatbot-rhel9:1785426734
- ansible-automation-platform-27/eda-controller-rhel9:1787163758
- ansible-automation-platform-27/ee-supported-rhel9:1787235693
- ansible-automation-platform-27/gateway-rhel9:1787218409
- ansible-automation-platform-27/lightspeed-rhel9:1787217531
- RHSA-2026:50319
- RHSA-2026:59135
- RHSA-2026:50336
- RHSA-2026:59136
- RHSA-2026:59243
- RHSA-2026:59238
- RHSA-2026:59329
- RHSA-2026:59240
- RHSA-2026:53363
Official advisory · high-confidence parse· fetched 5 days ago·verify at source
Mitigation checklist
- When processing untrusted ASN.1 data with pyasn1, avoid calling prettyPrint(), str(), float(), int(), or performing comparisons or arithmetic on decoded Real (ASN.1 REAL type) objects. Instead, inspect the raw (mantissa, base, exponent) tuple directly. Where logging decoded ASN.1 structures is necessary, filter out or sanitize Real-typed values before conversion.
Official advisory · high-confidence parse· fetched 5 days ago·verify at source
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.