CVEBrief

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.

Exploited in the wild
Not in CISA KEV
KEV 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
Exploit odds (EPSS)
88.6% in 30 days
higher than 100% of CVEs; FIRST, December 3, 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-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?

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

EcosystemPackageAffectedFixed inAdvisory
crates.ioopenssl-src< 111.16.0111.16.0GHSA-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?

VendorProductVersionsType
opensslopensslfrom 1.1.1 before 1.1.1lapplication
debiandebian linux10.0operating system
debiandebian linux11.0operating system
netappactive iq unified managerall versionsapplication
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
netapponcommand insightall versionsapplication
netapponcommand workflow automationall versionsapplication
netappsantricity smi-s providerall versionsapplication
netappsnapcenterall versionsapplication
netappsolidfireall versionsapplication
netappstorage encryptionall versionsapplication
oraclecommunications cloud native core security edge protection proxy1.7.0application
oraclecommunications cloud native core unified data repository1.15.0application
oraclecommunications session border controller8.4application
oraclecommunications session border controller9.0application
oraclecommunications unified session manager8.2.5application
oraclecommunications unified session manager8.4.5application
oracleenterprise communications broker3.2.0application
oracleenterprise communications broker3.3.0application
oracleenterprise session border controller8.4application
oracleenterprise session border controller9.0application

NVD analysis (status Modified), last modified October 8, 2026, 21:17 UTC.

How severe is CVE-2021-3711?

ScoreVersionVectorSource
Critical 9.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
High 7.5CVSS 2.0AV:N/AC:L/Au:N/C:P/I:P/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-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?

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
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?

Every CVE in OpenSSL

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.