CVEfocus › CVE database › CVE-2023-2650

CVE-2023-2650Possible DoS translating ASN.1 object identifiers

CVSS 6.5 MediumEPSS 7.8% (higher than 95% of CVEs)Published 2023-05-30Updated 2026-10-14Assigner: openssl

Issue summary: Processing some specially crafted ASN.1 object identifiers or data containing them may be very slow. Impact summary: Applications that use OBJ_obj2txt() directly, or use any of the OpenSSL subsystems OCSP, PKCS7/SMIME, CMS, CMP/CRMF or TS with no message size limit may experience notable to very long delays when processing those messages, which may lead to a Denial of Service. An OBJECT IDENTIFIER is composed of a series of numbers - sub-identifiers - most of which have no size limit. OBJ_obj2txt() may be used to translate an ASN.1 OBJECT IDENTIFIER given in DER encoding form (using the OpenSSL type ASN1_OBJECT) to its canonical numeric text form, which are the sub-identifiers of the OBJECT IDENTIFIER in decimal form, separated by periods. When one of the sub-identifiers in the OBJECT IDENTIFIER is very large (these are sizes that are seen as absurdly large, taking up tens or hundreds of KiBs), the translation to a decimal number in text may take a very long time. The time complexity is O(n^2) with 'n' being the size of the sub-identifiers in bytes (*). With OpenSSL 3.0, support to fetch cryptographic algorithms using names / identifiers in string form was introduced. This includes using OBJECT IDENTIFIERs in canonical numeric text form as identifiers for fetching algorithms. Such OBJECT IDENTIFIERs may be received through the ASN.1 structure AlgorithmIdentifier, which is commonly used in multiple protocols to specify what cryptographic algorithm should be used to sign or verify, encrypt or decrypt, or digest passed data. Applications that call OBJ_obj2txt() directly with untrusted data are affected, with any version of OpenSSL. If the use is for the mere purpose of display, the severity is considered low. In OpenSSL 3.0 and newer, this affects the subsystems OCSP, PKCS7/SMIME, CMS, CMP/CRMF or TS. It also impacts anything that processes X.509 certificates, including simple things like verifying its signature. The impact on TLS is relatively low, because all versions of OpenSSL have a 100KiB limit on the peer's certificate chain. Additionally, this only impacts clients, or servers that have explicitly enabled client authentication. In OpenSSL 1.1.1 and 1.0.2, this only affects displaying diverse objects, such as X.509 certificates. This is assumed to not happen in such a way that it would cause a Denial of Service, so these versions are considered not affected by this issue in such a way that it would be cause for concern, and the severity is therefore considered low.

CWE-770

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

