Critical Denial of Service Vulnerability in python3-pyasn1 and python3-pyasn1-modules

python3-pyasn1 Updated 04 Mar 2026

Summary

25/02/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:3354: Important: python-pyasn1 security update. Affects python3-pyasn1 versions < 0.6.2-1.el10_1. Fixed in 0.6.2-1.el10_1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Python is a widely-used interpreted programming language known for its versatility and ease of use. The python3-pyasn1 package provides a pure-Python implementation of ASN.1 (Abstract Syntax Notation One) data structures, while python3-pyasn1-modules offers additional modules for ASN.1 data types. Both packages are essential for applications that require encoding and decoding of ASN.1 data. However, a vulnerability has been identified that could lead to a Denial of Service (DoS) due to memory exhaustion when processing malformed RELATIVE-OID inputs.

Vulnerability Detail

The vulnerability, identified as CVE-2026-23490, stems from the pyasn1 library's inability to handle malformed RELATIVE-OID inputs properly. This oversight can lead to excessive memory consumption, potentially crashing the application or making it unresponsive. Attackers can exploit this vulnerability by sending specially crafted inputs, resulting in a Denial of Service condition. It is crucial for developers and system administrators to address this issue promptly to maintain application stability and security.

How To Fix

Minimum fixed version

0.6.2-1.el10_1

This is the first release that contains the fix.

sudo dnf update python3-pyasn1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can implement input validation to filter out malformed RELATIVE-OID inputs before they reach the pyasn1 processing stage. This can help mitigate the risk of triggering the vulnerability until the packages are updated.

Conclusion

The vulnerability in python3-pyasn1 and python3-pyasn1-modules poses a significant risk due to the potential for Denial of Service attacks. It is essential for users of these packages to update to the latest patched versions and consider implementing input validation as a temporary measure to safeguard their applications.

See every vulnerability recorded for python3-pyasn1 →

Share this vulnerability

FAQ

CVE-2026-23490 is a security vulnerability in the pyasn1 library that allows for Denial of Service due to memory exhaustion from malformed RELATIVE-OID inputs.

You can check if your application is affected by using Vulert, which monitors open-source vulnerabilities in your software. Visit Vulert Scanner to use the Vulert playground without signup.

The primary consequence of this vulnerability is a Denial of Service, where the application may become unresponsive or crash due to excessive memory consumption.

It is recommended to regularly check for updates to your packages and apply security patches as soon as they are available to mitigate vulnerabilities.

Implementing input validation can help prevent malformed inputs from being processed, thus reducing the risk of exploitation until the packages are updated.

Related vulnerabilities

Recent vulnerabilities recorded for python3-pyasn1.

How To Fix

Minimum fixed version

0.6.2-1.el10_1

This is the first release that contains the fix.

sudo dnf update python3-pyasn1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback