OESA-2026-3198

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2026-3198
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2026-3198.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2026-3198
Upstream
Published
2026-08-01T16:42:33Z
Modified
2026-07-31T16:45:08.676313258Z
Summary
python-pyasn1 security update
Details

Abstract Syntax Notation One (ASN.1) is a technology for exchanging structured data in a universally understood, hardware agnostic way. Many industrial, security and telephony applications heavily rely on ASN.1. The pyasn1 library implements ASN.1 support in pure-Python.

Security Fix(es):

pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.4, the BER decoder shared by the CER and DER codecs parses long-form tags by accumulating continuation octets without an upper bound on the tag ID size, allowing a crafted input to force construction of an arbitrarily large integer with CPU cost growing quadratically and to trigger unhandled ValueError exceptions in Python 3.11+ error formatting paths. Any application decoding untrusted BER, CER, or DER input is affected. This issue is fixed in version 0.6.4.(CVE-2026-59884)

pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.4, the BER, CER, and DER decoders process OBJECT IDENTIFIER and RELATIVE-OID values in quadratic time relative to the number of arcs, so a small crafted payload containing an OID with many arcs consumes excessive CPU per decode() call and can deny service to applications that decode untrusted ASN.1 data. The corresponding encoders have the same quadratic behavior when an application re-encodes previously decoded attacker-supplied values. This issue is fixed in version 0.6.4.(CVE-2026-59885)

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.(CVE-2026-59886)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:20.03-LTS-SP4
python-pyasn1

Package

Name
python-pyasn1
Purl
pkg:rpm/openEuler/python-pyasn1&distro=openEuler-20.03-LTS-SP4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.4.8-3.oe2003sp4

Ecosystem specific

{
    "src": [
        "python-pyasn1-0.4.8-3.oe2003sp4.src.rpm"
    ],
    "noarch": [
        "python-pyasn1-help-0.4.8-3.oe2003sp4.noarch.rpm",
        "python2-pyasn1-0.4.8-3.oe2003sp4.noarch.rpm",
        "python3-pyasn1-0.4.8-3.oe2003sp4.noarch.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2026-3198.json"
openEuler:22.03-LTS-SP4
python-pyasn1

Package

Name
python-pyasn1
Purl
pkg:rpm/openEuler/python-pyasn1&distro=openEuler-22.03-LTS-SP4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.4.8-6.oe2203sp4

Ecosystem specific

{
    "src": [
        "python-pyasn1-0.4.8-6.oe2203sp4.src.rpm"
    ],
    "noarch": [
        "python-pyasn1-help-0.4.8-6.oe2203sp4.noarch.rpm",
        "python3-pyasn1-0.4.8-6.oe2203sp4.noarch.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2026-3198.json"
openEuler:24.03-LTS-SP1
python-pyasn1

Package

Name
python-pyasn1
Purl
pkg:rpm/openEuler/python-pyasn1&distro=openEuler-24.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.5.1-4.oe2403sp1

Ecosystem specific

{
    "src": [
        "python-pyasn1-0.5.1-4.oe2403sp1.src.rpm"
    ],
    "noarch": [
        "python-pyasn1-help-0.5.1-4.oe2403sp1.noarch.rpm",
        "python3-pyasn1-0.5.1-4.oe2403sp1.noarch.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2026-3198.json"
openEuler:24.03-LTS-SP3
python-pyasn1

Package

Name
python-pyasn1
Purl
pkg:rpm/openEuler/python-pyasn1&distro=openEuler-24.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.5.1-4.oe2403sp3

Ecosystem specific

{
    "src": [
        "python-pyasn1-0.5.1-4.oe2403sp3.src.rpm"
    ],
    "noarch": [
        "python-pyasn1-help-0.5.1-4.oe2403sp3.noarch.rpm",
        "python3-pyasn1-0.5.1-4.oe2403sp3.noarch.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2026-3198.json"
openEuler:24.03-LTS-SP4
python-pyasn1

Package

Name
python-pyasn1
Purl
pkg:rpm/openEuler/python-pyasn1&distro=openEuler-24.03-LTS-SP4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.5.1-4.oe2403sp4

Ecosystem specific

{
    "src": [
        "python-pyasn1-0.5.1-4.oe2403sp4.src.rpm"
    ],
    "noarch": [
        "python-pyasn1-help-0.5.1-4.oe2403sp4.noarch.rpm",
        "python3-pyasn1-0.5.1-4.oe2403sp4.noarch.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2026-3198.json"