CVE-2021-3711

CRITICALNVD 9.89.8
EchelonGraph scoreMEDIUM confidence

“—” beside the score: it is equal to NVD's CVSS score.

Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2022-05-24. NVD baseline CVSS 9.8; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: EPSS, GitHub Security Advisory, NVD CVSS v3
Elevated

Also known asEUVD-2022-2673 (ENISA EUVD) · GHSA-5ww6-px42-wc85 (GitHub Security Advisories) · RUSTSEC-2021-0097 (OSV.dev)Source: ENISA EUVD

9.8EG
EchelonGraph verdictPlan a fixRemediate within your standard update timelines at low or medium mission impact and sooner than that at high (the SSVC decision on this page).
  • High exploitation likelihood — EPSS 88%
CISA-KEV: Not listedEPSS PROB: 88%CVSS: 9.8Exploit: No code on recordExposed services: Not assessed

A fix is available — apply it.

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

CVSS v3
9.8
EG Score
9.8CRITICALmedium confidence
EG Risk
94
EG Risk 94/100

EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.

How it’s computed (value × EchelonGraph’s weight)
Severity98% × 45%
Impact severity (EG Severity): CVSS 9.8 of 10. Never the KEV-floored or EPSS-lifted EG Score.
Exploitation88% × 40%
FIRST EPSS: the 30-day exploitation probability when EchelonGraph scored this CVE.
Automatability100% × 15%
CISA's SSVC Automatable value: yes (Vulnrichment).
SSVC (CISA's decision table, applied by EchelonGraph): Track at low or medium mission impact; Attend at high (mission-essential systems).
Exploitation none (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.
Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
EPSS PROB
88%
EPSS %ILE
99th
KEV
Not listed

What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)

The EG score (9.8): severity, escalated by confirmed exploitation. This CVE's 9.8 is its impact severity (EG Severity), not escalated.

EG Severity
9.8 CRITICALCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.GitHub Security Advisory CVSS
EG Likelihood
88% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-11-12). FIRST's exploitation probability, not an EchelonGraph model.
Confirmed exploitation
None on record (CISA KEV, EG-KEV Tier 1)Reported apart from the likelihood: an observed fact, not a probability.
EG Priority
SSVC Track at medium mission impactTrack at low or medium mission impact; Attend at high (mission-essential systems).CISA BOD 26-04: 3 days if the affected system is publicly exposed; 60 days if it is not.Each input and its source, and whom BOD 26-04 binds: the SSVC and BOD 26-04 blocks below.

