Vulnerabilityin OpenSSL.
Proof of concept public (GitHub).
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.
- Upgrade openssl-src (crates.io) to 111.16.0 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 16 Aug 2021CVE ID reserved by openssl.
- 24 Aug 2021Published in the CVE List.
- 8 Oct 2026CVE record last updated.
- 9 Nov 2026First public proof of concept on GitHub.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other OpenSSL vulnerabilities
- www.openssl.org
- git.openssl.org
- www.debian.org vendor-advisory
- lists.apache.org mailing-list
- www.openwall.com mailing-list
- lists.apache.org mailing-list
- security.netapp.com
- www.oracle.com
- www.tenable.com
- www.oracle.com
- security.netapp.com
- www.tenable.com
- www.oracle.com
- cert-portal.siemens.com
- security.gentoo.org vendor-advisory
- security.gentoo.org vendor-advisory
- security.netapp.com
Patchminder. CVE-2021-3711: Vulnerability in OpenSSL. https://patchminder.com/cve/cve-2021-3711/ (accessed 5 December 2026).