38Fixed
23Fix pending
12Will not fix
7Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04edk2Not affected
vulnerable_code_not_present
Ubuntu 26.04nodejsNot affected
vulnerable_code_not_present
Ubuntu 25.10edk2Not affected
vulnerable_code_not_present
Ubuntu 25.10nodejsNot affected
vulnerable_code_not_present
Ubuntu 24.04edk2Not affected
vulnerable_code_not_present
Ubuntu 24.04nodejsNot affected
vulnerable_code_not_present
Ubuntu 22.04edk2Fixed2022.02-3ubuntu0.22.04.4UBUNTU-CVE-2023-2650
Ubuntu 22.04nodejsFixed12.22.9~dfsg-1ubuntu3.4UBUNTU-CVE-2023-2650
Ubuntu 22.04opensslFixed3.0.2-0ubuntu1.10UBUNTU-CVE-2023-2650
Ubuntu 20.04edk2Fix pendingUBUNTU-CVE-2023-2650
Ubuntu 20.04opensslFixed1.1.1f-1ubuntu2.19UBUNTU-CVE-2023-2650
Ubuntu 18.04edk2Fix pendingUBUNTU-CVE-2023-2650
Ubuntu 18.04opensslFixed1.1.1-1ubuntu2.1~18.04.23UBUNTU-CVE-2023-2650
Ubuntu 18.04openssl1.0Fixed1.0.2n-1ubuntu5.13UBUNTU-CVE-2023-2650
Ubuntu 16.04edk2Fix pendingUBUNTU-CVE-2023-2650
Ubuntu 16.04nodejsNot affected
vulnerable_code_not_present
Ubuntu 16.04opensslFix pending1.0.2g-1ubuntu4.20+esm9 (Ubuntu Pro)UBUNTU-CVE-2023-2650
Ubuntu 14.04edk2Fix pending
Ubuntu 14.04opensslFix pending1.0.1f-1ubuntu2.27+esm9 (Ubuntu Pro)UBUNTU-CVE-2023-2650
Debian 14opensslFixed3.0.9-1DEBIAN-CVE-2023-2650
Debian 13opensslFixed3.0.9-1DEBIAN-CVE-2023-2650
Debian 12opensslFixed3.0.9-1DEBIAN-CVE-2023-2650
Red Hat Enterprise Linux 9compat-openssl11Fix pending
Fix deferred
Red Hat Enterprise Linux 9edk2Fixed0:20230524-3.el9RHSA-2023:6330
Red Hat Enterprise Linux 9edk2-aarch64Fixed0:20230524-3.el9RHSA-2023:6330
Red Hat Enterprise Linux 9edk2-ovmfFixed0:20230524-3.el9RHSA-2023:6330
Red Hat Enterprise Linux 9edk2-toolsFixed0:20230524-3.el9RHSA-2023:6330
Red Hat Enterprise Linux 9edk2-tools-docFixed0:20230524-3.el9RHSA-2023:6330
Red Hat Enterprise Linux 9opensslFixed1:3.0.7-16.el9_2RHSA-2023:3722
Red Hat Enterprise Linux 9openssl-develFixed1:3.0.7-16.el9_2RHSA-2023:3722
Red Hat Enterprise Linux 9openssl-libsFixed1:3.0.7-16.el9_2RHSA-2023:3722
Red Hat Enterprise Linux 9openssl-perlFixed1:3.0.7-16.el9_2RHSA-2023:3722
Red Hat Enterprise Linux 9shimFix pending
Fix deferred
Red Hat Enterprise Linux 9shim-aa64Fix pending
Fix deferred
Red Hat Enterprise Linux 9shim-x64Fix pending
Fix deferred
Red Hat Enterprise Linux 8compat-openssl10Fix pending
Fix deferred
Red Hat Enterprise Linux 8edk2Fix pending
Fix deferred
Red Hat Enterprise Linux 8edk2-aarch64Fix pending
Fix deferred
Red Hat Enterprise Linux 8edk2-ovmfFix pending
Fix deferred
Red Hat Enterprise Linux 8opensslFix pending
Fix deferred
Red Hat Enterprise Linux 8openssl-develFix pending
Fix deferred
Red Hat Enterprise Linux 8openssl-libsFix pending
Fix deferred
Red Hat Enterprise Linux 8openssl-perlFix pending
Fix deferred
Red Hat Enterprise Linux 8openssl-staticFix pending
Fix deferred
Red Hat Enterprise Linux 8shimFix pending
Fix deferred
Red Hat Enterprise Linux 8shim-aa64Fix pending
Fix deferred
Red Hat Enterprise Linux 8shim-ia32Fix pending
Fix deferred
Red Hat Enterprise Linux 8shim-x64Fix pending
Fix deferred
Red Hat Enterprise Linux 7AAVMFWill not fix
Out of support scope
Red Hat Enterprise Linux 7OVMFWill not fix
Out of support scope
Red Hat Enterprise Linux 7opensslWill not fix
Out of support scope
Red Hat Enterprise Linux 7openssl-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7openssl-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7openssl-perlWill not fix
Out of support scope
Red Hat Enterprise Linux 7openssl-staticWill not fix
Out of support scope
Red Hat Enterprise Linux 7ovmfWill not fix
Out of support scope
Red Hat Enterprise Linux 6opensslWill not fix
Out of support scope
Red Hat Enterprise Linux 6openssl-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6openssl-perlWill not fix
Out of support scope
Red Hat Enterprise Linux 6openssl-staticWill not fix
Out of support scope
AlmaLinux 9edk2-aarch64Fixed20230524-3.el9ALSA-2023:6330
AlmaLinux 9edk2-ovmfFixed20230524-3.el9ALSA-2023:6330
AlmaLinux 9edk2-toolsFixed20230524-3.el9ALSA-2023:6330
AlmaLinux 9edk2-tools-docFixed20230524-3.el9ALSA-2023:6330
AlmaLinux 9opensslFixed1:3.0.7-16.el9_2ALSA-2023:3722
AlmaLinux 9openssl-develFixed1:3.0.7-16.el9_2ALSA-2023:3722
AlmaLinux 9openssl-libsFixed1:3.0.7-16.el9_2ALSA-2023:3722
AlmaLinux 9openssl-perlFixed1:3.0.7-16.el9_2ALSA-2023:3722
Alpine Linux 3.24opensslFixed3.1.1-r0ALPINE-CVE-2023-2650
Alpine Linux 3.23opensslFixed3.1.1-r0ALPINE-CVE-2023-2650
Alpine Linux 3.22opensslFixed3.1.1-r0ALPINE-CVE-2023-2650
Alpine Linux 3.21opensslFixed3.1.1-r0ALPINE-CVE-2023-2650
Alpine Linux 3.20opensslFixed3.1.1-r0ALPINE-CVE-2023-2650
Alpine Linux 3.19opensslFixed3.1.1-r0ALPINE-CVE-2023-2650
Alpine Linux 3.18opensslFixed3.1.1-r0ALPINE-CVE-2023-2650
Alpine Linux 3.17opensslFixed3.0.9-r0ALPINE-CVE-2023-2650
Alpine Linux 3.16opensslFixed1.1.1u-r0ALPINE-CVE-2023-2650
Alpine Linux 3.16openssl3Fixed3.0.9-r0ALPINE-CVE-2023-2650
Alpine Linux 3.15opensslFixed1.1.1u-r0ALPINE-CVE-2023-2650
Alpine Linux 3.15openssl3Fixed3.0.9-r0ALPINE-CVE-2023-2650

What the vendor says

As published in the CVE record by openssl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.