SSVC (CISA's decision table, applied by EchelonGraph)Track at low or medium mission impact; Attend at high (mission-essential systems).

A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.

Exploitation none (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table

BOD 26-04 (CISA's remediation timeline, Table 1)3 days if the affected system is publicly exposed; 60 days if it is not.

The score's inputs: In CISA KEV no (CISA's KEV catalog) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it

Published

August 24, 2021

Last Modified

October 8, 2026

Advisory Details (9)

Auto-updated Nov 8, 2026
Patch available.
Web page

OpenSSL: Multiple Vulnerabilities (GLSA 202210-02) — Gentoo security

https://security.gentoo.org/glsa/202210-02
Web page

IBM Spectrum Protect: Multiple Vulnerabilities (GLSA 202209-02) — Gentoo security

https://security.gentoo.org/glsa/202209-02
Web page

oss-security - OpenSSL SM2 Decryption Buffer Overflow (CVE-2021-3711), Read buffer overruns processing ASN.1 strings (CVE-2021-3712)

http://www.openwall.com/lists/oss-security/2021/08/26/2

Patch Availability(2)

Vendor / EcosystemFix (by version range) / PatchReleasedSource
ubuntulibssl-doc (1.1.1j-1ubuntu3.5) @ hirsute2026-11-11ubuntu
rustopenssl-src @ 111.16.0 (fixes < 111.16.0)—ghsa

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(24 across 20 ecosystems)
Alpine:v3.15(2)
PackageVulnerable rangeFix by version rangeDependents
openssl—
  • 1.1.1 up to 1.1.1l-r0: fixed in 1.1.1l-r0
—
openssl3—
  • every version up to 1.1.1l-r0: fixed in 1.1.1l-r0
—
Alpine:v3.16(2)
PackageVulnerable rangeFix by version rangeDependents
openssl—
  • 1.1.1 up to 1.1.1l-r0: fixed in 1.1.1l-r0
—
openssl3—
  • every version up to 1.1.1l-r0: fixed in 1.1.1l-r0
—
Alpine:v3.17(2)
PackageVulnerable rangeFix by version rangeDependents
openssl—
  • 1.1.1 up to 1.1.1l-r0: fixed in 1.1.1l-r0
—
openssl1.1-compat—
  • every version up to 1.1.1l-r0: fixed in 1.1.1l-r0
—
Alpine:v3.18(2)
PackageVulnerable rangeFix by version rangeDependents
openssl—
  • 1.1.1 up to 1.1.1l-r0: fixed in 1.1.1l-r0
—
openssl1.1-compat—
  • every version up to 1.1.1l-r0: fixed in 1.1.1l-r0
—
Alpine:v3.11(1)
PackageVulnerable rangeFix by version rangeDependents
openssl—
  • 1.1.1 up to 1.1.1l-r0: fixed in 1.1.1l-r0
—
Alpine:v3.12(1)
PackageVulnerable rangeFix by version rangeDependents
openssl—
  • 1.1.1 up to 1.1.1l-r0: fixed in 1.1.1l-r0
—
Alpine:v3.13(1)
PackageVulnerable rangeFix by version rangeDependents
openssl—
  • 1.1.1 up to 1.1.1l-r0: fixed in 1.1.1l-r0
—
Alpine:v3.14(1)
PackageVulnerable rangeFix by version rangeDependents
openssl—
  • 1.1.1 up to 1.1.1l-r0: fixed in 1.1.1l-r0
—
Alpine:v3.19(1)
PackageVulnerable rangeFix by version rangeDependents
openssl—
  • 1.1.1 up to 1.1.1l-r0: fixed in 1.1.1l-r0
—
Alpine:v3.20(1)
PackageVulnerable rangeFix by version rangeDependents
openssl—
  • 1.1.1 up to 1.1.1l-r0: fixed in 1.1.1l-r0
—
Alpine:v3.21(1)
PackageVulnerable rangeFix by version rangeDependents
openssl—
  • 1.1.1 up to 1.1.1l-r0: fixed in 1.1.1l-r0
—
Alpine:v3.22(1)
PackageVulnerable rangeFix by version rangeDependents
openssl—
  • 1.1.1 up to 1.1.1l-r0: fixed in 1.1.1l-r0
—
Alpine:v3.23(1)
PackageVulnerable rangeFix by version rangeDependents
openssl—
  • 1.1.1 up to 1.1.1l-r0: fixed in 1.1.1l-r0
—
Alpine:v3.24(1)
PackageVulnerable rangeFix by version rangeDependents
openssl—
  • 1.1.1 up to 1.1.1l-r0: fixed in 1.1.1l-r0
—
crates.io(1)
PackageVulnerable rangeFix by version rangeDependents
openssl-src—
  • every version up to 111.16.0: fixed in 111.16.0
  • 0.0.0-0 up to 111.16.0: fixed in 111.16.0
—
Debian:10(1)
PackageVulnerable rangeFix by version rangeDependents
openssl1.1.1c-1 ... 1.1.1d-0+deb10u6 (7 versions)
  • every version up to 1.1.1d-0+deb10u7: fixed in 1.1.1d-0+deb10u7
—
Debian:11(1)
PackageVulnerable rangeFix by version rangeDependents
openssl1.1.1k-1
  • every version up to 1.1.1k-1+deb11u1: fixed in 1.1.1k-1+deb11u1
—
Debian:12(1)
PackageVulnerable rangeFix by version rangeDependents
openssl—
  • every version up to 1.1.1l-1: fixed in 1.1.1l-1
—
Debian:13(1)
PackageVulnerable rangeFix by version rangeDependents
openssl—
  • every version up to 1.1.1l-1: fixed in 1.1.1l-1
—
Debian:14(1)
PackageVulnerable rangeFix by version rangeDependents
openssl—
  • every version up to 1.1.1l-1: fixed in 1.1.1l-1
—

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Additional Vendor Advisories

(1)

Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.

Data Freshness Timeline

(refreshed 13× in last 7d / 49× in last 30d)

Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed its CVE.org record (CNA or CISA ADP). An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). "EchelonGraph re-scored" is our own recompute of this CVE's score, not an update from a source, and is not counted in the refreshes above. Most recent first.

Showing the most recent 100 of 191 rows on record for this CVE, as 99 entries (1 repeat merged).

A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. 1 repeat row among the latest 100 is merged into the row it repeats. The 91 oldest rows on record are not shown and were not checked, so the counts can still include repeats.

  1. 2026-11-12 18:41 UTCEchelonGraph re-scored
  2. 2026-11-12 18:41 UTCGHSA enrichmentGHSA-5ww6-px42-wc85 · GitHub severity CRITICAL · GitHub CVSS 9.8
  3. 2026-11-11 19:21 UTCEchelonGraph re-scored
  4. 2026-11-11 19:21 UTCVendor advisory
  5. 2026-11-11 19:21 UTCGHSA enrichmentGHSA-5ww6-px42-wc85 · GitHub severity CRITICAL · GitHub CVSS 9.8
  6. 2026-11-11 16:31 UTCEPSS rescoreEPSS 88% · 99th percentile
  7. 2026-11-10 20:02 UTCEchelonGraph re-scored
  8. 2026-11-10 20:02 UTCGHSA enrichmentGHSA-5ww6-px42-wc85 · GitHub severity CRITICAL · GitHub CVSS 9.8
  9. 2026-11-09 20:39 UTCEchelonGraph re-scored
  10. 2026-11-09 20:39 UTCGHSA enrichmentGHSA-5ww6-px42-wc85 · GitHub severity CRITICAL · GitHub CVSS 9.8
  11. 2026-11-09 16:29 UTCEPSS rescoreEPSS 88% · 99th percentile
  12. 2026-11-08 21:19 UTCEchelonGraph re-scored
  13. 2026-11-08 21:19 UTCVendor advisory
  14. 2026-11-08 21:19 UTCGHSA enrichmentGHSA-5ww6-px42-wc85 · GitHub severity CRITICAL · GitHub CVSS 9.8
  15. 2026-11-07 22:00 UTCEchelonGraph re-scored
  16. 2026-11-07 22:00 UTCVendor advisory
  17. 2026-11-07 22:00 UTCGHSA enrichmentGHSA-5ww6-px42-wc85 · GitHub severity CRITICAL · GitHub CVSS 9.8
  18. 2026-11-06 22:40 UTCEchelonGraph re-scored
  19. 2026-11-06 22:40 UTCVendor advisory
  20. 2026-11-06 22:40 UTCGHSA enrichmentGHSA-5ww6-px42-wc85 · GitHub severity CRITICAL · GitHub CVSS 9.8
  21. 2026-11-06 16:30 UTCEPSS rescoreEPSS 88% · 99th percentile
  22. 2026-11-05 23:21 UTCEchelonGraph re-scored
  23. 2026-11-05 23:21 UTCVendor advisory
  24. 2026-11-05 23:21 UTCGHSA enrichmentGHSA-5ww6-px42-wc85 · GitHub severity CRITICAL · GitHub CVSS 9.8
  25. 2026-11-05 00:02 UTCEchelonGraph re-scored
Show 74 more
  1. 2026-11-05 00:02 UTCVendor advisory
  2. 2026-11-05 00:02 UTCGHSA enrichmentGHSA-5ww6-px42-wc85 · GitHub severity CRITICAL · GitHub CVSS 9.8
  3. 2026-11-04 16:30 UTCEPSS rescoreEPSS 88% · 99th percentile
  4. 2026-11-04 00:43 UTCEchelonGraph re-scored
  5. 2026-11-04 00:43 UTCVendor advisory
  6. 2026-11-04 00:43 UTCGHSA enrichmentGHSA-5ww6-px42-wc85 · GitHub severity CRITICAL · GitHub CVSS 9.8
  7. 2026-11-03 19:25 UTCOSV refresh
  8. 2026-11-03 01:23 UTCEchelonGraph re-scored
  9. 2026-11-03 01:23 UTCVendor advisory
  10. 2026-11-03 01:23 UTCGHSA enrichmentGHSA-5ww6-px42-wc85 · GitHub severity CRITICAL · GitHub CVSS 9.8
  11. 2026-11-02 01:54 UTCEchelonGraph re-scored
  12. 2026-11-02 01:54 UTCVendor advisory
  13. 2026-11-02 01:54 UTCGHSA enrichmentGHSA-5ww6-px42-wc85 · GitHub severity CRITICAL · GitHub CVSS 9.8
  14. 2026-11-01 08:31 UTCGHSA enrichmentGHSA-5ww6-px42-wc85 · GitHub severity CRITICAL · GitHub CVSS 9.8
  15. 2026-11-01 08:31 UTCEchelonGraph re-scored
  16. 2026-11-01 02:35 UTCEchelonGraph re-scored
  17. 2026-11-01 02:35 UTCVendor advisory
  18. 2026-10-31 16:29 UTCEPSS rescoreEPSS 88% · 99th percentile
  19. 2026-10-31 03:15 UTCEchelonGraph re-scored
  20. 2026-10-31 03:15 UTCVendor advisory
  21. 2026-10-30 03:56 UTCEchelonGraph re-scored
  22. 2026-10-30 03:56 UTCVendor advisory
  23. 2026-10-29 04:36 UTCEchelonGraph re-scored
  24. 2026-10-29 04:36 UTCVendor advisory
  25. 2026-10-28 16:28 UTCEPSS rescoreEPSS 88% · 99th percentile
  26. 2026-10-28 05:07 UTCEchelonGraph re-scored
  27. 2026-10-28 05:07 UTCVendor advisory
  28. 2026-10-27 05:47 UTCEchelonGraph re-scored
  29. 2026-10-27 05:47 UTCVendor advisory
  30. 2026-10-26 02:26 UTCVendor advisory
  31. 2026-10-25 18:24 UTCEchelonGraph re-scored
  32. 2026-10-25 16:28 UTCEPSS rescoreEPSS 88% · 99th percentile
  33. 2026-10-25 03:06 UTCEchelonGraph re-scored
  34. 2026-10-25 03:06 UTCVendor advisory
  35. 2026-10-24 03:47 UTCEchelonGraph re-scored
  36. 2026-10-23 04:25 UTCEchelonGraph re-scored
  37. 2026-10-23 04:25 UTCVendor advisory
  38. 2026-10-22 05:06 UTCEchelonGraph re-scored
  39. 2026-10-22 05:06 UTCVendor advisory
  40. 2026-10-21 16:28 UTCEPSS rescoreEPSS 88% · 99th percentile
  41. 2026-10-21 05:42 UTCEchelonGraph re-scored
  42. 2026-10-21 05:42 UTCVendor advisory
  43. 2026-10-20 06:22 UTCEchelonGraph re-scored
  44. 2026-10-20 06:22 UTCVendor advisory
  45. 2026-10-19 16:28 UTCEPSS rescoreEPSS 88% · 99th percentile
  46. 2026-10-19 06:58 UTCEchelonGraph re-scored
  47. 2026-10-19 06:58 UTCVendor advisory
  48. 2026-10-18 07:38 UTCEchelonGraph re-scored
  49. 2026-10-18 07:38 UTCVendor advisory
  50. 2026-10-17 08:16 UTCEchelonGraph re-scored
  51. 2026-10-17 08:16 UTCVendor advisory
  52. 2026-10-16 08:56 UTCEchelonGraph re-scored
  53. 2026-10-16 08:56 UTCVendor advisory
  54. 2026-10-15 08:11 UTCEchelonGraph re-scored
  55. 2026-10-15 08:11 UTCVendor advisory
  56. 2026-10-14 16:29 UTCEPSS rescoreEPSS 88% · 99th percentile
  57. 2026-10-14 04:20 UTCEchelonGraph re-scored
  58. 2026-10-14 04:20 UTCVendor advisory
  59. 2026-10-12 23:59 UTCVendor advisory
  60. 2026-10-12 19:13 UTCEchelonGraph re-scored
  61. 2026-10-11 23:38 UTCEchelonGraph re-scored
  62. 2026-10-10 19:56 UTCEPSS rescoreEPSS 88% · 99th percentile
  63. 2026-10-08 21:23 UTCEchelonGraph re-scored
  64. 2026-10-08 21:23 UTCVendor advisory
  65. 2026-10-06 15:14 UTCEPSS rescoreEPSS 88% · 99th percentile
  66. 2026-09-30 15:38 UTCEchelonGraph re-scored
  67. 2026-09-30 15:00 UTCEPSS rescoreEPSS 88% · 99th percentile
  68. 2026-09-29 15:15 UTCEPSS rescoreEPSS 88% · 99th percentile
  69. 2026-09-26 15:54 UTCEPSS rescoreEPSS 88% · 99th percentile
  70. 2026-09-25 19:15 UTCOSV refresh
  71. 2026-09-24 14:00 UTCEPSS rescoreEPSS 88% · 99th percentile
  72. 2026-09-23 13:44 UTCEPSS rescoreEPSS 88% · 99th percentile
  73. 2026-09-22 14:44 UTCEPSS rescoreEPSS 88% · 99th percentile
  74. 2026-09-21 20:28 UTCEPSS rescoreEPSS 88% · 99th percentile

Frequently asked(5)

What is CVE-2021-3711?
CVE-2021-3711 is a critical-severity vulnerability; its CVE record was published on August 24, 2021. 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…
When was CVE-2021-3711 made public?
CVE-2021-3711 was made public on August 24, 2021: that is the date its CVE record's CNA, OpenSSL Software Foundation, gives for when the vulnerability was made public. The CVE record itself was published on August 24, 2021. EchelonGraph's copy of the record carries a last-modified date of October 8, 2026; the record at its source may have been updated since.
Is CVE-2021-3711 actively exploited?
CVE-2021-3711 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 88% probability of exploitation in the next 30 days (99th percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2021-3711?
CVE-2021-3711 has a CVSS v3 base score of 9.8 (NVD).
How do I remediate CVE-2021-3711?
A fix for CVE-2021-3711 is available: update to the fixed version the vendor names in its advisory. The vendor advisories EchelonGraph has for CVE-2021-3711 are linked in the Vendor Advisories panel on this page.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2021-3711

Explore →

Is Your Infrastructure Affected by CVE-2021-3711?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.