CVE-2026-23490

pyasn1 has a DoS vulnerability in decoder

Published Jan 16, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.2, a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets. This vulnerability is fixed in 0.6.2.

Analysis

AI-generated

Technical impact

A malformed RELATIVE-OID containing excessive continuation octets can cause the pyasn1 decoder to allocate large amounts of memory, leading to a denial of service. This is a CWE‑770 issue – Excessive Resource Consumption – affecting releases prior to 0.6.2 and fixed in 0.6.2. A successful exploitation would exhaust system memory, potentially halting a Python process or system component that relies on pyasn1.

Affected Systems

The vulnerability affects the pyasn1 package for Python, specifically any installations using a version earlier than 0.6.2. Debian 11.0 packages that ship the older library are also impacted, as noted in the Debian LTS announcement. Any host or service that imports pyasn1 and processes input ASN.1 data could be exposed.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity, but the EPSS score of <1% indicates a very low likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. Attackers would need to supply or otherwise influence the malformed data that triggers memory exhaustion; the exact attack vector depends on the application’s use of pyasn1 and is inferred rather than explicitly provided.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to pyasn1 version 0.6.2 or newer
  • Restrict or sanitize ASN.1 input to reject RELATIVE-OID values with excessive continuation octets
  • Implement monitoring to detect abnormal memory usage by pyasn1 and trigger alerts or mitigation actions

Generated by OpenCVE AI on April 18, 2026 at 19:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4463-1 pyasn1 security update
Debian DSA Debian DSA DSA-6114-1 pyasn1 security update
Github GHSA Github GHSA GHSA-63vm-454h-vhhq pyasn1 has a DoS vulnerability in decoder
Ubuntu USN Ubuntu USN USN-7975-1 pyasn1 vulnerability
Ubuntu USN Ubuntu USN USN-8134-1 pyasn1 vulnerabilities
References
Link Providers
https://access.redhat.com/errata/RHSA-2026:13508 cve-icon
https://access.redhat.com/errata/RHSA-2026:13512 cve-icon
https://access.redhat.com/errata/RHSA-2026:13545 cve-icon
https://access.redhat.com/errata/RHSA-2026:13553 cve-icon
https://access.redhat.com/errata/RHSA-2026:14020 cve-icon
https://access.redhat.com/errata/RHSA-2026:17446 cve-icon
https://access.redhat.com/errata/RHSA-2026:17595 cve-icon
https://access.redhat.com/errata/RHSA-2026:17611 cve-icon
https://access.redhat.com/errata/RHSA-2026:1903 cve-icon
https://access.redhat.com/errata/RHSA-2026:1904 cve-icon
https://access.redhat.com/errata/RHSA-2026:1905 cve-icon
https://access.redhat.com/errata/RHSA-2026:1906 cve-icon
https://access.redhat.com/errata/RHSA-2026:19712 cve-icon
https://access.redhat.com/errata/RHSA-2026:2221 cve-icon
https://access.redhat.com/errata/RHSA-2026:2299 cve-icon
https://access.redhat.com/errata/RHSA-2026:2300 cve-icon
https://access.redhat.com/errata/RHSA-2026:2302 cve-icon
https://access.redhat.com/errata/RHSA-2026:2303 cve-icon
https://access.redhat.com/errata/RHSA-2026:2309 cve-icon
https://access.redhat.com/errata/RHSA-2026:24476 cve-icon
https://access.redhat.com/errata/RHSA-2026:24483 cve-icon
https://access.redhat.com/errata/RHSA-2026:2453 cve-icon
https://access.redhat.com/errata/RHSA-2026:2460 cve-icon
https://access.redhat.com/errata/RHSA-2026:2483 cve-icon
https://access.redhat.com/errata/RHSA-2026:2486 cve-icon
https://access.redhat.com/errata/RHSA-2026:24866 cve-icon
https://access.redhat.com/errata/RHSA-2026:24977 cve-icon
https://access.redhat.com/errata/RHSA-2026:2712 cve-icon
https://access.redhat.com/errata/RHSA-2026:2758 cve-icon
https://access.redhat.com/errata/RHSA-2026:28042 cve-icon
https://access.redhat.com/errata/RHSA-2026:30088 cve-icon
https://access.redhat.com/errata/RHSA-2026:3354 cve-icon
https://access.redhat.com/errata/RHSA-2026:3359 cve-icon
https://access.redhat.com/errata/RHSA-2026:37275 cve-icon
https://access.redhat.com/errata/RHSA-2026:3958 cve-icon
https://access.redhat.com/errata/RHSA-2026:3959 cve-icon
https://access.redhat.com/errata/RHSA-2026:39894 cve-icon
https://access.redhat.com/errata/RHSA-2026:4138 cve-icon
https://access.redhat.com/errata/RHSA-2026:4139 cve-icon
https://access.redhat.com/errata/RHSA-2026:4140 cve-icon
https://access.redhat.com/errata/RHSA-2026:4141 cve-icon
https://access.redhat.com/errata/RHSA-2026:4142 cve-icon
https://access.redhat.com/errata/RHSA-2026:4143 cve-icon
https://access.redhat.com/errata/RHSA-2026:4144 cve-icon
https://access.redhat.com/errata/RHSA-2026:4145 cve-icon
https://access.redhat.com/errata/RHSA-2026:4146 cve-icon
https://access.redhat.com/errata/RHSA-2026:4147 cve-icon
https://access.redhat.com/errata/RHSA-2026:4148 cve-icon
https://access.redhat.com/errata/RHSA-2026:41928 cve-icon
https://access.redhat.com/errata/RHSA-2026:42644 cve-icon
https://access.redhat.com/errata/RHSA-2026:4943 cve-icon
https://access.redhat.com/errata/RHSA-2026:54757 cve-icon
https://access.redhat.com/errata/RHSA-2026:5606 cve-icon
https://access.redhat.com/security/cve/CVE-2026-23490 cve-icon
https://bugzilla.redhat.com/show_bug.cgi?id=2430472 cve-icon
https://github.com/pyasn1/pyasn1/commit/3908f144229eed4df24bd569d16e5991ace44970 cve-icon cve-icon cve-icon
https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2 cve-icon cve-icon cve-icon
https://github.com/pyasn1/pyasn1/security/advisories/GHSA-63vm-454h-vhhq cve-icon cve-icon cve-icon
https://lists.debian.org/debian-lts-announce/2026/02/msg00002.html cve-icon
https://nvd.nist.gov/vuln/detail/CVE-2026-23490 cve-icon
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23490.json cve-icon
https://www.cve.org/CVERecord?id=CVE-2026-23490 cve-icon
History
Type Values Removed Values Added
First Time appeared Debian
Debian debian Linux
CPEs cpe:2.3:a:pyasn1:pyasn1:*:*:*:*:*:python:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
Vendors & Products Debian
Debian debian Linux
Type Values Removed Values Added
First Time appeared Pyasn1
Pyasn1 pyasn1
Vendors & Products Pyasn1
Pyasn1 pyasn1
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.2, a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets. This vulnerability is fixed in 0.6.2.
Title pyasn1 has a DoS vulnerability in decoder
Weaknesses CWE-770
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 17, 2026, 12:04 PM
Reserved
Jan 13, 2026, 3:47 PM
Status
Modified
Published
Jan 16, 2026, 7:16 PM
Modified
Sep 9, 2026, 1:18 PM
Severity
Important
Public date
Jan 16, 2026, 7:03 PM