CubePath

CVE-2021-23840

Integer overflow in CipherUpdate

CVSS 3.1 High 7.5

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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

Official description from the CVE record, published by openssl. Copyright © 1999-2026 The MITRE Corporation. See /security/cve/legal for the CVE license. View the record on cve.org

Key data

CVSS 3.1 High 7.5

Score published by CISA-ADP in the CVE record.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

  • Attack vector: Network

    The vulnerable component can be reached over a network, possibly from the Internet.

  • Attack complexity: Low

    No special conditions are needed. The attack can be repeated at will.

  • Privileges required: None

    No account or privileges are needed.

  • User interaction: None

    No action from any user is needed.

  • Scope: Unchanged

    The impact stays within the vulnerable component.

  • Confidentiality impact: None

    No effect on the secrecy of data.

  • Integrity impact: None

    No effect on the trustworthiness of data.

  • Availability impact: High

    Serious or total effect on availability.

CVSS is owned and managed by FIRST.Org, Inc. (FIRST) and is used by permission. Each CVSS score on this site is shown together with its vector string, as published in the CVE record by the source named next to it. Learn more at first.org/cvss.

EPSS

Exploit Prediction Scoring System by FIRST: an estimate of the probability that exploitation activity will be observed in the next 30 days.
Score
0.50732 (50.7% probability)
Percentile
98.9%
Scores of
Nov 10, 2026
Model
v2026.06.15

CISA assessment as of Apr 16, 2026

Stakeholder-Specific Vulnerability Categorization (SSVC) decision points added by CISA.
Automatable
yes
Technical impact
partial

Weakness (CWE)

CWE catalog version 5.0.
CWE names: Copyright © 2006-2026, The MITRE Corporation. See /security/cve/legal for the CWE license.
  • CWE-190Integer Overflow or Wraparound

Affected products

Products listed in the CVE record, as the CNA published them.
  • OpenSSL

    • affected: Fixed in OpenSSL 1.1.1j (Affected 1.1.1-1.1.1i)
    • affected: Fixed in OpenSSL 1.0.2y (Affected 1.0.2-1.0.2x)

Timeline

  1. ID reserved
  2. Record published
  3. Record last updated

Look up another CVE

About CubePath

CubePath is a cloud provider with data centers in Europe and the United States. It offers VPS, bare metal servers and DDoS protection.

Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 19:52 UTC. Sources and licenses