CVE-2021-23840: Integer overflow in CipherUpdate
Vulnerability summary
CVE-2021-23840 is a high (CVSS 7.5) Integer Overflow or Wraparound vulnerability in debian debian_linux. EPSS estimates a 50.73% chance of exploitation in the next 30 days, higher than 98.9% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 51% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 32 · Related 23Timeline
- 16-02-2021PublishedVulnerability first disclosed.
- 16-04-2026Last modifiedVulnerability information updated.
Description
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).
CVSS metrics
7 scores · 6 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · Crates.ioEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
50.73%
Chance of exploitation in the next 30 days
Percentile
99%
Versus all other CVEs
30-day change
No change 0.00 pp
From 50.73% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Oracle9 products
- business_intelligence5.5.0.0.0 | 5.9.0.0.0 | 12.2.1.3.0 | 12.2.1.4.0
- communications_cloud_native_core_policy1.15.0
- enterprise_manager_for_storage_management13.4.0.0
- enterprise_manager_ops_center12.4.0.0
- graalvmEOL19.3.5 | 20.3.1.2 | 21.0.0.2
Fujitsu6 products
- m10-1_firmware< xcp2410 | < xcp3110
- m10-4_firmware< xcp2410 | < xcp3110
- m10-4s_firmware< xcp2410 | < xcp3110
- m12-1_firmware< xcp2410 | < xcp3110
- m12-2_firmware< xcp2410 | < xcp3110
Ubuntu4 products
- edk2All versions (No fix recorded) | < 0~20191122.bd85bf54-2ubuntu3.3
- nodejsAll versions (No fix recorded)
- openssl< 1.0.1f-1ubuntu2.27+esm10 | < 1.0.2g-1ubuntu4.19 | < 1.0.2g-1ubuntu4.fips.4.19.3 | All versions (No fix recorded) | < 1.1.1-1ubuntu2.1~18.04.8 | < 1.1.1-1ubuntu2.fips.2.1~18.04.9.1 | < 1.1.1f-1ubuntu2.2 | < 1.1.1f-1ubuntu2.fips.7.2 | < 1.1.1f-1ubuntu2.fips.2.8
- openssl1.0< 1.0.2n-1ubuntu5.6
Alpine3 products
- openssl≥ 1.0.2, < 1.1.1j-r0
- openssl1.1-compat< 1.1.1j-r0
- openssl3< 1.1.1j-r0
Debian2 products
- openssl< 1.1.1j-1
- debian_linuxEOL10.0
Tenable2 products
- log_correlation_engine< 6.0.8
- nessus_network_monitor5.11.0 | 5.11.1 | 5.12.0 | 5.12.1 | 5.13.0
Crates.Io1 product
- openssl-src< 111.14.0 | ≥ 0.0.0-0, < 111.14.0
Mcafee1 product
- epolicy_orchestrator< 5.10.0 | 5.10.0 | 5.10.0:update_1 | 5.10.0:update_10 | 5.10.0:update_2 | 5.10.0:update_3 | 5.10.0:update_4 | 5.10.0:update_5 | 5.10.0:update_6 | 5.10.0:update_7 | 5.10.0:update_8 | 5.10.0:update_9
Nodejs1 product
- node.jsEOL≥ 10.0.0, ≤ 10.12.0 | ≥ 10.13.0, < 10.24.0 | ≥ 12.0.0, ≤ 12.12.0 | ≥ 12.13.0, < 12.21.0 | ≥ 14.0.0, ≤ 14.14.0 | ≥ 15.0.0, < 15.10.0 | 14.15.0
Openssl1 product
- opensslFixed 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) | ≥ 1.0.2, < 1.0.2y | ≥ 1.1.1, < 1.1.1j
10 vendors · 30 products
References
36 links- security.netapp.com/advisory/ntap-20210219-0009/Third Party Advisory
Show all 36 references
- lists.apache.org/thread.html/…Mailing List
- lists.apache.org/thread.html/…Mailing List
- crates.io/crates/openssl-srcPACKAGE