CVEMETERBack to radar
OFFICIAL RECORD · OpenSSL

CVE-2021-3711

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 9.8 · critical

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

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 87.816% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 9.8 · published by [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T10:05:49.777Z

CVSS 2.0 · 7.5 · published by [email protected]
AV:N/AC:L/Au:N/C:P/I:P/A:P
Assessment source · checked 2026-11-19T10:05:49.777Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:28:52.703ZCISA KEV
cvssverified2026-11-19T10:05:49.777ZNVD
epssverified2026-11-19T16:04:31.142ZFIRST EPSS
patchesverified2026-11-19T12:52:07.087ZOSV
affectedverified2026-11-19T10:45:43.048ZCVE Program
lifecycleverified2026-11-19T10:45:43.048ZCVE Program

Affected versions and configuration

OpenSSL OpenSSL; default status: unknown: Fixed in OpenSSL 1.1.1l (Affected 1.1.1-1.1.1k) [affected; scheme: unspecified]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

OSV · osv · full conditions
{
  "id": "DEBIAN-CVE-2021-3711",
  "aliases": [],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.1.1l-1"
            }
          ]
        }
      ],
      "package": {
        "name": "openssl",
        "purl": "pkg:deb/debian/openssl?arch=source&distro=trixie",
        "ecosystem": "Debian:13"
      },
      "versions": [],
      "database_specific": {
        "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-3711.json"
      },
      "ecosystem_specific": {
        "urgency": "not yet assigned"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "upstream": [
    "CVE-2021-3711"
  ],
  "withdrawn": null,
  "references": [
    {
      "url": "https://security-tracker.debian.org/tracker/CVE-2021-3711",
      "type": "ADVISORY"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {}
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "DEBIAN-CVE-2021-3711",
  "aliases": [],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.1.1l-1"
            }
          ]
        }
      ],
      "package": {
        "name": "openssl",
        "purl": "pkg:deb/debian/openssl?arch=source&distro=bookworm",
        "ecosystem": "Debian:12"
      },
      "versions": [],
      "database_specific": {
        "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-3711.json"
      },
      "ecosystem_specific": {
        "urgency": "not yet assigned"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "upstream": [
    "CVE-2021-3711"
  ],
  "withdrawn": null,
  "references": [
    {
      "url": "https://security-tracker.debian.org/tracker/CVE-2021-3711",
      "type": "ADVISORY"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {}
}
Archived source JSON
CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "OpenSSL",
      "product": "OpenSSL",
      "versions": [
        {
          "status": "affected",
          "version": "Fixed in OpenSSL 1.1.1l (Affected 1.1.1-1.1.1k)"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CVE Program Container",
      "references": [
        {
          "url": "https://www.openssl.org/news/secadv/20210824.txt",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=59f5e75f3bced8fc0e130d72a3f582cf7b480b46",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://www.debian.org/security/2021/dsa-4963",
          "name": "DSA-4963",
          "tags": [
            "vendor-advisory",
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.apache.org/thread.html/r18995de860f0e63635f3008fd2a6aca82394249476d21691e7c59c9e%40%3Cdev.tomcat.apache.org%3E",
          "name": "[tomcat-dev] 20210825 OpenSSL security announcement - do we need a Tomcat Native release?",
          "tags": [
            "mailing-list",
            "x_transferred"
          ]
        },
        {
          "url": "http://www.openwall.com/lists/oss-security/2021/08/26/2",
          "name": "[oss-security] 20210825 OpenSSL SM2 Decryption Buffer Overflow (CVE-2021-3711), Read buffer overruns processing ASN.1 strings (CVE-2021-3712)",
          "tags": [
            "mailing-list",
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.apache.org/thread.html/rad5d9f83f0d11fb3f8bb148d179b8a9ad7c6a17f18d70e5805a713d1%40%3Cdev.tomcat.apache.org%3E",
          "name": "[tomcat-dev] 20210826 Re: OpenSSL security announcement - do we need a Tomcat Native release?",
          "tags": [
            "mailing-list",
            "x_transferred"
          ]
        },
        {
          "url": "https://security.netapp.com/advisory/ntap-20210827-0010/",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://www.oracle.com/security-alerts/cpuoct2021.html",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://www.tenable.com/security/tns-2021-16",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://www.oracle.com/security-alerts/cpujan2022.html",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://security.netapp.com/advisory/ntap-20211022-0003/",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://www.tenable.com/security/tns-2022-02",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://www.oracle.com/security-alerts/cpuapr2022.html",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://security.gentoo.org/glsa/202209-02",
          "name": "GLSA-202209-02",
          "tags": [
            "vendor-advisory",
            "x_transferred"
          ]
        },
        {
          "url": "https://security.gentoo.org/glsa/202210-02",
          "name": "GLSA-202210-02",
          "tags": [
            "vendor-advisory",
            "x_transferred"
          ]
        },
        {
          "url": "https://security.netapp.com/advisory/ntap-20240621-0006/",
          "tags": [
            "x_transferred"
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "af854a3a-2127-422b-91ae-364da2661108",
        "shortName": "CVE",
        "dateUpdated": "2024-08-03T17:01:08.171Z"
      }
    },
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2021-3711",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "total"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-10-08T20:59:50.338167Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-10-08T21:03:25.800Z"
      }
    }
  ]
}
Archived source JSON
NVD · nvd-cpe · full conditions
[
  {
    "nodes": [
      {
        "negate": false,
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "A9592A08-7FF0-490F-B684-6EA8E49F36C7",
            "versionEndExcluding": "1.1.1l",
            "versionStartIncluding": "1.1.1"
          }
        ],
        "operator": "OR"
      }
    ]
  },
  {
    "nodes": [
      {
        "negate": false,
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "07B237A9-69A3-4A9C-9DA0-4E06BD37AE73"
          },
          {
            "criteria": "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "FA6FEEC2-9F11-4643-8827-749718254FED"
          }
        ],
        "operator": "OR"
      }
    ]
  },
  {
    "nodes": [
      {
        "negate": false,
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:*",
            "vulnerable": true,
            "matchCriteriaId": "3A756737-1CC4-42C2-A4DF-E1C893B4E2D5"
          },
          {
            "criteria": "cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:windows:*:*",
            "vulnerable": true,
            "matchCriteriaId": "B55E8D50-99B4-47EC-86F9-699B67D473CE"
          },
          {
            "criteria": "cpe:2.3:a:netapp:clustered_data_ontap:-:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "1FE996B1-6951-4F85-AA58-B99A379D2163"
          },
          {
            "criteria": "cpe:2.3:a:netapp:clustered_data_ontap_antivirus_connector:-:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "62347994-1353-497C-9C4A-D5D8D95F67E8"
          },
          {
            "criteria": "cpe:2.3:a:netapp:e-series_santricity_os_controller:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "433D435D-13D0-4EAA-ACD9-DD88DA712D00",
            "versionEndIncluding": "11.50.2",
            "versionStartIncluding": "11.0"
          },
          {
            "criteria": "cpe:2.3:a:netapp:hci_management_node:-:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "A3C19813-E823-456A-B1CE-EC0684CE1953"
          },
          {
            "criteria": "cpe:2.3:a:netapp:manageability_software_development_kit:-:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "D39DCAE7-494F-40B2-867F-6C6A077939DD"
          },
          {
            "criteria": "cpe:2.3:a:netapp:oncommand_insight:-:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "F1BE6C1F-2565-4E97-92AA-16563E5660A5"
          },
          {
            "criteria": "cpe:2.3:a:netapp:oncommand_workflow_automation:-:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "5735E553-9731-4AAC-BCFF-989377F817B3"
          },
          {
            "criteria": "cpe:2.3:a:netapp:santricity_smi-s_provider:-:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "361B791A-D336-4431-8F68-8135BEFFAEA2"
          },
          {
            "criteria": "cpe:2.3:a:netapp:snapcenter:-:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "BDFB1169-41A0-4A86-8E4F-FDA9730B1E94"
          },
          {
            "criteria": "cpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "A6E9EF0C-AFA8-4F7B-9FDC-1E0F7C26E737"
          },
          {
            "criteria": "cpe:2.3:a:netapp:storage_encryption:-:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "2D82795C-F1ED-4D2C-B578-75B9EECBB99C"
          }
        ],
        "operator": "OR"
      }
    ]
  },
  {
    "nodes": [
      {
        "negate": false,
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:oracle:communications_cloud_native_core_security_edge_protection_proxy:1.7.0:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "BD4349FE-EEF8-489A-8ABF-5FCD55EC6DE0"
          },
          {
            "criteria": "cpe:2.3:a:oracle:communications_cloud_native_core_unified_data_repository:1.15.0:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "C6EAA723-2A23-4151-930B-86ACF9CC1C0C"
          },
          {
            "criteria": "cpe:2.3:a:oracle:communications_session_border_controller:8.4:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "9C416FD3-2E2F-4BBC-BD5F-F896825883F4"
          },
          {
            "criteria": "cpe:2.3:a:oracle:communications_session_border_controller:9.0:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "D886339E-EDB2-4879-BD54-1800E4CA9CAE"
          },
          {
            "criteria": "cpe:2.3:a:oracle:communications_unified_session_manager:8.2.5:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "FB468FEE-A0F4-49A0-BBEE-10D0733C87D4"
          },
          {
            "criteria": "cpe:2.3:a:oracle:communications_unified_session_manager:8.4.5:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "CC5C177E-0C77-48C9-847A-A9E5AA7DBC1F"
          },
          {
            "criteria": "cpe:2.3:a:oracle:enterprise_communications_broker:3.2.0:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "348EEE70-E114-4720-AAAF-E77DE5C9A2D1"
          },
          {
            "criteria": "cpe:2.3:a:oracle:enterprise_communications_broker:3.3.0:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "3DCDD73B-57B1-4580-B922-5662E3AC13B6"
          },
          {
            "criteria": "cpe:2.3:a:oracle:enterprise_session_border_controller:8.4:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "7015A8CB-8FA6-423E-8307-BD903244F517"
          },
          {
            "criteria": "cpe:2.3:a:oracle:enterprise_session_border_controller:9.0:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "F9A4E206-56C7-4578-AC9C-088B0C8D9CFE"
          },
          {
            "criteria": "cpe:2.3:a:oracle:essbase:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "C78A7E07-AB08-46C5-942D-B40BBE0C0D06",
            "versionEndExcluding": "11.1.2.4.47"
          },
          {
            "criteria": "cpe:2.3:a:oracle:essbase:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "F2A9C248-94B0-4F7B-AD9C-4BE55AA1E3F2",
            "versionEndExcluding": "21.3",
            "versionStartIncluding": "21.1"
          },
          {
            "criteria": "cpe:2.3:a:oracle:health_sciences_inform_publisher:6.2.1.1:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "2F12453B-0E7B-46B9-ADEC-0AC5EDC41058"
          },
          {
            "criteria": "cpe:2.3:a:oracle:health_sciences_inform_publisher:6.3.1.1:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "5D105A5B-0AA8-4782-B804-CB1384F85884"
          },
          {
            "criteria": "cpe:2.3:a:oracle:jd_edwards_enterpriseone_tools:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "BE34D4F7-5C18-4578-8D0A-722FDF931333",
            "versionEndExcluding": "9.2.6.3"
          },
          {
            "criteria": "cpe:2.3:a:oracle:jd_edwards_world_security:a9.4:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "0B1CAD50-749F-4ADB-A046-BF3585677A58"
          },
          {
            "criteria": "cpe:2.3:a:oracle:mysql_connectors:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "AE23C7E1-F849-411D-850F-A504D4BA3414",
            "versionEndIncluding": "8.0.27"
          },
          {
            "criteria": "cpe:2.3:a:oracle:mysql_enterprise_monitor:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "88627B99-16DC-4878-A63A-A40F6FC1F477",
            "versionEndIncluding": "8.0.25"
          },
          {
            "criteria": "cpe:2.3:a:oracle:mysql_server:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "E667933A-37EA-4BC2-9180-C3B4B7038866",
            "versionEndIncluding": "5.7.35",
            "versionStartIncluding": "5.7.0"
          },
          {
            "criteria": "cpe:2.3:a:oracle:mysql_server:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "709E83B4-8C66-4255-870B-2F72B37BA8C6",
            "versionEndIncluding": "8.0.26",
            "versionStartIncluding": "8.0.0"
          },
          {
            "criteria": "cpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:8.57:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "7E1E416B-920B-49A0-9523-382898C2979D"
          },
          {
            "criteria": "cpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:8.58:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "D9DB4A14-2EF5-4B54-95D2-75E6CF9AA0A9"
          },
          {
            "criteria": "cpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:8.59:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "C8AF00C6-B97F-414D-A8DF-057E6BFD8597"
          },
          {
            "criteria": "cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "D3E503FB-6279-4D4A-91D8-E237ECF9D2B0"
          }
        ],
        "operator": "OR"
      }
    ]
  },
  {
    "nodes": [
      {
        "negate": false,
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:tenable:nessus_network_monitor:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "5FD1ED11-84AA-47E6-AD00-E08D035AF53B",
            "versionEndIncluding": "5.13.1"
          },
          {
            "criteria": "cpe:2.3:a:tenable:tenable.sc:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "8D977244-DC29-4301-8D89-0BD01BC328B8",
            "versionEndIncluding": "5.19.1",
            "versionStartIncluding": "5.16.0"
          }
        ],
        "operator": "OR"
      }
    ]
  }
]
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryDebian:13 / 13opensslunknown1.1.1l-1Official record
ecosystem-boundaryDebian:12 / 12opensslunknown1.1.1l-1Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history