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).
CVE-2021-3712
Score elevated to 8.0 because EPSS predicts 50% probability of exploitation within the next 30 days (top 1.2% of all CVEs). NVD baseline CVSS 7.4 retained for reference. Confidence: see factors.
- High exploitation likelihood — EPSS 50%
A fix is available — apply it.
- CVSS v3
- 7.4
- EG Score
- 8.0(high)
- EG Risk
- 56(Track)EG Risk 56/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity80% × 45%Exploitation50% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS
- 98.8%
- KEV
- Not listed
Published
August 24, 2021
Last Modified
April 16, 2026
References (46)
- openssl-security@opensslhttp://www.openwall.com/lists/oss-security/2021/08/26/2
- openssl-security@opensslhttps://cert-portal.siemens.com/productcert/pdf/ssa-244969.pdf
- openssl-security@opensslhttps://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- openssl-security@opensslhttps://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=94d23fcff9b2a7a8368dfe52214d5c2569882c11
- openssl-security@opensslhttps://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=ccb0a11145ee72b042d10593a64eaf9e8a55ec12
- openssl-security@opensslhttps://kc.mcafee.com/corporate/index?page=content&id=SB10366
- openssl-security@opensslhttps://lists.apache.org/thread.html/r18995de860f0e63635f3008fd2a6aca82394249476d21691e7c59c9e%40%3Cdev.tomcat.apache.org%3E
- openssl-security@opensslhttps://lists.apache.org/thread.html/rad5d9f83f0d11fb3f8bb148d179b8a9ad7c6a17f18d70e5805a713d1%40%3Cdev.tomcat.apache.org%3E
- openssl-security@opensslhttps://lists.debian.org/debian-lts-announce/2021/09/msg00014.html
- openssl-security@opensslhttps://lists.debian.org/debian-lts-announce/2021/09/msg00021.html
- openssl-security@opensslhttps://security.gentoo.org/glsa/202209-02
- openssl-security@opensslhttps://security.gentoo.org/glsa/202210-02
- openssl-security@opensslhttps://security.netapp.com/advisory/ntap-20210827-0010/
- openssl-security@opensslhttps://security.netapp.com/advisory/ntap-20240621-0006/
- openssl-security@opensslhttps://www.debian.org/security/2021/dsa-4963
Vendor Advisories for CVE-2021-3712(4)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- CVE-2021-3712Microsoft Security Response Center (MSRC)
CVE-2021-3712
- RHSA-2022:0064Red Hat Product SecurityMedium
Red Hat Security Advisory: openssl security update
- RHSA-2021:4614Red Hat Product SecurityMedium
Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.37 SP10 security update
- RHSA-2021:4613Red Hat Product SecurityMedium
Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.37 SP10 security update
Patch Availability(11)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | libssl-doc (1.1.1j-1ubuntu3.5) @ hirsute | 2026-05-22 | ubuntu |
| ubuntu | qemu-efi-arm (2022.02-3ubuntu0.22.04.4) @ jammy | 2026-05-22 | ubuntu |
| ubuntu | libssl1.0-dev (1.0.2n-1ubuntu5.7) @ bionic | 2026-05-22 | ubuntu |
| ubuntu | ovmf (2020.11-4ubuntu0.1) @ hirsute | 2026-05-22 | ubuntu |
| ubuntu | openssl (1.0.2g-1ubuntu4.20+esm1) @ xenial | 2026-05-22 | ubuntu |
| redhat | openssl-1:1.0.2k-23.el7_9 | 2022-01-11 | redhat |
| redhat | openssl-1:1.1.1k-5.el8_5 | 2021-12-21 | redhat |
| redhat | jws5-tomcat-vault-0:1.1.8-4.Final_redhat_00004.1.el8jws | 2021-11-30 | redhat |
| redhat | patch | 2021-11-30 | redhat |
| redhat | jbcs-httpd24-openssl-pkcs11-0:0.4.10-22.jbcs.el7 | 2021-11-10 | redhat |
| redhat | openssl | 2021-11-10 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
crates.io(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| openssl-src | — | 111.16.0 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(8)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2021:4861MODERATE2021-08-24
RHSA-2021:4861 — Moderate
- Red HatRHSA-2021:4863MODERATE2021-08-24
RHSA-2021:4863 — Moderate
- Red HatRHSA-2021:5226MODERATE2021-08-24
RHSA-2021:5226 — Moderate
- UbuntuUSN-5051-1MEDIUM
OpenSSL vulnerabilities
- UbuntuUSN-5051-2MEDIUM
OpenSSL vulnerability
- UbuntuUSN-5051-3MEDIUM
OpenSSL vulnerability
- UbuntuUSN-5088-1MEDIUM
EDK II vulnerabilities
- UbuntuUSN-7894-1MEDIUM
EDK II vulnerabilities
Data Freshness Timeline
(refreshed 7× in last 7d / 29× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 119 total refreshes for this CVE.
- 2026-07-23 02:03 UTCEG score recompute▲ 0.60
- 2026-07-22 22:49 UTCEG score recompute
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-20 17:05 UTCEPSS rescore
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-16 17:00 UTCEPSS rescore
- 2026-07-16 17:00 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-13 22:27 UTCEPSS rescore
- 2026-07-13 22:27 UTCEPSS rescore
- 2026-07-12 05:44 UTCEPSS rescore
- 2026-07-11 12:52 UTCOSV refresh
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-09 19:07 UTCEPSS rescore
- 2026-07-08 15:12 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-02 16:57 UTCEPSS rescore
- 2026-07-01 15:04 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-27 03:06 UTCEPSS rescore
- 2026-06-27 03:06 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-22 19:35 UTCOSV refresh
- 2026-06-22 14:24 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-15 17:46 UTCEPSS rescore
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 13:20 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 10:00 UTCOSV refresh
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-29 13:42 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-22 06:47 UTCEG score recompute
- 2026-05-22 06:47 UTCVendor advisory
- 2026-05-21 22:41 UTCEPSS rescore
- 2026-05-21 22:41 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
Frequently asked(5)
What is CVE-2021-3712?
When was CVE-2021-3712 disclosed?
Is CVE-2021-3712 actively exploited?
What is the CVSS score of CVE-2021-3712?
How do I remediate CVE-2021-3712?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2021-3712
Is Your Infrastructure Affected by CVE-2021-3712?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.