CVE-2021-23840Openssl
High 7.5 No auth neededHigh EPSS
Follow: this CVE · Openssl · Openssl We alert you by email or Slack (account required).
- 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).
What to do
- Apply the vendor's security update for Openssl.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| openssl | openssl | ≥ 1.0.2 < 1.0.2y |
| openssl | openssl | ≥ 1.1.1 < 1.1.1j |
| debian | debian_linux | 10.0 |
| tenable | log_correlation_engine | < 6.0.8 |
| tenable | nessus_network_monitor | 5.11.0 |
| tenable | nessus_network_monitor | 5.11.1 |
| tenable | nessus_network_monitor | 5.12.0 |
| tenable | nessus_network_monitor | 5.12.1 |
| tenable | nessus_network_monitor | 5.13.0 |
| oracle | business_intelligence | 5.5.0.0.0 |
| oracle | business_intelligence | 5.9.0.0.0 |
| oracle | business_intelligence | 12.2.1.3.0 |
| oracle | business_intelligence | 12.2.1.4.0 |
| oracle | communications_cloud_native_core_policy | 1.15.0 |
| oracle | enterprise_manager_for_storage_management | 13.4.0.0 |
| oracle | enterprise_manager_ops_center | 12.4.0.0 |
| oracle | graalvm | 19.3.5 |
| oracle | graalvm | 20.3.1.2 |
| oracle | graalvm | 21.0.0.2 |
| oracle | jd_edwards_enterpriseone_tools | < 9.2.6.0 |
| oracle | jd_edwards_world_security | a9.4 |
| oracle | mysql_server | < 5.7.33 |
| oracle | mysql_server | ≥ 8.0.15 < 8.0.23 |
| oracle | nosql_database | < 20.3 |
| mcafee | epolicy_orchestrator | < 5.10.0 |
| mcafee | epolicy_orchestrator | 5.10.0 |
| mcafee | epolicy_orchestrator | 5.10.0 |
| mcafee | epolicy_orchestrator | 5.10.0 |
| mcafee | epolicy_orchestrator | 5.10.0 |
| mcafee | epolicy_orchestrator | 5.10.0 |
| mcafee | epolicy_orchestrator | 5.10.0 |
| mcafee | epolicy_orchestrator | 5.10.0 |
| mcafee | epolicy_orchestrator | 5.10.0 |
| mcafee | epolicy_orchestrator | 5.10.0 |
| mcafee | epolicy_orchestrator | 5.10.0 |
| mcafee | epolicy_orchestrator | 5.10.0 |
| fujitsu | m10-1_firmware | < xcp2410 |
| fujitsu | m10-4_firmware | < xcp2410 |
| fujitsu | m10-4s_firmware | < xcp2410 |
| fujitsu | m12-1_firmware | < xcp2410 |
| fujitsu | m12-2_firmware | < xcp2410 |
| fujitsu | m12-2s_firmware | < xcp2410 |
| fujitsu | m10-1_firmware | < xcp3110 |
| fujitsu | m10-4_firmware | < xcp3110 |
| fujitsu | m10-4s_firmware | < xcp3110 |
| fujitsu | m12-1_firmware | < xcp3110 |
| fujitsu | m12-2_firmware | < xcp3110 |
| fujitsu | m12-2s_firmware | < xcp3110 |
| nodejs | node.js | ≥ 10.0.0 ≤ 10.12.0 |
| nodejs | node.js | ≥ 10.13.0 < 10.24.0 |
| nodejs | node.js | ≥ 12.0.0 ≤ 12.12.0 |
| nodejs | node.js | ≥ 12.13.0 < 12.21.0 |
| nodejs | node.js | ≥ 14.0.0 ≤ 14.14.0 |
| nodejs | node.js | ≥ 15.0.0 < 15.10.0 |
| nodejs | node.js | 14.15.0 |
Official advisories
- Red Hat Security Advisory: edk2 security, bug fix, and enhancement update · Red Hat · RHSA-2021:4198 · Nov 25, 2026 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- cert-portal.siemens.com Third Party Advisory
- git.openssl.org
- git.openssl.org
- kb.pulsesecure.net Third Party Advisory
- kc.mcafee.com Third Party Advisory
- lists.apache.org
- lists.apache.org
- security.gentoo.org Third Party Advisory
- security.netapp.com Third Party Advisory
- security.netapp.com
- www.debian.org Third Party Advisory
- www.openssl.org Vendor Advisory
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.tenable.com Third Party Advisory
- www.tenable.com Third Party Advisory
- www.tenable.com Third Party Advisory