ADVISORIES

Vulnerability

CVE-2021-23840

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

54 advisories report this vulnerability, across 14 ecosystems.

Advisories

  • ALAS2-2021-1608

    Amazon Linux 2 2017.12 - ALAS2-2021-1608: medium priority package update for openssl

    Medium CVE-2021-23839CVE-2021-23840CVE-2021-23841 Amazon Linux Updated 19 February 2021
  • ALAS2-2021-1612

    Amazon Linux 2 2017.12 - ALAS2-2021-1612: medium priority package update for openssl11

    Medium CVE-2021-23839CVE-2021-23840CVE-2021-23841 Amazon Linux Updated 17 February 2023
  • ALAS2-2024-2502

    Amazon Linux 2 2017.12 - ALAS2-2024-2502: important priority package update for edk2

    Important CVE-2020-1971CVE-2021-23840CVE-2021-23841CVE-2021-3449 Amazon Linux Updated 23 September 2025
  • ALPINE-CVE-2021-23840

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

    CVE-2021-23840 Alpine Updated 17 November 2026
  • ALPINE-EDGE-CVE-2021-23840
    CVE-2021-23840 Alpine Updated 18 November 2026
  • ALSA-2021:4198

    Moderate: edk2 security, bug fix, and enhancement update

    CVE-2021-23840CVE-2021-23841 AlmaLinux Updated 29 October 2026
  • AZL-41976

    CVE-2021-23840 affecting package shim-unsigned-x64 for versions less than 1.1.1-1

    CVE-2021-23840 Azure Linux Updated 23 November 2026
  • CGA-fh7m-fj7p-6pcr
    CVE-2021-23840 Chainguard Updated 5 November 2026
  • CGA-h8j5-wxwj-448q
    CVE-2021-23840 Chainguard Updated 5 November 2026
  • DEBIAN-CVE-2021-23840

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

    CVE-2021-23840 Debian Updated 23 October 2026
  • DLA-2563-1

    openssl - security update

    CVE-2021-23840CVE-2021-23841 Debian Updated 20 November 2026
  • DLA-2565-1

    openssl1.0 - security update

    CVE-2021-23840CVE-2021-23841 Debian Updated 20 November 2026
  • DSA-4855-1

    openssl - security update

    CVE-2019-1551CVE-2021-23840CVE-2021-23841 Debian Updated 20 November 2026
  • ELSA-2021-3798

    ELSA-2021-3798: openssl security update (MODERATE)

    Moderate CVE-2021-23840CVE-2021-23841 Oracle Linux Updated 13 October 2021
  • ELSA-2021-4424

    ELSA-2021-4424: openssl security and bug fix update (MODERATE)

    Moderate CVE-2021-23840CVE-2021-23841 Oracle Linux Updated 16 November 2021
  • ELSA-2021-9478

    ELSA-2021-9478: openssl security update (IMPORTANT)

    Important CVE-2021-23840CVE-2021-23841 Updated 13 October 2021
  • ELSA-2021-9528

    ELSA-2021-9528: openssl security update (IMPORTANT)

    Important CVE-2021-23840CVE-2021-23841 Oracle Linux Updated 29 October 2021
  • ELSA-2021-9561

    ELSA-2021-9561: openssl security update (MODERATE)

    Moderate CVE-2021-23840CVE-2021-23841 Updated 23 November 2021
  • GHSA-qgm6-9472-pwq7

    Integer Overflow in openssl-src

    High CVE-2021-23840 crates.io Updated 16 December 2024
  • OESA-2021-1121

    openssl security update

    High CVE-2021-23840CVE-2021-23841 openEuler Updated 18 August 2026
  • OESA-2022-1938

    shim security update

    High CVE-2017-3735CVE-2018-0732CVE-2020-1971CVE-2021-23840 openEuler Updated 18 August 2026
  • RHSA-2021:3798

    Red Hat Security Advisory: openssl security update

    CVE-2021-23840CVE-2021-23841 Red Hat Updated 21 September 2026
  • RHSA-2021:4198

    Red Hat Security Advisory: edk2 security, bug fix, and enhancement update

    CVE-2019-14584CVE-2021-23840CVE-2021-23841CVE-2021-28210 Red Hat Updated 24 November 2026
  • RHSA-2021:4424

    Red Hat Security Advisory: openssl security and bug fix update

    CVE-2021-23840CVE-2021-23841 Red Hat Updated 21 September 2026
  • RHSA-2021:4614

    Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.37 SP10 security update

    CVE-2019-17567CVE-2019-20838CVE-2020-13950CVE-2020-14155 Red Hat Updated 23 November 2026
  • RHSA-2021:4861

    Red Hat Security Advisory: Red Hat JBoss Web Server 5.6.0 Security release

    CVE-2021-23840CVE-2021-23841CVE-2021-30640CVE-2021-33037 Red Hat Updated 23 November 2026
  • RHVEX-CVE-2021-23840

    openssl: integer overflow in CipherUpdate

    Moderate CVE-2021-23840 Red Hat Updated 7 November 2026
  • RLSA-2021:4198

    Moderate: edk2 security, bug fix, and enhancement update

    CVE-2021-23840CVE-2021-23841 Rocky Linux Updated 4 February 2026
  • RLSA-2021:4424

    Moderate: openssl security and bug fix update

    CVE-2021-23840CVE-2021-23841 Rocky Linux Updated 4 February 2026
  • RUSTSEC-2021-0057

    Integer overflow in CipherUpdate

    CVE-2021-23840 crates.io Updated 16 December 2024
  • SUSE-SU-2021:0649-1

    Security update for nodejs12

    CVE-2021-22883CVE-2021-22884CVE-2021-23840 SUSE Updated 4 February 2026
  • SUSE-SU-2021:0651-1

    Security update for nodejs12

    CVE-2021-22883CVE-2021-22884CVE-2021-23840 SUSE Updated 4 February 2026
  • SUSE-SU-2021:0673-1

    Security update for nodejs10

    CVE-2021-22883CVE-2021-22884CVE-2021-23840 SUSE Updated 4 February 2026
  • SUSE-SU-2021:0674-1

    Security update for nodejs10

    CVE-2021-22883CVE-2021-22884CVE-2021-23840 SUSE Updated 4 February 2026
  • SUSE-SU-2021:0725-1

    Security update for openssl-1_0_0

    CVE-2021-23840CVE-2021-23841 SUSE Updated 4 February 2026
  • SUSE-SU-2021:0752-1

    Security update for openssl-1_1

    CVE-2021-23840CVE-2021-23841 SUSE Updated 4 February 2026
  • SUSE-SU-2021:0753-1

    Security update for openssl-1_1

    CVE-2021-23840CVE-2021-23841 SUSE Updated 4 February 2026
  • SUSE-SU-2021:0754-1

    Security update for openssl-1_1

    CVE-2021-23840CVE-2021-23841 SUSE Updated 4 February 2026
  • SUSE-SU-2021:0755-1

    Security update for openssl-1_1

    CVE-2021-23840CVE-2021-23841 SUSE Updated 4 February 2026
  • SUSE-SU-2021:0769-1

    Security update for openssl-1_0_0

    CVE-2021-23840CVE-2021-23841 SUSE Updated 2 May 2025
  • SUSE-SU-2021:0793-1

    Security update for compat-openssl098

    CVE-2021-23840CVE-2021-23841 SUSE Updated 4 February 2026
  • SUSE-SU-2021:0939-1

    Security update for openssl

    CVE-2021-23840CVE-2021-23841 SUSE Updated 4 February 2026
  • SUSE-SU-2021:14667-1

    Security update for openssl1

    CVE-2021-23840CVE-2021-23841 SUSE Updated 4 February 2026
  • SUSE-SU-2021:14670-1

    Security update for openssl

    CVE-2021-23840CVE-2021-23841 SUSE Updated 4 February 2026
  • UBUNTU-CVE-2021-23840

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

    CVE-2021-23840 Ubuntu Updated 5 November 2026
  • USN-4738-1

    openssl, openssl1.0 vulnerabilities

    CVE-2021-23840CVE-2021-23841 Ubuntu Updated 27 April 2026
  • USN-5088-1

    edk2 vulnerabilities

    CVE-2019-11098CVE-2021-23840CVE-2021-3712CVE-2021-38575 Ubuntu Updated 27 April 2026
  • USN-7018-1

    openssl vulnerabilities

    CVE-2020-1968CVE-2021-23840CVE-2022-1292CVE-2022-2068 Ubuntu Updated 29 June 2026
  • openSUSE-SU-2021:0357-1

    Security update for nodejs12

    CVE-2021-22883CVE-2021-22884CVE-2021-23840 openSUSE Updated 4 February 2026
  • openSUSE-SU-2021:0372-1

    Security update for nodejs10

    CVE-2021-22883CVE-2021-22884CVE-2021-23840 openSUSE Updated 7 May 2025
  • openSUSE-SU-2021:0427-1

    Security update for openssl-1_1

    CVE-2021-23840CVE-2021-23841 openSUSE Updated 4 February 2026
  • openSUSE-SU-2021:0430-1

    Security update for openssl-1_0_0

    CVE-2021-23840CVE-2021-23841 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:11126-1

    libopenssl-1_0_0-devel-1.0.2u-6.2 on GA media

    CVE-2006-2937CVE-2006-2940CVE-2006-3738CVE-2006-4339 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:11127-1

    libopenssl-1_1-devel-1.1.1l-1.2 on GA media

    Known exploited CVE-2006-2937CVE-2006-2940CVE-2006-3738CVE-2006-4339 openSUSE Updated 7 May 2025

References