CVE Vulnerabilities

CVE-2026-59886

Uncontrolled Resource Consumption

Published: Jul 14, 2026 | Modified: Jul 21, 2026
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 IMPORTANT
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product does not properly control the allocation and maintenance of a limited resource.

Affected Software

NameVendorStart VersionEnd Version
Pyasn1Pyasn1*0.6.4 (excluding)
Red Hat Ansible Automation Platform 2.5 for RHEL 8RedHatpython3.12-pyasn1-0:0.6.4-1.el8ap*
Red Hat Ansible Automation Platform 2.5 for RHEL 8RedHatautomation-controller-0:4.6.32-1.el8ap*
Red Hat Ansible Automation Platform 2.5 for RHEL 9RedHatpython3.12-pyasn1-0:0.6.4-1.el9ap*
Red Hat Ansible Automation Platform 2.5 for RHEL 9RedHatautomation-controller-0:4.6.32-1.el9ap*
Red Hat Ansible Automation Platform 2.6 for RHEL 9RedHatpython3.12-pyasn1-0:0.6.4-1.el9ap*
Red Hat Ansible Automation Platform 2.6 for RHEL 9RedHatautomation-controller-0:4.7.16-1.el9ap*
Red Hat Enterprise Linux 10RedHatpython-pyasn1-0:0.6.2-1.el10_2.1*
Red Hat Enterprise Linux 10.0 Extended Update SupportRedHatpython-pyasn1-0:0.6.2-1.el10_0.2*
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRedHatresource-agents-0:4.1.1-61.el7_9.24*
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRedHatresource-agents-0:4.1.1-61.el7_9.24*
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRedHatpython-pyasn1-0:0.1.9-7.el7_9.3*
Red Hat Enterprise Linux 8RedHatfence-agents-0:4.2.1-129.el8_10.29*
Red Hat Enterprise Linux 8RedHatpython-pyasn1-0:0.3.7-6.el8_10.2*
Red Hat Enterprise Linux 8RedHatresource-agents-0:4.9.0-54.el8_10.37*
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRedHatfence-agents-0:4.2.1-65.el8_4.32*
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRedHatpython-pyasn1-0:0.3.7-6.el8_4.2*
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRedHatresource-agents-0:4.1.1-90.el8_4.27*
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-OnRedHatfence-agents-0:4.2.1-65.el8_4.32*
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-OnRedHatpython-pyasn1-0:0.3.7-6.el8_4.2*
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-OnRedHatresource-agents-0:4.1.1-90.el8_4.27*
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRedHatfence-agents-0:4.2.1-89.el8_6.26*
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRedHatpython-pyasn1-0:0.3.7-6.el8_6.2*
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-OnRedHatfence-agents-0:4.2.1-89.el8_6.26*
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-OnRedHatpython-pyasn1-0:0.3.7-6.el8_6.2*
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-OnRedHatresource-agents-0:4.9.0-16.el8_6.24*
Red Hat Enterprise Linux 8.8 Telecommunications Update ServiceRedHatfence-agents-0:4.2.1-112.el8_8.21*
Red Hat Enterprise Linux 8.8 Telecommunications Update ServiceRedHatpython-pyasn1-0:0.3.7-6.el8_8.2*
Red Hat Enterprise Linux 8.8 Telecommunications Update ServiceRedHatresource-agents-0:4.9.0-40.el8_8.21*
Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionsRedHatfence-agents-0:4.2.1-112.el8_8.21*
Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionsRedHatpython-pyasn1-0:0.3.7-6.el8_8.2*
Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionsRedHatresource-agents-0:4.9.0-40.el8_8.21*
Red Hat Enterprise Linux 9RedHatfence-agents-0:4.10.0-110.el9_8.6*
Red Hat Enterprise Linux 9RedHatpython-pyasn1-0:0.4.8-7.el9_8.1*
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsRedHatfence-agents-0:4.10.0-43.el9_2.25*
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsRedHatpython-pyasn1-0:0.4.8-6.el9_2.2*
Red Hat Enterprise Linux 9.4 Update Services for SAP SolutionsRedHatfence-agents-0:4.10.0-62.el9_4.29*
Red Hat Enterprise Linux 9.4 Update Services for SAP SolutionsRedHatpython-pyasn1-0:0.4.8-6.el9_4.2*
Red Hat Enterprise Linux 9.6 Extended Update SupportRedHatfence-agents-0:4.10.0-86.el9_6.21*
Red Hat Enterprise Linux 9.6 Extended Update SupportRedHatpython-pyasn1-0:0.4.8-6.el9_6.2*
Red Hat AI Inference Server 3.3RedHatrhaiis/model-opt-cuda-rhel9:1787601159*
Red Hat Ansible Automation Platform 2.5RedHatansible-automation-platform-25/lightspeed-rhel8:1787229385*
Red Hat Ansible Automation Platform 2.6RedHatansible-automation-platform-26/lightspeed-chatbot-rhel9:1785646188*
Red Hat Ansible Automation Platform 2.6RedHatansible-automation-platform-26/lightspeed-rhel9:1785775360*
Red Hat Ansible Automation Platform 2.6RedHatansible-automation-platform-26/eda-controller-rhel9:1787021043*
Red Hat Ansible Automation Platform 2.6RedHatansible-automation-platform-26/gateway-rhel9:1787219751*
Red Hat Ansible Automation Platform 2.7RedHatansible-automation-platform-27/lightspeed-chatbot-rhel9:1785426734*
Red Hat Ansible Automation Platform 2.7RedHatansible-automation-platform-27/eda-controller-rhel9:1787163758*
Red Hat Ansible Automation Platform 2.7RedHatansible-automation-platform-27/ee-supported-rhel9:1787235693*
Red Hat Ansible Automation Platform 2.7RedHatansible-automation-platform-27/gateway-rhel9:1787218409*
Red Hat Ansible Automation Platform 2.7RedHatansible-automation-platform-27/lightspeed-rhel9:1787217531*
Red Hat Enterprise Linux AI 3.3RedHatrhelai3/disk-image-cuda-rhel9:1788290314*
Red Hat Enterprise Linux AI 3.3RedHatrhelai3/bootc-aws-cuda-rhel9:1788273908*
Red Hat Enterprise Linux AI 3.3RedHatrhelai3/bootc-azure-cuda-rhel9:1788273909*
Red Hat Enterprise Linux AI 3.3RedHatrhelai3/bootc-cuda-rhel9:1788260684*
Red Hat Enterprise Linux AI 3.3RedHatrhelai3/bootc-gcp-cuda-rhel9:1788273977*
Red Hat Hardened ImagesRedHatmariadb11-8-main-11.8.8-3.hum1*
Red Hat Migration Toolkit for Applications 8.2RedHatmta/mta-rhel9-operator:1786481481*
Red Hat OpenShift AI 3.4RedHatrhoai/odh-mlflow-rhel9:1787226790*
Red Hat OpenShift AI 3.4RedHatrhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9:1787073866*
Red Hat OpenShift AI 3.4RedHatrhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9:1787073873*
Red Hat OpenShift AI 3.4RedHatrhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9:1787073459*
Red Hat OpenShift AI 3.4RedHatrhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9:1787073611*
Red Hat OpenShift AI 3.4RedHatrhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9:1787073451*
Red Hat OpenShift AI 3.4RedHatrhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9:1787073451*
Red Hat OpenShift AI 3.4RedHatrhoai/odh-th06-cpu-torch210-py312-rhel9:1787076778*
Red Hat OpenShift AI 3.4RedHatrhoai/odh-th06-cuda130-torch210-py312-rhel9:1787077779*
Red Hat OpenShift AI 3.4RedHatrhoai/odh-th06-rocm64-torch291-py312-rhel9:1787076481*
Red Hat OpenShift AI 3.4RedHatrhoai/odh-training-cuda128-torch29-py312-rhel9:1786611803*
Red Hat OpenShift AI 3.4RedHatrhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9:1787121387*
Red Hat OpenShift AI 3.4RedHatrhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9:1787074331*
Red Hat OpenShift AI 3.4RedHatrhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9:1787073605*
Red Hat OpenShift AI 3.4RedHatrhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9:1787073546*
Red Hat OpenShift AI 3.4RedHatrhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9:1787073717*
Red Hat OpenShift AI 3.4RedHatrhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9:1787073713*
Red Hat OpenShift AI 3.4RedHatrhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9:1787073593*
Red Hat Quay 3.10RedHatquay/quay-rhel8:1786395065*
Red Hat Quay 3.12RedHatquay/quay-rhel8:1786170635*
Red Hat Quay 3.15RedHatquay/quay-rhel8:1785261506*
Red Hat Quay 3.16RedHatquay/quay-rhel9:1789563753*
Red Hat Quay 3.9RedHatquay/quay-rhel8:1785950004*
Red Hat Trusted Artifact Signer 1.3RedHatrhtas/segment-reporting-rhel9:1787305525*
Red Hat Trusted Artifact Signer 1.4RedHatrhtas/model-transparency-rhel9:1785420425*
Red Hat Update Infrastructure 5RedHatrhui5/rhua-rhel9:1788880581*
Pyasn1Ubuntujammy*
Pyasn1Ubuntunoble*
Pyasn1Ubunturesolute*
Pyasn1Ubuntuupstream*

Potential Mitigations

  • Mitigation of resource exhaustion attacks requires that the target system either:

  • The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question.

  • The second solution is simply difficult to effectively institute – and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.

References