Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-3711

published

SM2 Decryption Buffer Overflow

Published
24 Aug 2021, 14:50:13 UTC
Updated
08 Oct 2026, 21:03:25 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
OpenSSL — OpenSSLFixed in OpenSSL 1.1.1l (Affected 1.1.1-1.1.1k) Affected Not stated openssl
Alpine Linux edge openssl Fixed 1.1.1l-r0 Package fix record
Debian bullseye openssl Advisory build 1.1.1k-1+deb11u1 DSA-4963-1
SUSE / openSUSE SLE-12-SP3 golang-github-prometheus-node_exporteraarch64 Advisory build 1.3.0-1.15.3 SUSE-SU-2022:2134-1
Alpine Linux v3.11 openssl Fixed 1.1.1l-r0 Package fix record
Alpine Linux v3.12 openssl Fixed 1.1.1l-r0 Package fix record
Alpine Linux v3.13 openssl Fixed 1.1.1l-r0 Package fix record
Alpine Linux v3.14 openssl Fixed 1.1.1l-r0 Package fix record
Show 93 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.15 openssl Fixed 1.1.1l-r0 Package fix record
Alpine Linux v3.15 openssl3 Fixed 1.1.1l-r0 Package fix record
Alpine Linux v3.16 openssl Fixed 1.1.1l-r0 Package fix record
Alpine Linux v3.16 openssl3 Fixed 1.1.1l-r0 Package fix record
Alpine Linux v3.17 openssl Fixed 1.1.1l-r0 Package fix record
Alpine Linux v3.17 openssl1.1-compat Fixed 1.1.1l-r0 Package fix record
Alpine Linux v3.18 openssl Fixed 1.1.1l-r0 Package fix record
Alpine Linux v3.18 openssl1.1-compat Fixed 1.1.1l-r0 Package fix record
Alpine Linux v3.19 openssl Fixed 1.1.1l-r0 Package fix record
Alpine Linux v3.20 openssl Fixed 1.1.1l-r0 Package fix record
Alpine Linux v3.21 openssl Fixed 1.1.1l-r0 Package fix record
Alpine Linux v3.22 openssl Fixed 1.1.1l-r0 Package fix record
Alpine Linux v3.23 openssl Fixed 1.1.1l-r0 Package fix record
Alpine Linux v3.24 openssl Fixed 1.1.1l-r0 Package fix record
Debian buster openssl Advisory build 1.1.1d-0+deb10u7 DSA-4963-1
SUSE / openSUSE SLE-12-SP3 golang-github-prometheus-node_exporterppc64le Advisory build 1.3.0-1.15.3 SUSE-SU-2022:2134-1
SUSE / openSUSE SLE-12-SP3 golang-github-prometheus-node_exporters390x Advisory build 1.3.0-1.15.3 SUSE-SU-2022:2134-1
SUSE / openSUSE SLE-12-SP3 golang-github-prometheus-node_exporterx86_64 Advisory build 1.3.0-1.15.3 SUSE-SU-2022:2134-1
SUSE / openSUSE SLE-12-SP4 golang-github-prometheus-node_exporteraarch64 Advisory build 1.3.0-1.15.3 SUSE-SU-2022:2134-1
SUSE / openSUSE SLE-12-SP4 golang-github-prometheus-node_exporterppc64le Advisory build 1.3.0-1.15.3 SUSE-SU-2022:2134-1
SUSE / openSUSE SLE-12-SP4 golang-github-prometheus-node_exporters390x Advisory build 1.3.0-1.15.3 SUSE-SU-2022:2134-1
SUSE / openSUSE SLE-12-SP4 golang-github-prometheus-node_exporterx86_64 Advisory build 1.3.0-1.15.3 SUSE-SU-2022:2134-1
SUSE / openSUSE SLE-12-SP4 libopenssl1_1aarch64 Advisory build 1.1.1d-2.36.2 SUSE-SU-2021:2833-1
SUSE / openSUSE SLE-12-SP4 libopenssl1_1ppc64le Advisory build 1.1.1d-2.36.2 SUSE-SU-2021:2833-1
SUSE / openSUSE SLE-12-SP4 libopenssl1_1s390x Advisory build 1.1.1d-2.36.2 SUSE-SU-2021:2833-1
SUSE / openSUSE SLE-12-SP4 libopenssl1_1x86_64 Advisory build 1.1.1d-2.36.2 SUSE-SU-2021:2833-1
SUSE / openSUSE SLE-12-SP4 libopenssl1_1-32bits390x Advisory build 1.1.1d-2.36.2 SUSE-SU-2021:2833-1
SUSE / openSUSE SLE-12-SP4 libopenssl1_1-32bitx86_64 Advisory build 1.1.1d-2.36.2 SUSE-SU-2021:2833-1
SUSE / openSUSE SLE-12-SP4 openssl-1_1aarch64 Advisory build 1.1.1d-2.36.2 SUSE-SU-2021:2833-1
SUSE / openSUSE SLE-12-SP4 openssl-1_1ppc64le Advisory build 1.1.1d-2.36.2 SUSE-SU-2021:2833-1
SUSE / openSUSE SLE-12-SP4 openssl-1_1s390x Advisory build 1.1.1d-2.36.2 SUSE-SU-2021:2833-1
SUSE / openSUSE SLE-12-SP4 openssl-1_1x86_64 Advisory build 1.1.1d-2.36.2 SUSE-SU-2021:2833-1
SUSE / openSUSE SLE-12-SP5 golang-github-prometheus-node_exporteraarch64 Advisory build 1.3.0-1.15.3 SUSE-SU-2022:2134-1
SUSE / openSUSE SLE-12-SP5 golang-github-prometheus-node_exporterppc64le Advisory build 1.3.0-1.15.3 SUSE-SU-2022:2134-1
SUSE / openSUSE SLE-12-SP5 golang-github-prometheus-node_exporters390x Advisory build 1.3.0-1.15.3 SUSE-SU-2022:2134-1
SUSE / openSUSE SLE-12-SP5 golang-github-prometheus-node_exporterx86_64 Advisory build 1.3.0-1.15.3 SUSE-SU-2022:2134-1
SUSE / openSUSE SLE-12-SP5 libopenssl-1_1-develaarch64 Advisory build 1.1.1d-2.36.2 SUSE-SU-2021:2833-1
SUSE / openSUSE SLE-12-SP5 libopenssl-1_1-develppc64le Advisory build 1.1.1d-2.36.2 SUSE-SU-2021:2833-1
SUSE / openSUSE SLE-12-SP5 libopenssl-1_1-devels390x Advisory build 1.1.1d-2.36.2 SUSE-SU-2021:2833-1
SUSE / openSUSE SLE-12-SP5 libopenssl-1_1-develx86_64 Advisory build 1.1.1d-2.36.2 SUSE-SU-2021:2833-1
SUSE / openSUSE SLE-12-SP5 libopenssl-1_1-devel-32bits390x Advisory build 1.1.1d-2.36.2 SUSE-SU-2021:2833-1
SUSE / openSUSE SLE-12-SP5 libopenssl-1_1-devel-32bitx86_64 Advisory build 1.1.1d-2.36.2 SUSE-SU-2021:2833-1
SUSE / openSUSE SLE-12-SP5 libopenssl1_1aarch64 Advisory build 1.1.1d-2.36.2 SUSE-SU-2021:2833-1
SUSE / openSUSE SLE-12-SP5 libopenssl1_1ppc64le Advisory build 1.1.1d-2.36.2 SUSE-SU-2021:2833-1
SUSE / openSUSE SLE-12-SP5 libopenssl1_1s390x Advisory build 1.1.1d-2.36.2 SUSE-SU-2021:2833-1
SUSE / openSUSE SLE-12-SP5 libopenssl1_1x86_64 Advisory build 1.1.1d-2.36.2 SUSE-SU-2021:2833-1
SUSE / openSUSE SLE-12-SP5 libopenssl1_1-32bits390x Advisory build 1.1.1d-2.36.2 SUSE-SU-2021:2833-1
SUSE / openSUSE SLE-12-SP5 libopenssl1_1-32bitx86_64 Advisory build 1.1.1d-2.36.2 SUSE-SU-2021:2833-1
SUSE / openSUSE SLE-12-SP5 openssl-1_1aarch64 Advisory build 1.1.1d-2.36.2 SUSE-SU-2021:2833-1
SUSE / openSUSE SLE-12-SP5 openssl-1_1ppc64le Advisory build 1.1.1d-2.36.2 SUSE-SU-2021:2833-1
SUSE / openSUSE SLE-12-SP5 openssl-1_1s390x Advisory build 1.1.1d-2.36.2 SUSE-SU-2021:2833-1
SUSE / openSUSE SLE-12-SP5 openssl-1_1x86_64 Advisory build 1.1.1d-2.36.2 SUSE-SU-2021:2833-1
SUSE / openSUSE SLE-15-SP2 libopenssl-1_1-develaarch64 Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP2 libopenssl-1_1-develppc64le Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP2 libopenssl-1_1-devels390x Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP2 libopenssl-1_1-develx86_64 Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP2 libopenssl1_1aarch64 Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP2 libopenssl1_1ppc64le Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP2 libopenssl1_1s390x Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP2 libopenssl1_1x86_64 Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP2 libopenssl1_1-32bitx86_64 Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP2 libopenssl1_1-hmacaarch64 Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP2 libopenssl1_1-hmacppc64le Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP2 libopenssl1_1-hmacs390x Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP2 libopenssl1_1-hmacx86_64 Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP2 libopenssl1_1-hmac-32bitx86_64 Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP2 openssl-1_1aarch64 Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP2 openssl-1_1ppc64le Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP2 openssl-1_1s390x Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP2 openssl-1_1x86_64 Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP3 libopenssl-1_1-develaarch64 Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP3 libopenssl-1_1-develppc64le Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP3 libopenssl-1_1-devels390x Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP3 libopenssl-1_1-develx86_64 Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP3 libopenssl1_1aarch64 Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP3 libopenssl1_1ppc64le Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP3 libopenssl1_1s390x Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP3 libopenssl1_1x86_64 Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP3 libopenssl1_1-32bitx86_64 Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP3 libopenssl1_1-hmacaarch64 Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP3 libopenssl1_1-hmacppc64le Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP3 libopenssl1_1-hmacs390x Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP3 libopenssl1_1-hmacx86_64 Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP3 libopenssl1_1-hmac-32bitx86_64 Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP3 openssl-1_1aarch64 Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP3 openssl-1_1ppc64le Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP3 openssl-1_1s390x Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP3 openssl-1_1x86_64 Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1
SUSE / openSUSE SLE-15-SP4 grafanaaarch64 Advisory build 8.5.13-150200.3.29.5 SUSE-SU-2022:4428-1
SUSE / openSUSE SLE-15-SP4 grafanappc64le Advisory build 8.5.13-150200.3.29.5 SUSE-SU-2022:4428-1
SUSE / openSUSE SLE-15-SP4 grafanas390x Advisory build 8.5.13-150200.3.29.5 SUSE-SU-2022:4428-1
SUSE / openSUSE SLE-15-SP4 grafanax86_64 Advisory build 8.5.13-150200.3.29.5 SUSE-SU-2022:4428-1
SUSE / openSUSE SLE-5 libopenssl1_1aarch64 Advisory build 1.1.1d-11.27.1 SUSE-SU-2021:2830-1

Package entries are limited to the first 100 builds and 100 linked advisories.

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).

en · openssl · cna

Vendor advisories explicitly linked to this CVE.

42

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
OpenSSL OpenSSL Fixed in OpenSSL 1.1.1l (Affected 1.1.1-1.1.1k) (affected) openssl · cna

Weaknesses

1
  • Buffer overflow (openssl · cna)

References

17

Provider assertions

3

openssl · cna

SM2 Decryption Buffer Overflow

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
e0d8961d7a1d0f271be0deeed963476dd0473a9e610876409afc0d11a893b0e0
Ingested
09 Oct 2026, 16:22:05 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected