Live threats

All CVEs / Openssl

CVE-2021-23840Openssl

High 7.5 No auth neededHigh EPSS

Priority
65
CVSS 3.1
7.5
EPSS
51.1%
probability of exploitation in 30 days · percentile 99
Auth required
No
Published
Feb 16, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-190
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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).

Original NVD text.

What to do

  1. Apply the vendor's security update for Openssl.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io openssl-src < 111.14.0 111.14.0 cargo update -p openssl-src --precise 111.14.0
crates.io openssl-src ≥ 0.0.0-0 < 111.14.0 111.14.0 cargo update -p openssl-src --precise 111.14.0

Per OSV / GitHub Advisories (GHSA-qgm6-9472-pwq7, RUSTSEC-2021-0057). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
opensslopenssl≥ 1.0.2 < 1.0.2y
opensslopenssl≥ 1.1.1 < 1.1.1j
debiandebian_linux10.0
tenablelog_correlation_engine< 6.0.8
tenablenessus_network_monitor5.11.0
tenablenessus_network_monitor5.11.1
tenablenessus_network_monitor5.12.0
tenablenessus_network_monitor5.12.1
tenablenessus_network_monitor5.13.0
oraclebusiness_intelligence5.5.0.0.0
oraclebusiness_intelligence5.9.0.0.0
oraclebusiness_intelligence12.2.1.3.0
oraclebusiness_intelligence12.2.1.4.0
oraclecommunications_cloud_native_core_policy1.15.0
oracleenterprise_manager_for_storage_management13.4.0.0
oracleenterprise_manager_ops_center12.4.0.0
oraclegraalvm19.3.5
oraclegraalvm20.3.1.2
oraclegraalvm21.0.0.2
oraclejd_edwards_enterpriseone_tools< 9.2.6.0
oraclejd_edwards_world_securitya9.4
oraclemysql_server< 5.7.33
oraclemysql_server≥ 8.0.15 < 8.0.23
oraclenosql_database< 20.3
mcafeeepolicy_orchestrator< 5.10.0
mcafeeepolicy_orchestrator5.10.0
mcafeeepolicy_orchestrator5.10.0
mcafeeepolicy_orchestrator5.10.0
mcafeeepolicy_orchestrator5.10.0
mcafeeepolicy_orchestrator5.10.0
mcafeeepolicy_orchestrator5.10.0
mcafeeepolicy_orchestrator5.10.0
mcafeeepolicy_orchestrator5.10.0
mcafeeepolicy_orchestrator5.10.0
mcafeeepolicy_orchestrator5.10.0
mcafeeepolicy_orchestrator5.10.0
fujitsum10-1_firmware< xcp2410
fujitsum10-4_firmware< xcp2410
fujitsum10-4s_firmware< xcp2410
fujitsum12-1_firmware< xcp2410
fujitsum12-2_firmware< xcp2410
fujitsum12-2s_firmware< xcp2410
fujitsum10-1_firmware< xcp3110
fujitsum10-4_firmware< xcp3110
fujitsum10-4s_firmware< xcp3110
fujitsum12-1_firmware< xcp3110
fujitsum12-2_firmware< xcp3110
fujitsum12-2s_firmware< xcp3110
nodejsnode.js≥ 10.0.0 ≤ 10.12.0
nodejsnode.js≥ 10.13.0 < 10.24.0
nodejsnode.js≥ 12.0.0 ≤ 12.12.0
nodejsnode.js≥ 12.13.0 < 12.21.0
nodejsnode.js≥ 14.0.0 ≤ 14.14.0
nodejsnode.js≥ 15.0.0 < 15.10.0
nodejsnode.js14.15.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.