7.4

CVE-2021-3712: Read buffer overruns processing ASN.1 strings

Modified
AliasesALPINE-CVE-2021-3712SUSE-SU-2021:14791-1SUSE-SU-2021:14792-1
Published 24-08-2021Last modified 16-04-2026

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.

Priority
Prioritisesevere

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?
CVSS score
7.4/10
010
High · v3.1 (CVE.org)
EPSS score
50.44%
0%100%
Critical · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 14 · Related 9

Timeline

  1. 24-08-2021
    PublishedVulnerability first disclosed.
  2. 16-04-2026
    Last 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

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

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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
Netapp8 products
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
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
Show all 79 references