CVEBrief

Home / OpenSSL / OpenSSL / CVE-2021-3712

CVE-2021-3712: is it exploited, and which versions of OpenSSL are affected and fixed?

CVE-2021-3712 is an out-of-bounds read vulnerability in OpenSSL. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: openssl-src before 111.16.0 (GitHub advisory GHSA-q9wj-f4qw-6vfj). Fixed in 111.16.0 (GitHub advisory GHSA-q9wj-f4qw-6vfj). Severity: High (7.4, CVSS 3.1, from CISA-ADP).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:55 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 14:38 UTC
Affected
openssl-src before 111.16.0
GitHub advisory GHSA-q9wj-f4qw-6vfj
Fixed in
111.16.0
GitHub advisory GHSA-q9wj-f4qw-6vfj
Severity
High 7.4
CVSS 3.1 from CISA-ADP
Exploit odds (EPSS)
48.1% in 30 days
higher than 99% of CVEs; FIRST, December 2, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2021-3712?

Read buffer overruns processing ASN.1 strings

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).

From the CVE record by openssl, last updated April 16, 2026, 14:11 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
OpenSSLOpenSSLFixed 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)

As the CVE record by openssl states it, last updated April 16, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
crates.ioopenssl-src< 111.16.0111.16.0GHSA-q9wj-f4qw-6vfj

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 27, 2026. Summary: Read buffer overruns processing ASN.1 strings.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
opensslopensslfrom 1.0.2 before 1.0.2zaapplication
opensslopensslfrom 1.1.1 before 1.1.1lapplication
debiandebian linux9.0operating system
debiandebian linux10.0operating system
debiandebian linux11.0operating system
netappclustered data ontapall versionsapplication
netappclustered data ontap antivirus connectorall versionsapplication
netappe-series santricity os controllerfrom 11.0 through 11.50.2application
netapphci management nodeall versionsapplication
netappmanageability software development kitall versionsapplication
netappsantricity smi-s providerall versionsapplication
netappsolidfireall versionsapplication
netappstorage encryptionall versionsapplication
mcafeeepolicy orchestratorbefore 5.10.0application
mcafeeepolicy orchestrator5.10.0application
tenablenessus network monitorbefore 6.0.0application
tenabletenable.scfrom 5.16.0 through 5.19.1application
oracleessbasebefore 11.1.2.4.047application
oracleessbasefrom 21.0 before 21.3application
oracleessbase21.3application
oraclemysql connectorsthrough 8.0.27application
oraclemysql enterprise monitorthrough 8.0.25application
oraclemysql serverfrom 5.7.0 through 5.7.35application
oraclemysql serverfrom 8.0.0 through 8.0.26application
oraclemysql workbenchthrough 8.0.26application

NVD analysis (status Modified), last modified June 17, 2026, 04:05 UTC.

How severe is CVE-2021-3712?

ScoreVersionVectorSource
High 7.4CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:HCISA-ADP
High 7.4CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:HNVD
Medium 5.8CVSS 2.0AV:N/AC:M/Au:N/C:P/I:N/A:PNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2021-3712 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, April 16, 2026)
EPSS
48.1% probability of exploitation activity in the next 30 days, percentile 98.9 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
August 16, 2021
Published
August 24, 2021, 14:50 UTC
CVE record updated
April 16, 2026, 14:11 UTC by openssl
NVD
Modified, last modified June 17, 2026, 04:05 UTC
Last checked
CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:55 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect OpenSSL?

Every CVE in OpenSSL

Questions about CVE-2021-3712

Is CVE-2021-3712 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 48.1% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of OpenSSL are affected by CVE-2021-3712?

openssl-src before 111.16.0, per the GitHub advisory GHSA-q9wj-f4qw-6vfj. The tables above give every range the sources list.

Which version fixes CVE-2021-3712?

111.16.0, per the GitHub advisory GHSA-q9wj-f4qw-6vfj. Check the vendor's advisory before you rely on it.

How severe is CVE-2021-3712?

High (7.4, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.

Where is the official record of CVE-2021-3712?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.