← VULNERABILITIES

DHI-p3uf-qss3-wvol-lj6y

pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.5, binary REAL decoding builds a large mantissa one octet at…

UnscoredFix available
CVSS
—
EPSS
—
Published
2026-11-20
Age
11d old
Modified
2026-12-01
Product
Docker Hardened Images:Alpine:3.24 ansible-operator-runtime

Description

pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.5, binary REAL decoding builds a large mantissa one octet at a time by shifting a growing integer and slicing the remaining byte string. Attacker-controlled ASN.1 includes a binary-encoded REAL with a large mantissa and reaches BER, CER, or DER decode(), with or without a schema containing REAL. RealPayloadDecoder.valueDecoder repeatedly performs a left shift, OR, and suffix copy for every mantissa octet, making decode time quadratic in mantissa length. A comparatively small REAL value can hold a decoding worker on one CPU core for seconds or longer and cause availability loss. This issue is fixed in version 0.6.5.

Fixed in

2.13.3-0 · 2.13.3-r0

Affected packages

EcosystemPackageRangeFixed
Docker Hardened Images:Alpine:3.24k8s-sidecar>=0, <2.13.3-r02.13.3-r0
Docker Hardened Images:Debian:13k8s-sidecar>=0, <2.13.3-02.13.3-0

Sources

  • OSV · first seen 10d ago · CC-BY 4.0

References

JSON