Calls to EVP_CipherUpdate, EVP_EncryptUpdate and EVP_DecryptUpdate may overflow the output length argument in some cases where the input length is close to the maximum permissable length for an integer on the platform. In such cases the return value from the function call will be 1 (indicating success), but the output length value will be negative. This could cause applications to behave incorrectly or crash. 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-23840
Score elevated to 8.1 because EPSS predicts 51% probability of exploitation within the next 30 days (98th percentile of EPSS-scored CVEs). NVD baseline CVSS 7.5 retained for reference. Confidence: see factors.
- High exploitation likelihood — EPSS 51%
A fix is available — apply it.
- CVSS v3
- 7.5
- EG Score
- 8.1HIGHhigh confidence
- EG Risk
- 72EG Risk 72/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity81% × 45%Exploitation51% × 40%Automatability100% × 15%CISA SSVC: Track at low or medium mission impact; Attend at high (mission-essential systems).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
- 51%
- EPSS %ILE
- 98th
- KEV
- Not listed
CISA SSVCTrack 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 partial (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
February 16, 2021
Last Modified
April 16, 2026
References (40)
- openssl-security@opensslhttps://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- openssl-security@opensslhttps://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=6a51b9e1d0cf0bf8515f7201b68fb0a3482b3dc1
- openssl-security@opensslhttps://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=9b1129239f3ebb1d1c98ce9ed41d5c9476c47cb2
- openssl-security@opensslhttps://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA44846
- openssl-security@opensslhttps://kc.mcafee.com/corporate/index?page=content&id=SB10366
- openssl-security@opensslhttps://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
- openssl-security@opensslhttps://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
- 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-20240621-0006/
- openssl-security@opensslhttps://www.debian.org/security/2021/dsa-4855
- openssl-security@opensslhttps://www.openssl.org/news/secadv/20210216.txt
- openssl-security@opensslhttps://www.oracle.com//security-alerts/cpujul2021.html
- openssl-security@opensslhttps://www.oracle.com/security-alerts/cpuApr2021.html
- openssl-security@opensslhttps://www.oracle.com/security-alerts/cpuapr2022.html
Vendor Advisories for CVE-2021-23840(7)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- CVE-2021-23840Microsoft Security Response Center (MSRC)High
Integer overflow in CipherUpdate
- RHSA-2021:4861Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat JBoss Web Server 5.6.0 Security release
- RHSA-2021:4863Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat JBoss Web Server 5.6.0 Security release
- 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(10)
| Vendor / Ecosystem | Fix (by version range) / Patch | Released | Source |
|---|---|---|---|
| ubuntu | openssl (1.0.2g-1ubuntu4.19) @ xenial | 2026-05-22 | ubuntu |
| ubuntu | openssl (1.0.1f-1ubuntu2.27+esm10) @ trusty | 2026-05-22 | ubuntu |
| ubuntu | ovmf (2020.11-4ubuntu0.1) @ hirsute | 2026-05-22 | 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 | openssl | 2021-11-10 | redhat |
| redhat | jbcs-httpd24-openssl-pkcs11-0:0.4.10-22.jbcs.el7 | 2021-11-10 | redhat |
| redhat | openssl-1:1.1.1k-4.el8 | 2021-11-09 | redhat |
| redhat | edk2-0:20210527gite1999b264f1f-3.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
(26 across 23 ecosystems)
Alpine:v3.15(2)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| openssl | — |
| — |
| openssl3 | — |
| — |
Alpine:v3.16(2)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| openssl | — |
| — |
| openssl3 | — |
| — |
Debian:9(2)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| openssl | 1.1.0f-3 ... 1.1.0l-1~deb9u2 (16 versions) |
| — |
| openssl1.0 | 1.0.2l-2 ... 1.0.2u-1~deb9u3 (20 versions) |
| — |
Alpine:v3.10(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| openssl | — |
| — |
Alpine:v3.11(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| openssl | — |
| — |
Alpine:v3.12(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| openssl | — |
| — |
Alpine:v3.13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| openssl | — |
| — |
Alpine:v3.14(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| openssl | — |
| — |
Alpine:v3.17(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| openssl | — |
| — |
Alpine:v3.18(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| openssl | — |
| — |
Alpine:v3.19(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| openssl | — |
| — |
Alpine:v3.20(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| openssl | — |
| — |
Alpine:v3.21(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| openssl | — |
| — |
Alpine:v3.22(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| openssl | — |
| — |
Alpine:v3.23(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| openssl | — |
| — |
Alpine:v3.24(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| openssl | — |
| — |
Alpine:v3.9(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| openssl | — |
| — |
crates.io(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| openssl-src | — |
| — |
Debian:10(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| openssl | 1.1.1c-1, 1.1.1d-0+deb10u1, 1.1.1d-0+deb10u2, 1.1.1d-0+deb10u3, 1.1.1d-0+deb10u4 |
| — |
Debian:11(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| openssl | — |
| — |
Debian:12(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| openssl | — |
| — |
Debian:13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| openssl | — |
| — |
Debian:14(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| openssl | — |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(5)
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 5× in last 7d / 27× 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.
Showing the most recent 100 of 188 total refreshes for this CVE.
- 2026-10-09 20:04 UTCEPSS rescore
- 2026-10-08 16:39 UTCEPSS rescore
- 2026-10-07 23:44 UTCEPSS rescore
- 2026-10-07 19:54 UTCOSV refresh
- 2026-10-06 15:13 UTCEPSS rescore
- 2026-10-03 14:22 UTCEPSS rescore
- 2026-10-03 14:22 UTCEPSS rescore
- 2026-10-02 16:22 UTCEPSS rescore
- 2026-10-01 19:46 UTCEPSS rescore
- 2026-09-30 15:31 UTCEG score recompute
- 2026-09-27 13:41 UTCEPSS rescore
- 2026-09-26 15:54 UTCEPSS rescore
- 2026-09-26 15:54 UTCEPSS rescore
- 2026-09-24 14:00 UTCEPSS rescore
- 2026-09-24 14:00 UTCEPSS rescore
- 2026-09-23 13:44 UTCEPSS rescore
- 2026-09-22 14:44 UTCEPSS rescore
- 2026-09-21 20:28 UTCEPSS rescore
- 2026-09-19 15:37 UTCEPSS rescore
- 2026-09-18 19:23 UTCEPSS rescore
- 2026-09-18 01:50 UTCOSV refresh
- 2026-09-17 19:23 UTCEPSS rescore
- 2026-09-16 14:05 UTCEPSS rescore
- 2026-09-16 14:04 UTCEPSS rescore
- 2026-09-15 03:06 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-09-12 14:57 UTCEPSS rescore
- 2026-09-11 09:33 UTCEPSS rescore
- 2026-09-10 09:29 UTCEPSS rescore
- 2026-09-08 21:56 UTCEPSS rescore
- 2026-09-06 13:44 UTCEPSS rescore
- 2026-09-06 13:44 UTCEPSS rescore
- 2026-09-05 15:25 UTCEPSS rescore
- 2026-09-04 13:57 UTCEPSS rescore
- 2026-09-02 14:08 UTCEPSS rescore
- 2026-09-01 13:50 UTCEPSS rescore
- 2026-09-01 03:32 UTCEPSS rescore
- 2026-08-30 19:14 UTCEPSS rescore
- 2026-08-30 02:43 UTCOSV refresh
- 2026-08-30 01:19 UTCEPSS rescore
- 2026-08-28 21:37 UTCEPSS rescore
- 2026-08-26 14:42 UTCEPSS rescore
- 2026-08-25 13:45 UTCEPSS rescore
- 2026-08-21 23:46 UTCEPSS rescore
- 2026-08-20 22:52 UTCEPSS rescore
- 2026-08-19 17:01 UTCEPSS rescore
- 2026-08-18 13:45 UTCEPSS rescore
- 2026-08-17 13:43 UTCEPSS rescore
- 2026-08-16 14:52 UTCEPSS rescore
- 2026-08-16 02:11 UTCEPSS rescore
- 2026-08-15 01:27 UTCEPSS rescore
- 2026-08-13 13:51 UTCOSV refresh
- 2026-08-12 13:47 UTCEPSS rescore
- 2026-08-11 13:38 UTCEPSS rescore
- 2026-08-08 16:33 UTCEPSS rescore
- 2026-08-07 16:23 UTCEPSS rescore
- 2026-08-06 13:43 UTCEPSS rescore
- 2026-07-30 16:25 UTCEPSS rescore
- 2026-07-30 01:27 UTCEPSS rescore
- 2026-07-30 01:27 UTCEPSS rescore
- 2026-07-28 20:47 UTCOSV refresh
- 2026-07-26 14:52 UTCEPSS rescore
- 2026-07-25 14:15 UTCEPSS rescore
- 2026-07-24 14:15 UTCEPSS rescore
- 2026-07-23 14:15 UTCEPSS rescore
- 2026-07-23 01:57 UTCEG score recompute▲ 0.60
- 2026-07-22 22:44 UTCEG score recompute
- 2026-07-22 14:05 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-19 14:28 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-16 17:00 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-15 01:57 UTCEPSS rescore
- 2026-07-13 06:10 UTCEPSS rescore
- 2026-07-13 06:10 UTCEPSS rescore
- 2026-07-12 05:44 UTCEPSS rescore
- 2026-07-12 05:44 UTCEPSS rescore
- 2026-07-11 13:22 UTCOSV refresh
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-09 19:07 UTCEPSS rescore
- 2026-07-08 15:12 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-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
- 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 19:35 UTCOSV refresh
- 2026-06-21 01:58 UTCEPSS rescore
Related CVEs(same product + same vendor + same CWE)
Same product
10 shownAlpine:v3.10:openssl · Alpine:v3.11:openssl
- CVE-2021-23841EG 5.9EPSS p94MEDIUM
- CVE-2020-1971EG 5.9EPSS p94MEDIUM
- CVE-2019-1551EG 5.3EPSS p97MEDIUM
- CVE-2019-1547EG 4.7MEDIUM
- CVE-2019-1563EG 3.7EPSS p90LOW
- CVE-2018-0734EG 5.9EPSS p96MEDIUM
- CVE-2020-1967NVD 7.5EG 8.1EPSS p99HIGH
- CVE-2021-3449NVD 5.9EG 7.8EPSS p99HIGH
- CVE-2021-3712NVD 7.4EG 8.0EPSS p99HIGH
- CVE-2019-1543EG 7.4EPSS p93HIGH
Same vendor
10 shownredhat:RHSA-2021:3798 · redhat:RHSA-2021:4613 · redhat:RHSA-2021:4861
- CVE-2021-23841EG 5.9EPSS p94MEDIUM
- CVE-2021-3712NVD 7.4EG 8.0EPSS p99HIGH
- CVE-2021-26691EG 9.8EPSS p99CRITICAL
- CVE-2021-3688NVD 4.8EG 9.1CRITICAL
- CVE-2021-26690NVD 7.5EG 8.5EPSS p99HIGH
- CVE-2021-34798NVD 7.5EG 8.4EPSS p99HIGH
- CVE-2021-33037NVD 5.3EG 8.3EPSS p99HIGH
- CVE-2020-35452NVD 7.3EG 8.1EPSS p99HIGH
- CVE-2020-13950NVD 7.5EG 8.0EPSS p99HIGH
- CVE-2021-42340EG 7.5EPSS p96HIGH
Frequently asked(5)
What is CVE-2021-23840?
When was CVE-2021-23840 disclosed?
Is CVE-2021-23840 actively exploited?
What is the CVSS score of CVE-2021-23840?
How do I remediate CVE-2021-23840?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2021-23840
Is Your Infrastructure Affected by CVE-2021-23840?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.