Home / OpenSSL / OpenSSL / CVE-2021-3711
CVE-2021-3711: is it exploited, and which versions of OpenSSL are affected and fixed?
CVE-2021-3711 is a buffer overflow 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, 15:39 UTC). Affected: openssl-src before 111.16.0 (GitHub advisory GHSA-5ww6-px42-wc85). Fixed in 111.16.0 (GitHub advisory GHSA-5ww6-px42-wc85). Severity: Critical (9.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:55 UTC.
What is CVE-2021-3711?
SM2 Decryption Buffer Overflow
In order to decrypt SM2 encrypted data an application is expected to call the API function EVP_PKEY_decrypt(). Typically an application will call this function twice. The first time, on entry, the "out" parameter can be NULL and, on exit, the "outlen" parameter is populated with the buffer size required to hold the decrypted plaintext. The application can then allocate a sufficiently sized buffer and call EVP_PKEY_decrypt() again, but this time passing a non-NULL value for the "out" parameter. A bug in the implementation of the SM2 decryption code means that the calculation of the buffer size required to hold the plaintext returned by the first call to EVP_PKEY_decrypt() can be smaller than the actual size required by the second call. This can lead to a buffer overflow when EVP_PKEY_decrypt() is called by the application a second time with a buffer that is too small. A malicious attacker who is able present SM2 content for decryption to an application could cause attacker chosen data to overflow the buffer by up to a maximum of 62 bytes altering the contents of other data held after the buffer, possibly changing application behaviour or causing the application to crash. The location of the buffer is application dependent but is typically heap allocated. Fixed in OpenSSL 1.1.1l (Affected 1.1.1-1.1.1k).
From the CVE record by openssl, last updated October 8, 2026, 21:03 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| OpenSSL | OpenSSL | Fixed in OpenSSL 1.1.1l (Affected 1.1.1-1.1.1k) |
As the CVE record by openssl states it, last updated October 8, 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?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| crates.io | openssl-src | < 111.16.0 | 111.16.0 | GHSA-5ww6-px42-wc85 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 24, 2024. Summary: SM2 Decryption Buffer Overflow.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| openssl | openssl | from 1.1.1 before 1.1.1l | application |
| debian | debian linux | 10.0 | operating system |
| debian | debian linux | 11.0 | operating system |
| netapp | active iq unified manager | all versions | application |
| netapp | clustered data ontap | all versions | application |
| netapp | clustered data ontap antivirus connector | all versions | application |
| netapp | e-series santricity os controller | from 11.0 through 11.50.2 | application |
| netapp | hci management node | all versions | application |
| netapp | manageability software development kit | all versions | application |
| netapp | oncommand insight | all versions | application |
| netapp | oncommand workflow automation | all versions | application |
| netapp | santricity smi-s provider | all versions | application |
| netapp | snapcenter | all versions | application |
| netapp | solidfire | all versions | application |
| netapp | storage encryption | all versions | application |
| oracle | communications cloud native core security edge protection proxy | 1.7.0 | application |
| oracle | communications cloud native core unified data repository | 1.15.0 | application |
| oracle | communications session border controller | 8.4 | application |
| oracle | communications session border controller | 9.0 | application |
| oracle | communications unified session manager | 8.2.5 | application |
| oracle | communications unified session manager | 8.4.5 | application |
| oracle | enterprise communications broker | 3.2.0 | application |
| oracle | enterprise communications broker | 3.3.0 | application |
| oracle | enterprise session border controller | 8.4 | application |
| oracle | enterprise session border controller | 9.0 | application |
NVD analysis (status Modified), last modified October 8, 2026, 21:17 UTC.
How severe is CVE-2021-3711?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
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-3711 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, October 8, 2026)
- EPSS
- 88.6% probability of exploitation activity in the next 30 days, percentile 99.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-120 Buffer Copy without Checking Size of Input
Where are the vendor advisories and references?
- https://www.openssl.org/news/secadv/20210824.txt
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=59f5e75f3bced8fc0e130d72a3f582cf7b480b46
- DSA-4963 vendor-advisory
- [tomcat-dev] 20210825 OpenSSL security announcement - do we need a Tomcat Native release? mailing-list
- [oss-security] 20210825 OpenSSL SM2 Decryption Buffer Overflow (CVE-2021-3711), Read buffer overruns processing ASN.1 strings (CVE-2021-3712) mailing-list
- [tomcat-dev] 20210826 Re: OpenSSL security announcement - do we need a Tomcat Native release? mailing-list
- https://security.netapp.com/advisory/ntap-20210827-0010/
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://www.tenable.com/security/tns-2021-16
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://security.netapp.com/advisory/ntap-20211022-0003/
- https://www.tenable.com/security/tns-2022-02
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- GLSA-202209-02 vendor-advisory
- GLSA-202210-02 vendor-advisory
- https://security.netapp.com/advisory/ntap-20240621-0006/
Who found and reported it?
- John Ouyang (finder)
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
- October 8, 2026, 21:03 UTC by openssl
- NVD
- Modified, last modified October 8, 2026, 21:17 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:55 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect OpenSSL?
- Apr 7, 2014CVE-2014-0160 Openssl: out-of-bounds read exploited
- Dec 1, 2026CVE-2026-123780 OpenSSL: denial of service (resources allocated without limits)
- Dec 1, 2026CVE-2026-120667 OpenSSL: out-of-bounds write (memory corruption)
- Dec 1, 2026CVE-2026-120666 OpenSSL: data authenticity not verified
- Dec 1, 2026CVE-2026-120665 OpenSSL: improper certificate validation
- Nov 24, 2026CVE-2026-84785 OpenSSL: denial of service (resources allocated without limits)
- Nov 18, 2026CVE-2026-95690 OpenSSL: denial of service (resources allocated without limits)
- Nov 18, 2026CVE-2026-84786 OpenSSL: NULL pointer dereference (crash)
Questions about CVE-2021-3711
Is CVE-2021-3711 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 88.6% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of OpenSSL are affected by CVE-2021-3711?
openssl-src before 111.16.0, per the GitHub advisory GHSA-5ww6-px42-wc85. The tables above give every range the sources list.
Which version fixes CVE-2021-3711?
111.16.0, per the GitHub advisory GHSA-5ww6-px42-wc85. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-3711?
Critical (9.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-3711?
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.