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).
CVE-2021-23841
This medium-severity CVE scores 5.9 under NVD CVSS v3. EPSS exploit probability: 1.0%, top 23% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 5.9
- EG Score
- 5.9(medium)
- EPSS
- 93.7%
- KEV
- Not listed
Published
February 16, 2021
Last Modified
November 21, 2024
References (44)
- openssl-security@opensslhttp://seclists.org/fulldisclosure/2021/May/67
- openssl-security@opensslhttp://seclists.org/fulldisclosure/2021/May/68
- openssl-security@opensslhttp://seclists.org/fulldisclosure/2021/May/70
- openssl-security@opensslhttps://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf
- openssl-security@opensslhttps://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=122a19ab48091c657f7cb1fb3af9fc07bd557bbf
- openssl-security@opensslhttps://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=8252ee4d90f3f2004d3d0aeeed003ad49c9a7807
- openssl-security@opensslhttps://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA44846
- openssl-security@opensslhttps://security.gentoo.org/glsa/202103-03
- openssl-security@opensslhttps://security.netapp.com/advisory/ntap-20210219-0009/
- openssl-security@opensslhttps://security.netapp.com/advisory/ntap-20210513-0002/
- openssl-security@opensslhttps://security.netapp.com/advisory/ntap-20240621-0006/
- openssl-security@opensslhttps://support.apple.com/kb/HT212528
- openssl-security@opensslhttps://support.apple.com/kb/HT212529
- openssl-security@opensslhttps://support.apple.com/kb/HT212534
- openssl-security@opensslhttps://www.debian.org/security/2021/dsa-4855
Vendor Advisories for CVE-2021-23841(4)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2021:4614Red Hat Product SecurityMedium
Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.37 SP10 security update
- RHSA-2021:4613Red Hat Product SecurityMedium
Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.37 SP10 security update
- RHSA-2021:3798Red Hat Product SecurityMedium
Red Hat Security Advisory: openssl security update
- RHSA-2021:1168Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.2.2 security and bug fix update
Patch Availability(9)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | openssl1.0 (1.0.2n-1ubuntu5.6) @ bionic | 2026-05-26 | ubuntu |
| ubuntu | libssl1.0.0-udeb (1.0.1f-1ubuntu2.27+esm2) @ trusty | 2026-05-26 | ubuntu |
| redhat | patch | 2021-11-30 | redhat |
| redhat | jws5-tomcat-vault-0:1.1.8-4.Final_redhat_00004.1.el8jws | 2021-11-30 | redhat |
| redhat | jbcs-httpd24-openssl | 2021-11-10 | redhat |
| redhat | jbcs-httpd24-openssl-pkcs11-0:0.4.10-22.jbcs.el7 | 2021-11-10 | redhat |
| redhat | edk2-0:20210527gite1999b264f1f-3.el8 | 2021-11-09 | redhat |
| redhat | openssl-1:1.1.1k-4.el8 | 2021-11-09 | redhat |
| redhat | openssl-1:1.0.2k-22.el7_9 | 2021-10-12 | redhat |
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
(1 across 1 ecosystem)
crates.io(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| openssl-src | — | 111.14.0 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(7)
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.
- Microsoft MSRCCVE-2021-238412025-09-04
Null pointer deref in X509_issuer_and_serial_hash()
- Red HatRHSA-2021:4198MODERATE2021-02-16
RHSA-2021:4198 — Moderate
- Red HatRHSA-2021:4424MODERATE2021-02-16
RHSA-2021:4424 — Moderate
- Red HatRHSA-2021:4861MODERATE2021-02-16
RHSA-2021:4861 — Moderate
- Red HatRHSA-2021:4863MODERATE2021-02-16
RHSA-2021:4863 — Moderate
- UbuntuUSN-4738-1MEDIUM
OpenSSL vulnerabilities
- UbuntuUSN-4745-1MEDIUM
OpenSSL vulnerabilities
Data Freshness Timeline
(refreshed 9× in last 7d / 45× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-09 19:07 UTCEPSS rescore
- 2026-07-08 15:12 UTCEPSS rescore
- 2026-07-07 13:43 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 02:21 UTCEPSS rescore
- 2026-07-06 02:21 UTCEPSS rescore
- 2026-07-05 02:28 UTCEPSS rescore
- 2026-07-05 02:28 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-02 16:57 UTCEPSS rescore
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-07-01 08:18 UTCOSV refresh
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-29 14:04 UTCEPSS rescore
- 2026-06-29 14:04 UTCEPSS rescore
- 2026-06-28 14:05 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-27 03:06 UTCEPSS rescore
- 2026-06-27 03:06 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
Show 55 moreShow fewer
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-22 14:24 UTCEPSS rescore
- 2026-06-22 14:23 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-15 17:46 UTCEPSS rescore
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-13 13:43 UTCOSV refresh
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 13:20 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-29 13:42 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-26 20:46 UTCEG score recompute
- 2026-05-26 20:46 UTCVendor advisory
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
Frequently asked(5)
What is CVE-2021-23841?
When was CVE-2021-23841 disclosed?
Is CVE-2021-23841 actively exploited?
What is the CVSS score of CVE-2021-23841?
How do I remediate CVE-2021-23841?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2021-23841
Is Your Infrastructure Affected by CVE-2021-23841?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.