Home / OpenSSL / OpenSSL / CVE-2021-23841
CVE-2021-23841: is it exploited, and which versions of OpenSSL are affected and fixed?
CVE-2021-23841 is a NULL pointer dereference (crash) vulnerability in OpenSSL. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: openssl-src before 111.14.0 (GitHub advisory GHSA-84rm-qf37-fgc2). Fixed in 111.14.0 (GitHub advisory GHSA-84rm-qf37-fgc2). Severity: Medium (5.9, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 08:03 UTC.
What is CVE-2021-23841?
Null pointer deref in X509_issuer_and_serial_hash()
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is maliciously constructed). This may subsequently result in a NULL pointer deref and a crash leading to a potential denial of service attack. The function X509_issuer_and_serial_hash() is never directly called by OpenSSL itself so applications are only vulnerable if they use this function directly and they use it on certificates that may have been obtained from untrusted sources. OpenSSL versions 1.1.1i and below are affected by this issue. Users of these versions should upgrade to OpenSSL 1.1.1j. OpenSSL versions 1.0.2x and below are affected by this issue. However OpenSSL 1.0.2 is out of support and no longer receiving public updates. Premium support customers of OpenSSL 1.0.2 should upgrade to 1.0.2y. Other users should upgrade to 1.1.1j. Fixed in OpenSSL 1.1.1j (Affected 1.1.1-1.1.1i). Fixed in OpenSSL 1.0.2y (Affected 1.0.2-1.0.2x).
From the CVE record by openssl, last updated September 16, 2024, 22:39 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| OpenSSL | OpenSSL | Fixed in OpenSSL 1.1.1j (Affected 1.1.1-1.1.1i) Fixed in OpenSSL 1.0.2y (Affected 1.0.2-1.0.2x) |
As the CVE record by openssl states it, last updated September 16, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| crates.io | openssl-src | < 111.14.0 | 111.14.0 | GHSA-84rm-qf37-fgc2 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 19, 2021. Summary: Integer Overflow in openssl-src.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| openssl | openssl | from 1.0.2 before 1.0.2y | application |
| openssl | openssl | from 1.1.1 before 1.1.1j | application |
| debian | debian linux | 10.0 | operating system |
| tenable | nessus network monitor | 5.11.0 | application |
| tenable | nessus network monitor | 5.11.1 | application |
| tenable | nessus network monitor | 5.12.0 | application |
| tenable | nessus network monitor | 5.12.1 | application |
| tenable | nessus network monitor | 5.13.0 | application |
| tenable | tenable.sc | from 5.13.0 through 5.17.0 | application |
| apple | safari | before 14.1.1 | application |
| apple | ipados | before 14.6 | operating system |
| apple | iphone os | before 14.6 | operating system |
| apple | macos | from 11.1 before 11.4 | operating system |
| netapp | oncommand insight | all versions | application |
| netapp | oncommand workflow automation | all versions | application |
| netapp | snapcenter | all versions | application |
| oracle | business intelligence | 5.5.0.0.0 | application |
| oracle | business intelligence | 5.9.0.0.0 | application |
| oracle | business intelligence | 12.2.1.3.0 | application |
| oracle | business intelligence | 12.2.1.4.0 | application |
| oracle | communications cloud native core policy | 1.15.0 | application |
| oracle | enterprise manager for storage management | 13.4.0.0 | application |
| oracle | enterprise manager ops center | 12.4.0.0 | application |
| oracle | essbase | 21.2 | application |
| oracle | graalvm | 19.3.5 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:38 UTC.
How severe is CVE-2021-23841?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-23841 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, June 26, 2024)
- EPSS
- 7.49% probability of exploitation activity in the next 30 days, percentile 94.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://www.openssl.org/news/secadv/20210216.txt
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=122a19ab48091c657f7cb1fb3af9fc07bd557bbf
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=8252ee4d90f3f2004d3d0aeeed003ad49c9a7807
- DSA-4855 vendor-advisory
- GLSA-202103-03 vendor-advisory
- 20210526 APPLE-SA-2021-05-25-2 macOS Big Sur 11.4 mailing-list
- 20210526 APPLE-SA-2021-05-25-5 Safari 14.1.1 mailing-list
- 20210526 APPLE-SA-2021-05-25-1 iOS 14.6 and iPadOS 14.6 mailing-list
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://www.tenable.com/security/tns-2021-09
- https://security.netapp.com/advisory/ntap-20210513-0002/
- https://security.netapp.com/advisory/ntap-20210219-0009/
- https://www.tenable.com/security/tns-2021-03
- https://support.apple.com/kb/HT212529
- https://support.apple.com/kb/HT212528
- https://support.apple.com/kb/HT212534
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA44846
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf
- https://security.netapp.com/advisory/ntap-20240621-0006/
Who found and reported it?
- Tavis Ormandy (Google) (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- January 12, 2021
- Published
- February 16, 2021, 16:55 UTC
- CVE record updated
- September 16, 2024, 22:39 UTC by openssl
- NVD
- Modified, last modified June 17, 2026, 03:38 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 08:03 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect OpenSSL?
- Apr 7, 2014CVE-2014-0160 Openssl: out-of-bounds read exploited
- Dec 1, 2026CVE-2026-123780 OpenSSL: denial of service (resources allocated without limits)
- Dec 1, 2026CVE-2026-120667 OpenSSL: out-of-bounds write (memory corruption)
- Dec 1, 2026CVE-2026-120666 OpenSSL: data authenticity not verified
- Dec 1, 2026CVE-2026-120665 OpenSSL: improper certificate validation
- Nov 24, 2026CVE-2026-84785 OpenSSL: denial of service (resources allocated without limits)
- Nov 18, 2026CVE-2026-95690 OpenSSL: denial of service (resources allocated without limits)
- Nov 18, 2026CVE-2026-84786 OpenSSL: NULL pointer dereference (crash)
Questions about CVE-2021-23841
Is CVE-2021-23841 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 7.49% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of OpenSSL are affected by CVE-2021-23841?
openssl-src before 111.14.0, per the GitHub advisory GHSA-84rm-qf37-fgc2. The tables above give every range the sources list.
Which version fixes CVE-2021-23841?
111.14.0, per the GitHub advisory GHSA-84rm-qf37-fgc2. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-23841?
Medium (5.9, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-23841?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.