CVE-2021-3712: Read buffer overruns processing ASN.1 strings
Vulnerability summary
CVE-2021-3712 is a high (CVSS 7.4) Out-of-bounds Read vulnerability in debian debian_linux. EPSS estimates a 50.44% chance of exploitation in the next 30 days, higher than 98.9% of scored vulnerabilities.
Severe, CVSS 7.4 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 50% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 14 · Related 9Timeline
- 24-08-2021PublishedVulnerability first disclosed.
- 16-04-2026Last modifiedVulnerability information updated.
Description
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a strict requirement, ASN.1 strings that are parsed using OpenSSL's own "d2i" functions (and other similar parsing functions) as well as any string whose value has been set with the ASN1_STRING_set() function will additionally NUL terminate the byte array in the ASN1_STRING structure. However, it is possible for applications to directly construct valid ASN1_STRING structures which do not NUL terminate the byte array by directly setting the "data" and "length" fields in the ASN1_STRING array. This can also happen by using the ASN1_STRING_set0() function. Numerous OpenSSL functions that print ASN.1 data have been found to assume that the ASN1_STRING byte array will be NUL terminated, even though this is not guaranteed for strings that have been directly constructed. Where an application requests an ASN.1 structure to be printed, and where that ASN.1 structure contains ASN1_STRINGs that have been directly constructed by the application without NUL terminating the "data" field, then a read buffer overrun can occur. The same thing can also occur during name constraints processing of certificates (for example if a certificate has been directly constructed by the application instead of loading it via the OpenSSL parsing functions, and the certificate contains non NUL terminated ASN1_STRING structures). It can also occur in the X509_get1_email(), X509_REQ_get1_email() and X509_get1_ocsp() functions. If a malicious actor can cause an application to directly construct an ASN1_STRING and then process it through one of the affected OpenSSL functions then this issue could be hit. This might result in a crash (causing a Denial of Service attack). It could also result in the disclosure of private memory contents (such as private keys, or sensitive plaintext). Fixed in OpenSSL 1.1.1l (Affected 1.1.1-1.1.1k). Fixed in OpenSSL 1.0.2za (Affected 1.0.2-1.0.2y).
CVSS metrics
8 scores · 7 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated7.4HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
- OSV · Red hatEcosystem advisory · calculated7.4HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.4HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.4HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
- OSV · Crates.ioEcosystem advisory · calculated7.4HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
- NVDNIST7.4HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS trend
Probability
50.44%
Chance of exploitation in the next 30 days
Percentile
99%
Versus all other CVEs
30-day change
No change 0.00 pp
From 50.44% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Suse56 products
- compat-openssl098&distro=SUSE Linux Enterprise Module for Legacy 12< 0.9.8j-106.27.2 | < 0.9.8j-106.30.2
- compat-openssl098&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP3< 0.9.8j-106.27.2 | < 0.9.8j-106.30.2
- compat-openssl098&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP4< 0.9.8j-106.27.2 | < 0.9.8j-106.30.2
- compat-openssl098&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5< 0.9.8j-106.27.2 | < 0.9.8j-106.30.2
- openssl-1_0_0&distro=SUSE Enterprise Storage 6< 1.0.2p-3.40.2 | < 1.0.2p-3.43.1
Oracle18 products
- communications_cloud_native_core_console1.9.0
- communications_cloud_native_core_security_edge_protection_proxy1.7.0
- communications_cloud_native_core_unified_data_repository1.15.0
- communications_session_border_controller8.4 | 9.0
- communications_unified_session_manager8.2.5 | 8.4.5
Netapp8 products
- clustered_data_ontapna
- clustered_data_ontap_antivirus_connectorna
- e-series_santricity_os_controller≥ 11.0, ≤ 11.50.2
- hci_management_nodena
- manageability_software_development_kitna
Redhat8 products
- openssl< 1:1.1.1k-5.el8_5 | < 1:1.0.2k-23.el7_9
- openssl-debuginfo< 1:1.1.1k-5.el8_5 | < 1:1.0.2k-23.el7_9
- openssl-debugsource< 1:1.1.1k-5.el8_5
- openssl-devel< 1:1.1.1k-5.el8_5 | < 1:1.0.2k-23.el7_9
- openssl-libs< 1:1.1.1k-5.el8_5 | < 1:1.0.2k-23.el7_9
Opensuse5 products
- nmap&distro=openSUSE Tumbleweed< 7.93-1.1
- openssl-1_0_0&distro=openSUSE Leap 15.2< 1.0.2p-lp152.8.15.1 | < 1.0.2p-lp152.8.18.1
- openssl-1_0_0&distro=openSUSE Leap 15.3< 1.0.2p-3.40.2 | < 1.0.2p-3.43.1
- openssl-1_1&distro=openSUSE Leap 15.2< 1.1.1d-lp152.7.24.1
- openssl-1_1&distro=openSUSE Leap 15.3< 1.1.1d-11.30.1
Alpine3 products
- openssl≥ 1.0.2, < 1.1.1l-r0
- openssl1.1-compat< 1.1.1l-r0
- openssl3< 1.1.1l-r0
Debian3 products
- openssl< 1.1.0l-1~deb9u4 | < 1.1.1l-1
- openssl1.0< 1.0.2u-1~deb9u6
- debian_linuxEOL9.0 | 10.0 | 11.0
Ubuntu3 products
- edk2All versions (No fix recorded) | < 0~20191122.bd85bf54-2ubuntu3.3 | < 2022.02-3ubuntu0.22.04.4
- openssl< 1.0.1f-1ubuntu2.27+esm3 | < 1.0.2g-1ubuntu4.20+esm1 | < 1.0.1f-1ubuntu2.27+esm4 | < 1.0.2g-1ubuntu4.fips.4.20.1 | All versions (No fix recorded) | < 1.1.1-1ubuntu2.1~18.04.13 | < 1.1.1-1ubuntu2.fips.2.1~18.04.13.2 | < 1.1.1f-1ubuntu2.8 | < 1.1.1f-1ubuntu2.fips.7.2 | < 1.1.1l-1ubuntu1
- openssl1.0< 1.0.2n-1ubuntu5.7
Chainguard2 products
- eco-dotnet-libssl-1.0All versions (No fix recorded)
- eco-dotnet-libssl-1.0-ld-so-confAll versions (No fix recorded)
Tenable2 products
- nessus_network_monitor< 6.0.0
- tenable.sc≥ 5.16.0, ≤ 5.19.1
Crates.Io1 product
- openssl-src< 111.16.0 | ≥ 0.0.0-0, < 111.16.0
Mcafee1 product
- epolicy_orchestrator< 5.10.0 | 5.10.0 | 5.10.0:update_1 | 5.10.0:update_10 | 5.10.0:update_2 | 5.10.0:update_3 | 5.10.0:update_4 | 5.10.0:update_5 | 5.10.0:update_6 | 5.10.0:update_7 | 5.10.0:update_8 | 5.10.0:update_9
Openssl1 product
- opensslFixed in OpenSSL 1.1.1l (Affected 1.1.1-1.1.1k) | Fixed in OpenSSL 1.0.2za (Affected 1.0.2-1.0.2y) | ≥ 1.0.2, < 1.0.2za | ≥ 1.1.1, < 1.1.1l
Siemens1 product
14 vendors · 112 products
References
79 links- security.netapp.com/advisory/ntap-20210827-0010/Third Party Advisory
Show all 79 references
- lists.opensuse.org/archives/…Advisory
- lists.opensuse.org/archives/…Advisory
- lists.opensuse.org/archives/…Advisory
- lists.opensuse.org/archives/…Advisory
- lists.opensuse.org/archives/…Advisory
- lists.opensuse.org/archives/…Advisory
- crates.io/crates/openssl-srcPACKAGE