CVE-2021-3711 Details
Description
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).
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 8, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-120 | Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| openssl openssl | >= 1.1.1, < 1.1.1l |
CPE
Remediation
| |
| debian debian linux | 10.0 11.0 |
CPE
Remediation
| |
| netapp active iq unified manager | All versions |
CPE
Remediation
| |
| netapp clustered data ontap | All versions |
CPE
Remediation
| |
| netapp clustered data ontap antivirus connector | All versions |
CPE
Remediation
| |
| netapp e-series santricity os controller | >= 11.0, <= 11.50.2 |
CPE
Remediation
| |
| netapp hci management node | All versions |
CPE
Remediation
| |
| netapp manageability software development kit | All versions |
CPE
Remediation
| |
| netapp oncommand insight | All versions |
CPE
Remediation
| |
| netapp oncommand workflow automation | All versions |
CPE
Remediation
| |
| netapp santricity smi-s provider | All versions |
CPE
Remediation
| |
| netapp snapcenter | All versions |
CPE
Remediation
| |
| netapp solidfire | All versions |
CPE
Remediation
| |
| netapp storage encryption | All versions |
CPE
Remediation
| |
| oracle communications cloud native core security edge protection proxy | 1.7.0 |
CPE
Remediation
| |
| oracle communications cloud native core unified data repository | 1.15.0 |
CPE
Remediation
| |
| oracle communications session border controller | 8.4 9.0 |
CPE
Remediation
| |
| oracle communications unified session manager | 8.2.5 8.4.5 |
CPE
Remediation
| |
| oracle enterprise communications broker | 3.2.0 3.3.0 |
CPE
Remediation
| |
| oracle enterprise session border controller | 8.4 9.0 |
CPE
Remediation
| |
| oracle essbase | < 11.1.2.4.47 >= 21.1, < 21.3 |
CPE
Remediation
| |
| oracle health sciences inform publisher | 6.2.1.1 6.3.1.1 |
CPE
Remediation
| |
| oracle jd edwards enterpriseone tools | < 9.2.6.3 |
CPE
Remediation
| |
| oracle jd edwards world security | a9.4 |
CPE
Remediation
| |
| oracle mysql connectors | <= 8.0.27 |
CPE
Remediation
| |
| oracle mysql enterprise monitor | <= 8.0.25 |
CPE
Remediation
| |
| oracle mysql server | >= 5.7.0, <= 5.7.35 >= 8.0.0, <= 8.0.26 |
CPE
Remediation
| |
| oracle peoplesoft enterprise peopletools | 8.57 8.58 8.59 |
CPE
Remediation
| |
| oracle zfs storage appliance kit | 8.8 |
CPE
Remediation
| |
| tenable nessus network monitor | <= 5.13.1 |
CPE
Remediation
| |
| tenable tenable.sc | >= 5.16.0, <= 5.19.1 |
CPE
Remediation
| |
Change History
28 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 8, 2026 | CVE Modified | [email protected] |
| Oct 8, 2026 | CVE Modified | CVE |
| Oct 8, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| Jun 21, 2024 | CVE Modified | [email protected] |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Dec 6, 2022 | Modified Analysis | [email protected] |
| Oct 16, 2022 | CVE Modified | [email protected] |
| Sep 23, 2022 | Modified Analysis | [email protected] |
| Sep 7, 2022 | CVE Modified | [email protected] |
| May 10, 2022 | Modified Analysis | [email protected] |
| Apr 20, 2022 | CVE Modified | [email protected] |
| Mar 31, 2022 | Modified Analysis | [email protected] |
| Mar 10, 2022 | CVE Modified | [email protected] |
| Feb 7, 2022 | CVE Modified | [email protected] |
| Jan 6, 2022 | CVE Modified | [email protected] |
| Dec 2, 2021 | Modified Analysis | [email protected] |
| Oct 22, 2021 | CVE Modified | [email protected] |
| Oct 20, 2021 | CVE Modified | [email protected] |
| Sep 22, 2021 | CVE Modified | [email protected] |
| Aug 31, 2021 | Initial Analysis | [email protected] |
| Aug 27, 2021 | CVE Modified | [email protected] |
| Aug 26, 2021 | CVE Modified | [email protected] |
| Aug 26, 2021 | CVE Modified | [email protected] |
| Aug 25, 2021 | CVE Modified | [email protected] |
| Aug 24, 2021 | CVE Modified | [email protected] |