ADVISORIES

Vulnerability

CVE-2021-23841

The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is maliciously constructed). This may subsequently result in a NULL pointer deref and a crash leading to a potential denial of service attack. The function X509_issuer_and_serial_hash() is never directly called by OpenSSL itself so applications are only vulnerable if they use this function directly and they use it on certificates that may have been obtained from untrusted sources. 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).

47 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-23841

    The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle…

    CVE-2021-23841 Alpine Updated 17 November 2026
  • ALPINE-EDGE-CVE-2021-23841
    CVE-2021-23841 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-40768

    CVE-2021-23841 affecting package shim-unsigned-x64 for versions less than 15.8-5

    CVE-2021-23841 Azure Linux Updated 23 November 2026
  • AZL-41571

    CVE-2021-23841 affecting package shim-unsigned-aarch64 for versions less than 15.8-5

    CVE-2021-23841 Azure Linux Updated 23 November 2026
  • CGA-48wf-2972-57g9
    CVE-2021-23841 Chainguard Updated 5 November 2026
  • CGA-57qf-2m6r-29cp
    CVE-2021-23841 Chainguard Updated 5 November 2026
  • DEBIAN-CVE-2021-23841

    The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle…

    CVE-2021-23841 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-84rm-qf37-fgc2

    Integer Overflow in openssl-src

    Moderate CVE-2021-23841 crates.io Updated 8 November 2023
  • OESA-2021-1121

    openssl security update

    High CVE-2021-23840CVE-2021-23841 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-23841

    openssl: NULL pointer dereference in X509_issuer_and_serial_hash()

    Moderate CVE-2021-23841 Red Hat Updated 10 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-0058

    Null pointer deref in `X509_issuer_and_serial_hash()`

    CVE-2021-23841 crates.io Updated 8 November 2023
  • 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-23841

    The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle…

    CVE-2021-23841 Ubuntu Updated 22 April 2026
  • USN-4738-1

    openssl, openssl1.0 vulnerabilities

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

    openssl vulnerabilities

    CVE-2020-1971CVE-2021-23841 Ubuntu Updated 1 June 2026
  • 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