CVE-2021-23840
CVE-2021-23840 — Integer overflow in CipherUpdate
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).
Published Updated Sources: cvelistV5, openssl
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Public exploit
exploit code published, no use observed
EPSS
51%
chance of exploitation in 30 days
CVSS base
7.5
HIGH
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.5 | CVSS 3.1 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-190
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
Indexed by
References
20 on the record
- www.openssl.org/news/secadv/20210216.txt
reference
- git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=6a51b9e1d0cf0bf8515f7201b68fb0a3482b3dc1
reference
- git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=9b1129239f3ebb1d1c98ce9ed41d5c9476c47cb2
reference
- www.debian.org/security/2021/dsa-4855
vendor-advisory
- security.gentoo.org/glsa/202103-03
vendor-advisory
- www.oracle.com/security-alerts/cpuApr2021.html
reference
- www.tenable.com/security/tns-2021-10
reference
- www.tenable.com/security/tns-2021-09
reference
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2014-0160 OpenSSL Information Disclosure VulnerabilityCVSS 7.5 · CISA KEV
- CVE-2026-45447 Heap Use-After-Free in the PKCS7_verify() FunctionCVSS 8.8
- CVE-2026-97229 Integer Overflow or Wraparound in GitLabCVSS 10.0 · CISA KEV
- CVE-2013-2729 Adobe Reader and Acrobat Arbitrary Integer Overflow VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2023-6345 Google Skia Integer Overflow VulnerabilityCVSS 9.6 · CISA KEV
- CVE-2023-2136 Google Chrome Skia Integer Overflow VulnerabilityCVSS 9.6 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.