CVE catalog

CVE-2021-4044

openssl: CVE-2021-4044

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
50.10% · Oct 25, 2026

Internally libssl in OpenSSL calls X509_verify_cert() on the client side to verify a certificate supplied by a server. That function may return a negative return value to indicate an internal error (for example out of memory). Such a negative return value is mishandled by OpenSSL and will cause an IO function (such as SSL_connect() or SSL_do_handshake()) to not indicate success and a subsequent call to SSL_get_error() to return the value SSL_ERROR_WANT_RETRY_VERIFY. This return value is only supposed to be returned by OpenSSL if the application has previously called SSL_CTX_set_cert_verify_callback(). Since most applications do not do this the SSL_ERROR_WANT_RETRY_VERIFY return value from SSL_get_error() will be totally unexpected and applications may not behave correctly as a result. The exact behaviour will depend on the application but it could result in crashes, infinite loops or other similar incorrect responses. This issue is made more serious in combination with a separate bug in OpenSSL 3.0 that will cause X509_verify_cert() to indicate an internal error when processing a certificate chain. This will occur where a certificate does not include the Subject Alternative Name extension but where a Certificate Authority has enforced name constraints. This issue can occur even with valid chains. By combining the two issues an attacker could induce incorrect, application dependent behaviour. Fixed in OpenSSL 3.0.1 (Affected 3.0.0).

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianopensslsid3.6.5-1not affected
Debianopensslforky3.6.5-1not affected
Debianopenssltrixie3.5.7-1~deb13u2not affected
Debianopenssltrixie-security3.5.7-1~deb13u3not affected
Debianopensslbookworm3.0.20-1~deb12u2not affected
Debianopensslbookworm-security3.0.22-1~deb12u2not affected
Alpineopenssl3.173.0.1-r0fixed
Alpineopenssl3.183.0.1-r0fixed
Alpineopenssl3.193.0.1-r0fixed
Alpineopenssl3.203.0.1-r0fixed
Alpineopenssl3.213.0.1-r0fixed
Alpineopenssl3.223.0.1-r0fixed
Alpineopenssl3.233.0.1-r0fixed
Alpineopenssl3.243.0.1-r0fixed
Alpineopenssl33.153.0.2-r0fixed
Alpineopenssl33.163.0.1-r0fixed
Ubuntuopenssl22.041.1.1l-1ubuntu1vulnerable
Ubuntuopenssl22.043.0.0-1ubuntu1vulnerable
Ubuntuopenssl22.043.0.1-0ubuntu1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
DebianopensslsourcesidNot affectedunimportantNot reportedNot reported
DebianopensslsourceforkyNot affectedunimportantNot reportedNot reported
DebianopensslsourcetrixieNot affectedunimportantNot reportedNot reported
DebianopensslsourcebookwormNot affectedunimportantNot reportedNot reported
Alpineopensslapk3.173.0.1-r0Not reportedALPINE-CVE-2021-4044Not reported
Alpineopensslapk3.183.0.1-r0Not reportedALPINE-CVE-2021-4044Not reported
Alpineopensslapk3.193.0.1-r0Not reportedALPINE-CVE-2021-4044Not reported
Alpineopensslapk3.203.0.1-r0Not reportedALPINE-CVE-2021-4044Not reported
Alpineopensslapk3.213.0.1-r0Not reportedALPINE-CVE-2021-4044Not reported
Alpineopensslapk3.223.0.1-r0Not reportedALPINE-CVE-2021-4044Not reported
Alpineopensslapk3.233.0.1-r0Not reportedALPINE-CVE-2021-4044Not reported
Alpineopensslapk3.243.0.1-r0Not reportedALPINE-CVE-2021-4044Not reported
Alpineopenssl3apk3.153.0.2-r0Not reportedALPINE-CVE-2021-4044Not reported
Alpineopenssl3apk3.163.0.1-r0Not reportedALPINE-CVE-2021-4044Not reported
Ubuntuopenssldeb22.043.0.1-0ubuntu1Not reportedUBUNTU-CVE-2021-4044Not reported

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [libssl3]Unknown

    Source package: [openssl]

    Details (6)
    • 3.0.20-1~deb12u2 · amd64 · bookworm

      Not affected

      dsa · openssl · debian · bookworm

    • 3.0.20-1~deb12u2 · arm64 · bookworm

      Not affected

      dsa · openssl · debian · bookworm

    • 3.0.20-1~deb12u2 · amd64 · bookworm-security

      Not affected

      dsa · openssl · debian · bookworm

    • 3.0.20-1~deb12u2 · arm64 · bookworm-security

      Not affected

      dsa · openssl · debian · bookworm

    • 3.0.17-1~deb12u2 · amd64 · bookworm-updates

      Not affected

      dsa · openssl · debian · bookworm

    • 3.0.17-1~deb12u2 · arm64 · bookworm-updates

      Not affected

      dsa · openssl · debian · bookworm

  • [libssl-dev]Unknown

    Source package: [openssl]

    Details (6)
    • 3.0.20-1~deb12u2 · amd64 · bookworm

      Not affected

      dsa · openssl · debian · bookworm

    • 3.0.20-1~deb12u2 · arm64 · bookworm

      Not affected

      dsa · openssl · debian · bookworm

    • 3.0.20-1~deb12u2 · amd64 · bookworm-security

      Not affected

      dsa · openssl · debian · bookworm

    • 3.0.20-1~deb12u2 · arm64 · bookworm-security

      Not affected

      dsa · openssl · debian · bookworm

    • 3.0.17-1~deb12u2 · amd64 · bookworm-updates

      Not affected

      dsa · openssl · debian · bookworm

    • 3.0.17-1~deb12u2 · arm64 · bookworm-updates

      Not affected

      dsa · openssl · debian · bookworm

  • [libssl-doc]Unknown

    Source package: [openssl]

    Details (6)
    • 3.0.20-1~deb12u2 · all · bookworm

      Not affected

      dsa · openssl · debian · bookworm

    • 3.0.20-1~deb12u2 · all · bookworm

      Not affected

      dsa · openssl · debian · bookworm

    • 3.0.20-1~deb12u2 · all · bookworm-security

      Not affected

      dsa · openssl · debian · bookworm

    • 3.0.20-1~deb12u2 · all · bookworm-security

      Not affected

      dsa · openssl · debian · bookworm

    • 3.0.17-1~deb12u2 · all · bookworm-updates

      Not affected

      dsa · openssl · debian · bookworm

    • 3.0.17-1~deb12u2 · all · bookworm-updates

      Not affected

      dsa · openssl · debian · bookworm

  • [openssl]Unknown
    Details (6)
    • 3.0.20-1~deb12u2 · amd64 · bookworm

      Not affected

      dsa · openssl · debian · bookworm

    • 3.0.20-1~deb12u2 · arm64 · bookworm

      Not affected

      dsa · openssl · debian · bookworm

    • 3.0.20-1~deb12u2 · amd64 · bookworm-security

      Not affected

      dsa · openssl · debian · bookworm

    • 3.0.20-1~deb12u2 · arm64 · bookworm-security

      Not affected

      dsa · openssl · debian · bookworm

    • 3.0.17-1~deb12u2 · amd64 · bookworm-updates

      Not affected

      dsa · openssl · debian · bookworm

    • 3.0.17-1~deb12u2 · arm64 · bookworm-updates

      Not affected

      dsa · openssl · debian · bookworm

Observed:

References